:root {
    --primary: #4d7c5b;
    /* Agave Green */
    --primary-dark: #2e4d36;
    --gold: #d4af37;
    /* Tequila Gold */
    --dark: #1c1c1c;
    --light: #f5f5f0;
    /* Warm off-white */
    --white: #ffffff;
    --text: #333333;
    --font-heading: 'Playfair Display', serif;
    /* Elegant serif */
    --font-body: 'Outfit', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
.navbar a {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    background: var(--dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

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

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

.logo {
    color: var(--gold);
    font-size: 1.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('assets/img/demo-tequila/hero-tequila.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

/* Fix for background-attachment: fixed on iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    display: inline-block;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.bg-white {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-dark);
}

/* Grid for Products/Features */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    text-align: center;
    transition: 0.5s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
}

/* Split Section (Image + Text) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.text-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.text-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer (3 Columns) */
footer {
    background: var(--dark);
    color: #999;
    padding: 80px 0 30px;
}

/* Using shared layout from footer.css */
.footer-col h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 60px;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

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

    .grid-3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Back to WebExpress Button */
.back-to-main {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #111;
    color: #fff !important;
    /* Force white text */
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: system-ui, -apple-system, sans-serif;
}

.back-to-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #000;
}

@media (max-width: 768px) {
    .back-to-main {
        bottom: 20px;
        left: 20px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .back-to-main span {
        display: none;
        /* Icon only on very small screens if needed, but text is short enough */
    }
}