/*
Theme Name: kw
Theme URI: https://kwinvestments.ltd
Author: Antigravity
Description: WordPress theme for KW Investments Group.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kw
*/

/* Custom Styles from index.html */
body {
    background-color: #FFFFFF;
    color: #1E293B;
}

[x-cloak] { display: none !important; }

.text-gold-gradient {
    background: linear-gradient(to right, #D4AF37, #B8962E, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.gold-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.gold-border:hover {
    border-color: #D4AF37;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.25);
}

/* Smooth reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

.section-alt {
    background-color: #FFFBF5;
}

/* Mobile Menu Slide Animation */
.mobile-menu-enter {
    transform: translateX(-100%);
}
.mobile-menu-enter-active {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}
.mobile-menu-exit {
    transform: translateX(0);
}
.mobile-menu-exit-active {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in;
}

.overlay-enter {
    opacity: 0;
}
.overlay-enter-active {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}
.overlay-exit {
    opacity: 1;
}
.overlay-exit-active {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Constrained container - 80% max width */
.container-constrained {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container-constrained {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Material Card Image Styling */
.material-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.material-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}
.material-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.material-card .caption {
    padding: 1rem;
    text-align: center;
}
.material-card .caption span {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.95rem;
}

/* Catalog Item Styles */
.catalog-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.catalog-item:hover {
    border-color: #D4AF37;
    box-shadow: 0 10px 40px -15px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.catalog-item .image-wrapper {
    position: relative;
    overflow: hidden;
}

.catalog-item .image-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.catalog-item .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.catalog-item .content {
    padding: 24px;
}

.catalog-item .content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.catalog-item .content .category {
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.catalog-item .content p {
    color: #64748B;
    line-height: 1.6;
    font-size: 0.95rem;
}

.catalog-item .content .specs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.catalog-item .content .spec-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
}

.catalog-item .content .spec-item .label {
    color: #94A3B8;
}

.catalog-item .content .spec-item .value {
    color: #1E293B;
    font-weight: 600;
}

/* Filter Button Styles */
.filter-btn {
    padding: 10px 20px;
    border: 1px solid #E5E7EB;
    background: white;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #D4AF37;
    color: #D4AF37;
}

.filter-btn.active {
    background: #D4AF37;
    color: white;
    border-color: #D4AF37;
}
