:root {
    --primary-color: #2D6A4F;
    /* Deep Forest Green */
    --secondary-color: #1B4332;
    /* Darker Green */
    --accent-color: #D4A373;
    /* Earthy Gold */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.contact-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
}

.nav-link.contact-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link.contact-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Nav is fixed overlay */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.cta-button.primary {
    background-color: var(--primary-color);
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
    border-color: transparent;
    color: var(--white);
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 150px 0 80px;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
}



/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--accent-color);
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Products Section */
.products-section {
    background-color: #F3F4F6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-group {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 5px solid var(--accent-color);
}

.whatsapp-btn,
.whatsapp-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: auto;
    width: 100%;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #25D366;
    text-decoration: none;
}

.whatsapp-btn:hover,
.whatsapp-btn:active {
    background-color: white;
    color: #25D366 !important;
}

.card-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}



.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Banner Section */
.banner-section {
    position: relative;
    padding: 80px 0;
    background-image: url('assets/hero_spices.png');
    /* Fallback / Reuse */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 106, 79, 0.85);
    /* Green overlay */
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info>p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 163, 115, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        max-height: 400px;
        overflow: hidden;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        padding-top: 80px;
        justify-content: flex-start;
        gap: 30px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--text-dark);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        margin-bottom: 30px;
    }

    .cta-button {
        width: 100%;
        padding: 14px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* Force single column on very small screens */
        gap: 25px;
    }

    .card-image {
        height: 200px;
    }

    .contact-wrapper {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Video Gallery Section */
.video-gallery-section {
    background-color: var(--white);
    padding: 100px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.video-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: #000;
    height: 400px;
    width: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Video Gallery Responsive Adjustments */
@media (max-width: 768px) {
    .video-grid {
        gap: 15px;
    }

    .video-card {
        height: 350px;
    }

    /* Fix background fixed attachment on mobile */
    .page-header,
    .banner-section {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .video-card {
        height: 250px;
        border-radius: 10px;
    }
}