/* CSS Variables for Premium Aesthetic */
:root {
    --primary-color: #D4AF37; /* Champagne Gold */
    --primary-dark: #B5952F;
    --bg-color: #F4EAE1; /* Deeper Warm Ivory */
    --text-main: #ad8361; /* Pastel Brown */
    --text-muted: #ad8361;
    --font-heading: 'The Seasons', 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 32px !important;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: italic;
}



.section-title {
    font-size: 32px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 32px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-style: italic;
}

.text-center {
    text-align: center;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

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

.btn-secondary:hover {
    background-color: #fff;
    color: var(--text-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: center; /* Center the two halves */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
}

.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 4rem; /* Buffer from logo */
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    padding-left: 4rem; /* Buffer from logo */
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0;
    vertical-align: middle;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin: 0 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Move to bottom */
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-bottom: 1.5rem; /* Reduced further to push content to the very bottom */
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(0,0,0,0.7);
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.15)); /* Barely visible */
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #ffffff !important;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

/* Features */
.features {
    background-color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #c5a890;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}
.feature-card p {
    color: #ccc;
}

/* Collections Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.collection-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #c5a890;
    color: #fff;
    padding-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.collection-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.collection-card h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}

.btn-browse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-browse::after {
    content: '\2192';
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn-browse:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-browse:hover::after {
    transform: translateX(4px);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-color);
}

.testimonials .slider-nav.prev {
    left: -1.5rem;
}

.testimonials .slider-nav.next {
    right: -1.5rem;
}

.brand-highlight {
    font-size: 3.5rem;
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2vw;
    text-align: center;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.35vw);
    min-width: 280px;
    background: #c5a890;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid #eaeaea;
    scroll-snap-align: start;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
}

.testimonial-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-content h4 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-c.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Force override for inside pages titles */
.page-hero h1, .story-hero h1, .collection-hero h1 {
    color: #ad8361 !important;
    font-family: 'Yeseva One', var(--font-heading) !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

.testimonial-content p {
    color: var(--bg-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
}

.read-more {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more::after {
    content: '\2192';
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover::after {
    transform: translateX(4px);
}



/* Footer */
.footer {
    background-color: var(--text-main);
    color: #fff;
    padding: 2rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-links a {
    color: #f7eee7;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}

.footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 2px;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.socials {
    margin-top: 1rem;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    animation: revealIn 0.8s ease both;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .fade-in-up {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2.25rem;
        margin-bottom: 2.5rem;
        text-align: center !important;
    }

    .footer-brand,
    .footer-links {
        width: 100%;
        min-width: 0 !important;
    }

    .socials a:last-child {
        margin-right: 0;
    }

    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

/* Force override for inside pages titles */
.page-hero h1, .story-hero h1, .collection-hero h1 {
    color: #ad8361 !important;
    font-family: 'Yeseva One', var(--font-heading) !important;
    font-style: normal !important;
    font-weight: 400 !important;
}
/* Force title color */
h1, h2, h3, h4, .section-title, .section-subtitle, .page-hero h1, .story-hero h1, .collection-hero h1, #story-title, #collection-title, #blog-title {
    color: #ad8361;
}
