/* Global Variables */
:root {
    --primary-color: #3E2723;
    /* Deep Dark Brown */
    --secondary-color: #D7CCC8;
    /* Light Brown/Grey */
    --accent-color: #D4B08C;
    /* Premium Beige/Gold from logo idea */
    --text-color: #F5F5F5;
    /* Off-white for dark mode mostly */
    --text-dark: #2C1E1A;
    /* Dark brown for light sections */
    --bg-color: #2C1E1A;
    /* Very Dark Brown Background */
    --bg-light: #FDFBF7;
    /* Cream/Off-white for product sections */
    --bg-card: #3E2723;
    /* Slightly lighter brown for cards */
    --white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

/* Utilities */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

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

.text-white {
    color: var(--white);
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.bg-light h2 {
    color: var(--primary-color);
}

.section-title {
    font-size: 3.5rem;
    /* Larger modern type */
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

/* Placeholders */
.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker richer gradient */
    background: linear-gradient(135deg, #2C1E1A 0%, #3E2723 100%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #2C1E1A 100%);
    opacity: 0.6;
    z-index: -1;
}

.image-placeholder,
.product-img-placeholder,
.contact-bg-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.bg-light .image-placeholder,
.bg-light .product-img-placeholder {
    background-color: #EFEBE9;
    color: #8D6E63;
}

.product-img-placeholder {
    height: 300px;
    /* Taller images */
    border-radius: var(--radius);
    background: #EFEBE9;
}

.contact-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    opacity: 0.9;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 100px;
    /* Pillow shape */
    font-weight: 600;
    text-transform: uppercase;
    /* Or normal case for modern look? Let's keep caps for 'premium' feel */
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 176, 140, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

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

.btn-full {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-whatsapp {
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: var(--white);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    /* Darker Green for hover */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    /* Start transparent */
}

/* Scrolled state for navbar */
.navbar.scrolled {
    background: rgba(44, 30, 26, 0.95);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Caprasimo', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    /* Caprasimo is often single weight, removing 800 might be safer or keeping it if supported */
    color: var(--accent-color);
    letter-spacing: 0px;
    /* Cursive fonts usually don't need negative spacing */
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--white);
}

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

.btn-nav {
    padding: 10px 25px;
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-radius: 100px;
}

.btn-nav:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
}

.btn-nav::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered */
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
    padding-top: 80px;
    /* Offset for nav */
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    /* Massive heading */
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-color);
    line-height: 1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: var(--bg-color);
    /* Dark section */
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--white);
}

.about-text p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.about-image {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.about-image .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #3E2723;
}

/* Products Section */
.products {
    background-color: var(--bg-light);
    /* Light cream section for contrast */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    /* More space */
    margin-top: 60px;
}

.product-card {
    background: transparent;
    /* Minimalist, no card bg */
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: left;
    /* Align text left */
}

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

.product-card .product-img-placeholder {
    display: none;
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover img {
    box-shadow: var(--shadow-hover);
}

.product-info {
    padding: 0 10px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.product-info .price {
    color: #8D6E63;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Why Choose Us */
.why-us {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.feature-box {
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Slight border */
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.feature-box .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: #3E2723;
    /* Lighter brown section */
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    color: var(--accent-color);
}

.contact-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-form {
    background: rgba(44, 30, 26, 0.95);
    /* Dark semi-transparent */
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle input bg */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(212, 176, 140, 0.1);
}

.contact-form button[type="submit"] {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Footer */
footer {
    background-color: #1F1512;
    /* Almost black brown */
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Animations - same as before but tweaked */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .section-title {
        font-size: 2.8rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Above nav menu */
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .about-image {
        order: -1;
        height: 300px;
    }

    .hero-content {
        padding-top: 0;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}