/* Theme Name: Jatinex Luxury | Version: 1.6 
Design Identity: Minimalist Luxury
Palette: Ivory (#FCF9F2), Dark Brown (#2D2926), Muted Gold (#C5A059)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* 1. RESET & CORE STYLES */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    background-color: #FCF9F2; 
    color: #2D2926; 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: #2D2926; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 30px; 
}

a { 
    text-decoration: none; 
    transition: 0.3s; 
}

/* 2. HEADER & NAVIGATION */
.site-header { 
    background-color: #FCF9F2; 
    padding: 20px 0; 
    border-bottom: 1px solid rgba(197, 160, 89, 0.2); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.brand-name { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    color: #2D2926;
}

.nav-list { 
    list-style: none; 
    display: flex; 
    gap: 35px; 
}

.nav-list a { 
    color: #2D2926; 
    font-size: 0.8rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

.nav-list a:hover {
    color: #C5A059;
}

/* 3. HERO SECTION */
.parallax-hero { 
    position: relative; 
    background-image: url('https://images.unsplash.com/photo-1528459801416-a7e5a394e101?auto=format&fit=crop&q=80&w=2000'); 
    background-attachment: fixed; 
    background-position: center; 
    background-size: cover; 
    height: 85vh; 
    display: flex; 
    align-items: center; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to right, rgba(252, 249, 242, 0.95), rgba(252, 249, 242, 0.1)); 
    z-index: 1; 
}

.hero-container { 
    position: relative; 
    z-index: 2; 
}

.sub-heading { 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    color: #C5A059; 
    font-size: 0.8rem; 
    font-weight: 600; 
    display: block; 
    margin-bottom: 20px; 
}

/* 4. BUTTONS */
.btn-primary, .btn-secondary { 
    padding: 18px 35px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    display: inline-block; 
    transition: 0.3s; 
    cursor: pointer;
}

.btn-primary { 
    background: #2D2926; 
    color: #FCF9F2; 
    border: none; 
}

.btn-secondary { 
    border: 1px solid #2D2926; 
    color: #2D2926; 
    background: transparent;
}

.btn-primary:hover { 
    background: #C5A059; 
    transform: translateY(-3px); 
}

.btn-secondary:hover {
    background: #2D2926;
    color: #FCF9F2;
    transform: translateY(-3px);
}

/* 5. GRID SYSTEM & PRODUCT IMAGES */
.pillar-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 40px; 
}

.pillar-item { 
    background: #fff; 
    padding: 40px; 
    border: 1px solid rgba(197, 160, 89, 0.1); 
    text-align: center; 
    transition: 0.4s ease;
}

.pillar-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* New Category Image Styling */
.image-frame {
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f4f1ea;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-item:hover .category-img {
    transform: scale(1.05);
}

/* 6. ANIMATIONS */
.animate-up { 
    animation: fadeUp 1s ease forwards; 
}

@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* 7. RESPONSIVE DESIGN */
@media (max-width: 768px) { 
    .header-flex { 
        flex-direction: column; 
        gap: 20px; 
    } 
    
    .parallax-hero { 
        height: auto; 
        padding: 80px 0; 
        background-attachment: scroll; 
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .image-frame {
        height: 350px; /* Shorter images for mobile screens */
    }
}