* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --earth-brown: #5D4037;
    --sage-green: #7CB342;
    --paper-white: #F1F8E9;
    --text-dark: #2E2E2E;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--paper-white);
    line-height: 1.6;
    hyphens: auto;
    word-break: break-all;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

header {
    background-color: var(--earth-brown);
    color: var(--paper-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--paper-white);
}

.logo-link img {
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--paper-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--sage-green);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--paper-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--earth-brown);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

main {
    min-height: calc(100vh - 200px);
}

section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(rgba(93, 64, 55, 0.7), rgba(93, 64, 55, 0.7)), url('../images/composting-setup1.jpg') center/cover;
    color: var(--paper-white);
    text-align: center;
    padding: 6rem 1rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--sage-green);
    color: var(--paper-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1.2s ease;
}

.btn:hover {
    background-color: #689F38;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2rem;
    color: var(--earth-brown);
    margin-bottom: 2rem;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.faq-item {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--sage-green);
}

.faq-item h3 {
    color: var(--earth-brown);
    margin-bottom: 0.5rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--earth-brown);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.map-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

footer {
    background-color: var(--earth-brown);
    color: var(--paper-white);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--sage-green);
}

.footer-section a {
    color: var(--paper-white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--sage-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
}

.workshop-list {
    list-style: none;
}

.workshop-list li {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--sage-green);
}

.workshop-list li h3 {
    color: var(--earth-brown);
    margin-bottom: 0.5rem;
}

.workshop-date {
    color: var(--sage-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.text-content h2 {
    color: var(--earth-brown);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content h3 {
    color: var(--sage-green);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.text-content ul, .text-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.success-message {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 4rem;
}

.success-message i {
    display: inline-block;
    margin-bottom: 20px;
}

.success-message h1 {
    color: var(--sage-green);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.success-message p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.success-message .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    section {
        padding: 2rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .success-message {
       max-width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .text-content h2 {
        font-size: 1.25rem;
    }
}

