:root {
    /* Color Palette - Olive Theme */
    --color-primary: #606C38;
    /* Olive Green */
    --color-secondary: #FEFAE0;
    /* Cream / Off-white */
    --color-accent: #BC6C25;
    /* Bronze/Earth Gold - replacing previous gold */
    --color-text: #283618;
    /* Dark Earth Green for text */
    --color-text-light: #5f6f48;
    --color-white: #FFFFFF;
    --color-background: #FDFCF5;
    /* Warm off-white background */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 240px;
    /* Compensate for fixed header height */
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 260px;
    /* Offset for fixed header + extra space */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #c08e8e;
    /* Slightly darker */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.4);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Header & Nav */
header {
    background-color: #E9EDC9;
    /* Darker sage/beige for contrast */
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    /* Fixed to prevent jitter */
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.5s ease-in-out;
    border-bottom: none;
    /* Remove any border */
}

/* Melted Drip Effect */
header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #E9EDC9;
    /* Match header color */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47,20,94,36.5,148,36.5s132-23.5,188-23.5,108,18.5,164,18.5,142-26.5,198-26.5,88,32.5,142,32.5,124-17.5,182-17.5,122,23.5,178,23.5V0Z' fill='%23000000'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23000000'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 200px;
    /* Increased to 200px */
    width: auto;
    transition: height 0.5s ease, transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Fallback/Text logo styles if needed, or remove if purely image based */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 900;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    transition: font-size 0.2s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
    font-size: 1.35rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
    border-radius: 3px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: var(--spacing-lg);
    z-index: 2;
}

.hero h1 {
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}



.hero-slider {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: slideShow 80s infinite;
    /* Soft edges effect */
    mask-image: radial-gradient(circle, black 65%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 65%, transparent 100%);
}

.slide:nth-child(1) {
    animation-delay: 0s;
    background-position: bottom center;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

.slide:nth-child(4) {
    animation-delay: 15s;
}

.slide:nth-child(5) {
    animation-delay: 20s;
}

.slide:nth-child(6) {
    animation-delay: 25s;
}

.slide:nth-child(7) {
    animation-delay: 30s;
}

.slide:nth-child(8) {
    animation-delay: 35s;
}

.slide:nth-child(9) {
    animation-delay: 40s;
}

.slide:nth-child(10) {
    animation-delay: 45s;
}

.slide:nth-child(11) {
    animation-delay: 50s;
}

.slide:nth-child(12) {
    animation-delay: 55s;
}

.slide:nth-child(13) {
    animation-delay: 60s;
}

.slide:nth-child(14) {
    animation-delay: 65s;
}

.slide:nth-child(15) {
    animation-delay: 70s;
}

.slide:nth-child(16) {
    animation-delay: 75s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    1.25% {
        opacity: 1;
        transform: scale(1.02);
    }

    6.25% {
        opacity: 1;
        transform: scale(1.05);
    }

    7.5% {
        opacity: 0;
        transform: scale(1.08);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Responsiveness */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Tablets & Small Laptops (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-image {
        height: 300px;
    }

    .hero {
        height: auto;
        min-height: 60vh;
        flex-direction: column;
        padding-top: 40px;
    }

    .hero-content {
        padding: var(--spacing-md);
        text-align: center;
        order: 2;
    }

    .hero p {
        margin: 0 auto var(--spacing-md);
    }

    .hero-slider {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 1;
        width: 100%;
        max-width: 350px;
        height: 350px;
        min-height: 350px;
        margin: 20px auto;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        mask-image: none;
        -webkit-mask-image: none;
        position: relative;
        z-index: 5;
    }

    .slide {
        background-size: cover;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .slide:first-child {
        opacity: 1;
        z-index: 1;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    body {
        padding-top: 180px;
        /* Reduced padding for smaller header */
    }

    section[id] {
        scroll-margin-top: 200px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: #E9EDC9;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 2rem;
        margin: 1.5rem 0;
    }

    .cta-header {
        display: none;
    }

    .hero-slider {
        width: calc(100% - 40px);
        height: 350px;
        border-radius: 20px;
    }

    .logo img {
        height: 150px;
        /* Smaller mobile logo */
    }

    header.header-scrolled .logo img {
        height: 80px;
    }
}

/* Small Phones (480px) */
@media (max-width: 480px) {
    body {
        padding-top: 140px;
    }

    .hero-slider {
        height: 250px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        line-height: 1.1;
    }
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
    text-align: left;
}

.product-info h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.4rem;
}

.product-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    min-height: 3rem;
    /* Align rendering */
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-accent);
}

/* Social Media */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--color-white);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.social-links i {
    font-size: 1.5rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: scale(1.05);
}

/* Location & Reviews */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.reviews-container {
    padding: var(--spacing-sm);
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.reviews-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-background);
    padding-bottom: var(--spacing-sm);
}

.google-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    color: #F4B400;
    /* Google Star Yellow */
}

.rating-score {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--color-text);
}

.review-card {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #eee;
}

.review-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.stars-sm {
    color: #F4B400;
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

/* Slogan Section */
.slogan-container {
    text-align: center;
    margin-top: var(--spacing-md);
}

.slogan-text {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.slogan-logo {
    max-height: 120px;
    /* Adjust size as needed */
    width: auto;
    display: inline-block;
}

/* Responsive Map Fix */
.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    /* Ensure height matches container or desire */
    display: block;
}



header.header-scrolled .logo img {
    height: 100px;
    /* Half of original 200px */
}

/* Footer Melted Effect */
footer {
    position: relative;
    /* Inline bg color used: var(--color-text) */
}

footer::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--color-text);
    /* Match footer dark green */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47,20,94,36.5,148,36.5s132-23.5,188-23.5,108,18.5,164,18.5,142-26.5,198-26.5,88,32.5,142,32.5,124-17.5,182-17.5,122,23.5,178,23.5V0Z' fill='%23000000'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23000000'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 10;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147483647 !important;
    /* Max z-index */
    width: 100vw !important;
    height: 100vh !important;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    transform: translateZ(0);
    /* Hardware acceleration fix */
    margin: 0 !important;
    padding: 0 !important;
}

.modal.show {
    display: flex !important;
    pointer-events: auto;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    margin: auto;
    padding: var(--spacing-md);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--color-text);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--color-accent);
}

#modal-body {
    padding-top: var(--spacing-sm);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 600px) {
    .modal-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-info h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.modal-price {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.detailed-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-primary);
    padding: var(--spacing-lg) 0;
    color: var(--color-white);
    margin: var(--spacing-lg) 0;
    border-radius: 20px;
    margin-left: var(--spacing-sm);
    margin-right: var(--spacing-sm);
}

.newsletter-section h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn-secondary:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-section {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Floating Social Bubbles */
.floating-social-bubbles {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.bubble:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.bubble.fb {
    background-color: #1877F2;
}

.bubble.ig {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.bubble.tk {
    background-color: #000000;
}

.bubble.wa {
    background-color: #25D366;
}

@media (max-width: 768px) {
    .floating-social-bubbles {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .bubble {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* Highlight Contact Email */
.highlight-email {
    color: #c6f1c6 !important;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.highlight-email:hover {
    color: var(--color-white) !important;
    text-decoration: none;
    transform: scale(1.05);
    display: inline-block;
}
