/* Base Styles */
:root {
    --primary-green: #29552E;
    /* Deep green */
    --primary-light: #3D7344;
    --accent-brown: #8B5A2B;
    /* Earthy brown */
    --accent-light: #A07246;
    --beige: #F9F6F0;
    /* Soft beige */
    --white: #FFFFFF;
    --text-dark: #2C3529;
    --text-light: #5B6A57;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--beige);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.bg-light {
    background-color: var(--white);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--primary-green);
}

.section-padding {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    color: var(--accent-brown);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-brown);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-brown);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-text {
    padding: 0;
    color: var(--accent-brown);
    background: transparent;
}

.btn-text:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.logo span {
    font-weight: 400;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-brown);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar:not(.scrolled) .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.navbar:not(.scrolled) .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.navbar:not(.scrolled) .bar {
    background-color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(41, 85, 46, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 5%;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight .icon {
    font-size: 2rem;
}

.highlight h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Products Section - Single Featured Layout */
.featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    align-items: stretch;
}

.featured-product-img {
    height: 100%;
}

.featured-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-product-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    background-color: var(--primary-green);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    top: 3px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-brown);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Dealers Section */
.dealers {
    background: url('assets/product.png') center/cover fixed no-repeat;
    position: relative;
    color: var(--white);
}

.dealers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 85, 46, 0.85);
    /* Deep green overlay */
}

.dealers-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.dealers-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dealers-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--beige);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background-color: #1a241c;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #a0aab2;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aab2;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aab2;
    font-size: 0.9rem;
}

/* Logo Fixes */
.brand-logo {
    height: 70px;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 10px;
    filter: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .brand-logo {
    box-shadow: none;
    background-color: transparent;
    padding: 8px 0;
}

.footer-brand-logo {
    height: 80px;
    /* Made slightly larger to pop */
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 12px;
    filter: none;
    /* Removed the messy white drop shadow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.slide-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition);
}

.slide-left {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid,
    .featured-product {
        grid-template-columns: 1fr;
    }

    .featured-product-img img {
        min-height: 250px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: var(--primary-green);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}