@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Culori principale */
    --color-primary: #2E7D32; /* Verde închis, principal */
    --color-secondary: #A7D2CB; /* Verde deschis/turcoaz, secundar */
    --color-background: #F0F4E8; /* Fundal general, crem-verde deschis */
    --color-footer-bg: #212121; /* Fundal footer, negru */
    --color-button: #388E3C; /* Verde pentru butoane */
    --color-text-dark: #212121;
    --color-text-light: #F0F4E8;
    --color-accent: #66BB6A; /* Un verde mai vibrant pentru accente */

    /* Culori fundal secțiuni (pentru .section-bg-1, etc.) */
    --section-bg-1: #E8F5E9;
    --section-bg-2: #F1F8E9;
    --section-bg-3: #DCEDC8;
    --section-bg-4: #C8E6C9;
    --section-bg-5: #CCEECC;
    --section-bg-6: #E0F2F1;

    /* Fonturi */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;

    /* Spațiere și dimensiuni */
    --spacing-unit: 1rem; /* Baza pentru spațieri */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 2rem;
    --border-radius-full: 9999px; /* Pentru butoane rotunde */

    /* Umbre */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset și stiluri de bază */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.7;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevenire scroll orizontal nedorit */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
}

p {
    margin-bottom: 1em;
    font-size: 1.125rem; /* 18px */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Butoane */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-button), var(--color-primary));
    color: var(--color-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--color-primary), var(--color-button));
}

.btn .icon {
    margin-left: 0.75rem;
    font-size: 1.2em;
}

/* Stiluri specifice secțiunilor de fundal */
.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

.section-bg-5 {
    background-color: var(--section-bg-5);
}

.section-bg-6 {
    background-color: var(--section-bg-6);
}

/* Header - Minimalist, Glassmorphism */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Umbră subtilă */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: center; /* Logo centrat */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    flex-grow: 1; /* Permite logo-ului să ocupe spațiu și să centreze */
    text-align: center;
}

/* Navigație (pentru mobil, ascunsă implicit pe desktop) */
.nav-toggle {
    display: none; /* Ascuns pe desktop */
    cursor: pointer;
    font-size: 2rem;
    color: var(--color-primary);
    background: none;
    border: none;
    padding: 0;
    z-index: 1001; /* Peste header */
}

.nav-menu {
    display: none; /* Ascuns implicit */
    position: fixed;
    top: 0;
    right: -100%; /* Ascuns în dreapta */
    width: 280px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    padding-top: 6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.nav-menu.active {
    right: 0; /* Vizibil */
    display: flex; /* Afișat când este activ */
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-dark);
    padding: 0.5rem 2rem;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* Glassmorphism card example */
.glass-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.07);
    padding: 2rem;
    margin: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Footer - Elegant, întunecat */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: 3rem 2rem;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--color-text-light);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Utilități de spațiere și umbre (complementar Tailwind) */
.py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-content {
    padding-left: 2rem;
    padding-right: 2rem;
}

.shadow-md-subtle {
    box-shadow: var(--shadow-md);
}

.shadow-lg-subtle {
    box-shadow: var(--shadow-lg);
}

.shadow-xl-subtle {
    box-shadow: var(--shadow-xl);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between; /* Logo stânga, burger dreapta */
        padding: 0 1.5rem;
    }

    .header .logo {
        text-align: left;
        flex-grow: 0;
    }

    .nav-toggle {
        display: block; /* Afișează burger-ul */
    }

    .nav-menu {
        display: none; /* Ascuns implicit, controlat de JS */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
    }

    .py-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .px-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none; /* Ascunde burger-ul pe desktop */
    }

    .nav-menu {
        display: flex; /* Afișează meniul pe desktop */
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding-top: 0;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu a {
        padding: 0;
        font-size: 1.1rem;
        color: var(--color-text-dark);
        background: none;
        width: auto;
    }

    .nav-menu a:hover {
        color: var(--color-primary);
        background: none;
        transform: translateY(-2px);
    }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}