/* ============================================
   VARIABLES AND GLOBAL STYLES
   ============================================ */

:root {
    --primary-color: #2d5016;
    --secondary-color: #4caf50;
    --accent-color: #8bc34a;
    --light-accent: #cddc39;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --success-color: #4caf50;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: #fff;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    height: 52px;
    width: auto;
    display: block;
}

/* brand-name removed (now part of the logo artwork) */

.nav-search {
    flex: 1;
    max-width: 400px;
    display: flex;
    background-color: var(--light-gray);
    border-radius: 24px;
    padding: 8px 16px;
    gap: 8px;
}

.nav-search input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.nav-search button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 16px;
}

.nav-contact {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-gray);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 16px;
}

.nav-menu {
    background-color: var(--primary-color);
    padding: 0 20px;
}

.nav-menu ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    display: block;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--light-accent);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    background-color: var(--light-accent);
    color: var(--primary-color);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    background-color: #f0f8f0;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section,
.kits-section,
.categories-section,
.about-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.products-section h2,
.kits-section h2,
.categories-section h2,
.about-section h2,
.contact-section h2,
.newsletter-section h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 16px;
    color: var(--dark-gray);
    min-height: 50px;
}

.product-card .category {
    padding: 0 15px;
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.price-section {
    padding: 10px 15px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.original-price {
    font-size: 14px;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.pix-text {
    padding: 0 15px;
    font-size: 12px;
    color: var(--medium-gray);
    margin: 5px 0 10px;
}

.add-cart {
    margin: 0 15px 15px;
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    flex-grow: 1;
}

.add-cart:hover {
    background-color: var(--secondary-color);
}

.view-all {
    display: inline-block;
    margin: 20px auto;
    padding: 12px 32px;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all:hover {
    background-color: var(--primary-color);
}

/* ============================================
   KIT CARDS
   ============================================ */

.kit-card .product-image {
    height: 200px;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.about-content p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.about-list i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 32px;
    color: var(--secondary-color);
    min-width: 40px;
    text-align: center;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--medium-gray);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin: 60px 0;
}

.newsletter-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.newsletter-section p {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 32px;
    background-color: var(--light-accent);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--light-accent);
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-toggle { display: inline-flex; align-self: flex-end; }

    .nav-search {
        max-width: 100%;
        width: 100%;
    }

    .nav-contact { display: none; }

    .contact-item {
        gap: 5px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Mobile nav menu behavior */
    .nav-menu { display: none; width: 100%; padding: 0; }
    .nav-menu.open { display: block; }
    .nav-menu ul { flex-direction: column; gap: 0; padding: 8px 12px; }
    .nav-menu a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
}

@media (max-width: 480px) {
    /* Already handled at 768px breakpoint */

    .hero h2 {
        font-size: 24px;
    }

    .products-section h2,
    .kits-section h2,
    .categories-section h2,
    .about-section h2,
    .contact-section h2,
    .newsletter-section h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utility to lock body scroll when mobile menu open */
body.no-scroll { overflow: hidden; }
