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

:root {
    --color-primary: #223C20;
    --color-secondary: #4C8D26;
    --color-accent: #D5FB00;
    --color-white: #FFFFFF;
    --color-light: #F5F5F5;
    --color-dark: #1A1A1A;
    --color-gray: #CCCCCC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Header */
.header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(34, 60, 32, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--color-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-sketch {
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    padding: 4rem 0;
    max-width: 600px;
}

.hero-title {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 var(--color-accent);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    border: 1px solid var(--color-primary);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
}

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

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-accent);
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--color-secondary);
}

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

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    margin-bottom: 2rem;
    color: var(--color-primary);
}

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

.sketch-underline {
    position: relative;
    padding-bottom: 1rem;
}

.sketch-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--color-accent);
    transform: skew(-20deg);
}

.section-title.center.sketch-underline::after {
    left: 50%;
    transform: translateX(-50%) skew(-20deg);
}

.section-intro {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
}

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

/* Plant Cards */
.plants-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.plant-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid var(--color-primary);
    padding: 0;
    transition: transform 0.3s;
    background: var(--color-white);
}

.plant-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 8px 8px 0 var(--color-accent);
}

.plant-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-primary);
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.plant-card:hover .plant-image img {
    transform: scale(1.05);
}

.plant-info {
    padding: 1.5rem;
}

.plant-info h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.plant-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.plant-link:hover {
    transform: translateX(5px);
}

/* About Section */
.about {
    background: var(--color-light);
}

.about-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border: 4px solid var(--color-primary);
    box-shadow: 10px 10px 0 var(--color-accent);
}

.about-content {
    flex: 1;
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--color-accent);
    background: var(--color-white);
}

.feature-icon {
    width: 30px;
    height: 30px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Partners */
.partners {
    background: var(--color-light);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.partner-logo {
    width: 200px;
    height: 120px;
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

/* Articles */
.articles-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-primary);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.article-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Rules */
.rules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.rule-item {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
    position: relative;
}

.rule-number {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.rule-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq {
    background: var(--color-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: 'Caveat', cursive;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-dark);
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    border-top: 5px solid var(--color-accent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem;
    border: 2px solid var(--color-accent);
    background: var(--color-white);
    font-family: 'Outfit', sans-serif;
}

.newsletter-form button {
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--color-secondary);
    color: var(--color-light);
}

/* Placeholder Images */
.placeholder-img {
    background: var(--color-gray);
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--color-white);
        transition: left 0.3s;
        padding: 2rem;
        border-bottom: 1px solid var(--color-primary);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        min-height: 60vh;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .about-layout {
        flex-direction: column;
    }

    .plants-grid,
    .services-grid,
    .articles-grid,
    .rules-grid {
        flex-direction: column;
    }

    .plant-card,
    .service-card,
    .article-card,
    .rule-item {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}