:root {
    /* Culori */
    --color-primary: #2E8B57; /* Verde marin închis */
    --color-secondary: #F7A855; /* Piersică caldă */
    --color-background: #F0EAD6; /* Bej deschis, pământiu */
    --color-footer-bg: #2F4F4F; /* Gri-verde închis, aproape negru */
    --color-button: #6B8E23; /* Verde măsliniu */
    --color-text-dark: #333333;
    --color-text-light: #F0EAD6;
    --color-accent-hover: #D4AF37; /* Aur vechi */

    /* Culori de fundal pentru secțiuni */
    --section-bg-1: #E6E0D2;
    --section-bg-2: #D9D2BF;
    --section-bg-3: #B0C4B1;
    --section-bg-4: #DEE8D6;
    --section-bg-5: #C9D7C7;

    /* Fonturi */
    --font-family-body: 'Inter', sans-serif;
    --font-family-heading: 'Playfair Display', serif;

    /* Spațiere și dimensiuni */
    --spacing-unit: 1rem;
    --border-radius: 12px;
    --box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease-in-out;
}

/* Reset și stiluri de bază */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 0;
    text-align: center;
    color: var(--color-button); /* Mai aproape de natură */
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: 2.2rem;
    font-weight: 500;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Butoane */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    background-color: var(--color-button);
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn:hover:before {
    width: 200%;
    height: 200%;
}

.btn:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Carduri */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15);
}

/* Secțiuni de fundal organice */
.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);
}

/* Formulare */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    box-sizing: border-box; /* Include padding și border în lățimea elementului */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2); /* Umbră subtilă la focus */
}

/* Imagini */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius); /* Rotojire organică */
}

/* Efecte și animații */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0; /* Inițial invizibil */
}

/* Media Queries pentru responsivitate */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    p {
        font-size: 0.95rem;
    }
}


/* 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;
    }
}