/* --- VANDÉ PREMIUM WATER - WARM & ELEGANT THEME --- */

/* --- GLOBAL STYLES & NEW COLOR PALETTE --- */
:root {
    --primary-color: #6d5f4c;   /* Warm Taupe (from logo) */
    --secondary-color: #F8F5F2;  /* Light Warm Beige */
    --accent-color: #bca474;    /* Muted Gold */
    --dark-color: #3b3228;      /* Deep Charcoal Brown */
    --white-color: #ffffff;
    /* Use our new beige for gray sections for a warmer feel */
    --gray-color: var(--secondary-color);
    --text-color: #5c554c;      /* Lighter warm gray for body text */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--accent-color); /* Use the gold accent for links */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color); /* On hover, use the main taupe color */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #574c3d; /* A darker version of our primary color */
    border-color: #574c3d;
    color: var(--white-color);
}

.btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}


/* --- HEADER & NAVIGATION --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s, box-shadow 0.4s;
}

#header.scrolled {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { z-index: 1001; }

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo .logo-color { display: none; }
.logo .logo-white { display: block; }

#header.scrolled .logo .logo-white { display: none; }
#header.scrolled .logo .logo-color { display: block; }

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li { margin-left: 30px; }

.nav-menu a {
    color: var(--white-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after { width: 100%; }

#header.scrolled .nav-menu a {
    color: var(--text-color);
}

#header.scrolled .nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white-color);
}

#header.scrolled .hamburger {
    color: var(--dark-color);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white-color);
}

/* --- NEW STYLES FOR VIDEO BACKGROUND --- */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover; /* This is key: it prevents the video from being stretched or distorted */
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Elegant dark overlay using the new dark color */
    background: rgba(59, 50, 40, 0.6);
    z-index: -1;
}

.hero-content h1 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    font-weight: 300;
}

.hero-content .btn { margin: 0 10px; }

/* --- ABOUT SECTION --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h3 { margin-bottom: 20px; }

.certifications {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.certifications span {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.certifications .fa-check-circle {
    color: var(--primary-color);
    margin-right: 8px;
}

/* --- OUR BOTTLE SECTION --- */
#bottle {
    background: var(--gray-color); /* Using the warm beige */
}

.bottle-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.bottle-image img {
    max-height: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.15));
}

.feature-item { margin-bottom: 30px; }
.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bottle-sizes {
    text-align: center;
    margin-top: 60px;
}

.sizes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.sizes-grid span {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-color);
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

/* --- WHY CHOOSE US SECTION --- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.usp-card {
    padding: 30px;
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.usp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.usp-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- DISTRIBUTION SECTION --- */
#distribution {
    background: var(--secondary-color); /* Using the warm beige */
}
.distribution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.distribution-form form { display: flex; flex-direction: column; }
.distribution-form input, .distribution-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background: var(--white-color);
}
.distribution-form .btn { align-self: flex-start; }
.distribution-map iframe {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- TESTIMONIALS SECTION --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}
.testimonial-card p { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.testimonial-author h4 { margin: 0; }
.testimonial-author span { font-size: 0.9rem; color: var(--text-color); }

/* --- GALLERY SECTION --- */
#gallery {
    padding-bottom: 80px;
    background: var(--white-color);
}
#gallery .container { padding-bottom: 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}
.gallery-grid img[data-enlargeable] { cursor: pointer; }

/* --- CONTACT SECTION --- */
.contact-content { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-info p { font-size: 1.1rem; margin-bottom: 15px; }
.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.social-media { margin-top: 30px; }
.social-media a { color: var(--dark-color); font-size: 1.5rem; margin: 0 15px; }
.social-media a:hover { color: var(--primary-color); }

/* --- FOOTER --- */
#footer {
    background: var(--dark-color);
    color: #d1c9c0; /* Warmer light text for dark background */
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3, .footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #d1c9c0; }
.footer-col a:hover { color: var(--white-color); padding-left: 5px; }

.newsletter-form { display: flex; margin-top: 10px; }
.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}
.newsletter-form button {
    background: var(--primary-color);
    border: none;
    color: var(--white-color);
    padding: 0 15px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #4a4238; /* Slightly lighter border */
}

/* --- IMAGE MODAL / LIGHTBOX STYLES --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(59, 50, 40, 0.9); /* Overlay with new dark color */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.modal.active { display: block; opacity: 1; }
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 5px;
    animation-name: zoom;
    animation-duration: 0.4s;
}
@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal:hover, .close-modal:focus { color: #bbb; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .about-content, .bottle-showcase, .distribution-content {
        grid-template-columns: 1fr;
    }
    .about-image, .bottle-image, .distribution-map { order: 1; margin-bottom: 30px;}
    .about-text, .bottle-features, .distribution-form { order: 2; text-align: center; }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }
    .section-padding { padding: 60px 0; }
    .hamburger { display: block; z-index: 1001; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s ease-in-out;
    }
    .nav-menu.active { right: 0; }
    .nav-menu li { margin: 20px 0; }
    .nav-menu a {
        font-size: 1.5rem;
        color: var(--white-color) !important;
    }
    .nav-menu .btn-outline {
        border-color: var(--white-color);
        color: var(--white-color) !important;
    }
    #hero { height: 80vh; }
    .hero-content h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}