/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #3e2723;
}

/* CSS Custom Properties */
:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #8b5a2b;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(62, 39, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 152px;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 132px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.nav__logo-img:hover {
    transform: scale(1.05);
}


.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: #a78b5b;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #a78b5b;
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav__bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 0;
    background-color: #3e2723;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 152px;
}

.hero__container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero__image-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__compost-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition);
    max-width: 100%;
    height: auto;
    min-height: 100%;
}

.hero__fly-image {
    position: absolute;
    top: 38.25%;
    left: 35%;
    transform: translate(-100%, -100%) rotate(40deg);
    width: 160px;
    height: auto;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.hero__fly-image:hover {
    transform: translate(-100%, -100%) rotate(40deg) scale(1.1);
}

.hero__overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 5;
    max-width: 80%;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.overlay-line1,
.overlay-line2 {
    display: block;
}

/* Image overlay removed */

/* Section Styles */
section {
    padding: 40px 0;
}

.section__title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: white;
    font-size: 2.5rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #a78b5b, #8b5a2b);
    border-radius: 2px;
}

/* Benefits Section */
.benefits {
    background-color: #3e2723;
}

.benefits__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.benefit__card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #a78b5b;
}

.benefit__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #a78b5b, #8b5a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.benefit__icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 50%;
}

.benefit__icon svg {
    width: 30px;
    height: 30px;
    fill: white;
    z-index: 1;
    position: relative;
}

.benefit__title {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.benefit__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit__features {
    list-style: none;
    text-align: left;
    padding: 0;
}

.benefit__features li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefit__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a78b5b;
    font-weight: bold;
}

/* Process Section */
.process {
    background-color: #2c1810;
}

.process__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.process__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.process__steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process__step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step__number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a78b5b, #8b5a2b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step__content {
    flex: 1;
}

.step__title {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.process__stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat__number {
    font-size: 3rem;
    color: #a78b5b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #3e2723;
}

.contact__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.contact__title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.contact__divider {
    width: 60px;
    height: 2px;
    background-color: white;
    margin: 0 auto 2rem;
}

.contact__subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact__form {
    max-width: 400px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form__input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--background-white);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}

.form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--background-white);
    resize: vertical;
    min-height: 120px;
}

.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.form__checkbox input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.contact__footer {
    margin-top: 2rem;
}

.contact__disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.btn--primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background-color: #3e2723;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer__copyright {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer__powered {
    color: white;
    font-size: 0.9rem;
}

.footer__link {
    color: white;
    text-decoration: none;
}

.footer__link:hover {
    text-decoration: underline;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3e2723;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-notice__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-notice__title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.cookie-notice__text {
    font-size: 0.9rem;
    color: white;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-notice__button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-notice__button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 152px;
        flex-direction: column;
        background-color: transparent;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        backdrop-filter: none;
        padding: 1rem 0;
    }
    
    .nav__menu .nav__item {
        margin: 0.1rem 0;
    }
    
    .nav__menu .nav__link {
        padding: 0.3rem 1rem;
        display: block;
        line-height: 1.2;
        opacity: 0;
        color: transparent;
        transition: opacity 0.3s ease;
    }

    .nav__menu.active {
        left: 0;
        z-index: 1001;
        background-color: rgba(62, 39, 35, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav__menu.active .nav__link {
        opacity: 1;
        color: white;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .nav__bar:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active .nav__bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav__toggle.active .nav__bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav__logo-img {
        height: 80px;
        max-width: 250px;
    }

    .hero__image-container {
        height: 60vh;
        min-height: 300px;
    }

    .hero__compost-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        max-width: 100%;
        min-height: 100%;
    }

    .hero__fly-image {
        width: 120px;
        top: 38.25%;
        left: 35%;
        transform: translate(-100%, -100%) rotate(40deg);
    }
    
    .hero__fly-image:hover {
        transform: translate(-100%, -100%) rotate(40deg) scale(1.1);
    }
    
    .hero__overlay-text {
        font-size: 2.2rem;
        max-width: 90%;
        letter-spacing: 0.15em;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .process__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process__stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact__title {
        font-size: 1.5rem;
    }

    .contact__subtitle {
        font-size: 1rem;
    }

    .cookie-notice__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-notice__text {
        min-width: auto;
    }
    
    .larva-image {
        width: 60px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero__image-container {
        height: 50vh;
        min-height: 250px;
    }

    .hero__compost-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        max-width: 100%;
        min-height: 100%;
    }

    .hero__fly-image {
        width: 100px;
        top: 38.25%;
        left: 35%;
        transform: translate(-100%, -100%) rotate(40deg);
    }
    
    .hero__fly-image:hover {
        transform: translate(-100%, -100%) rotate(40deg) scale(1.1);
    }
    
    .hero__overlay-text {
        font-size: 1.7rem;
        max-width: 95%;
        letter-spacing: 0.1em;
    }

    .hero__compost-image {
        object-position: center top;
    }

    .section__title {
        font-size: 2rem;
    }

    .benefit__card {
        padding: 2rem 1.5rem;
    }

    .process__step {
        flex-direction: column;
        text-align: center;
    }

    .process__stats {
        flex-direction: column;
    }

    .contact {
        padding: 2rem 0;
    }

    .contact__title {
        font-size: 1.25rem;
    }

    .form__input {
        padding: 0.625rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
    }
    
    .larva-image {
        width: 50px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 320px) {
    .hero__image-container {
        height: 45vh;
        min-height: 200px;
    }
    
    .hero__compost-image {
        object-position: center top;
    }
}

/* Image Map */
.hero__image-container {
    position: relative;
}

area[href] {
    cursor: pointer;
}

/* Adjust image map coordinates for mobile */
@media (max-width: 768px) {
    area[href] {
        /* Scale down clickable area for mobile */
        transform: scale(0.8);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Larva image positioned in hero section only */
.larva-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: auto;
    transform: rotate(20deg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0.8;
}

.larva-image:hover {
    transform: rotate(20deg) scale(1.1);
    opacity: 1;
}