:root {
    /* Colors */
    --color-primary: #4a7c59; /* Verde padure */
    --color-secondary: #e0b887; /* Maro nisipiu */
    --color-background: #f8f8f8; /* Alb aproape */
    --color-footer-bg: #3a5746; /* Verde inchis pentru footer */
    --color-button: #4a7c59; /* Verde padure pentru butoane */
    --color-text-dark: #333333;
    --color-text-light: #fdfdfd;
    --color-accent: #d3d3d3; /* Gri deschis pentru accente subtile */

    /* Section Backgrounds - Interpreted from design_preferences */
    --section-bg-1: #f8f8f8; /* Background principal */
    --section-bg-2: #ffffff; /* Alb pur */
    --section-bg-3: #edf3ee; /* Verde pal usor */
    --section-bg-4: #e0b887; /* Maro nisipiu (accent) */
    --section-bg-5: #d3d3d3; /* Gri deschis (accent) */
    --section-bg-6: #cfe6d9; /* Verde menta pal */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.7;
    --line-height-heading: 1.2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem; /* Pentru elemente mici */
    --border-radius-md: 1.5rem; /* Pentru carduri, butoane */
    --border-radius-lg: 3rem; /* Pentru forme rotunjite "pill" */
    --border-radius-full: 9999px; /* Pentru cercuri perfecte */

    /* Shadows */
    --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* Soft Brutalism inspired inset shadow */
    --shadow-inset-soft: inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    --shadow-inset-lg: inset 4px 4px 10px rgba(0, 0, 0, 0.3), inset -4px -4px 10px rgba(255, 255, 255, 0.8);

    /* Transitions */
    --transition-duration: 0.3s;
    --transition-timing-function: ease-in-out;
    --transition-all: all var(--transition-duration) var(--transition-timing-function);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    color: var(--color-text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em; /* Slight tightening for modern feel */
}

h1 {
    font-size: 3.5rem; /* Large and impactful */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

h5 {
    font-size: 1.2rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

/* Paragraphs */
p {
    margin-bottom: var(--spacing-sm);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-all);
}

a:hover,
a:focus {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Utility Classes for Spacing */
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.py-md { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-xl { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

/* Section Backgrounds */
.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); } /* For accent sections */
.section-bg-5 { background-color: var(--section-bg-5); } /* For accent sections */
.section-bg-6 { background-color: var(--section-bg-6); }

/* Buttons - Rounded Pill, Shadow LG Inset, Scale on Hover */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius-lg); /* Rounded Pill */
    background-color: var(--color-button);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-all);
    box-shadow: var(--shadow-inset-lg); /* Shadow LG Inset */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn:hover {
    transform: scale(1.03); /* Scale on Hover */
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1), inset -1px -1px 3px rgba(255, 255, 255, 0.5); /* Subtle change on hover */
}

.btn:active {
    transform: scale(0.98);
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.4); /* Deeper inset on click */
}

/* Specific button styles if needed, e.g., secondary button */
.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-inset-soft);
}

.btn-secondary:hover {
    transform: scale(1.03);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1), inset -1px -1px 3px rgba(255, 255, 255, 0.5);
}

/* Cards - Subtle brutalism with prominent shadows and rounded corners */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15), 12px 12px 0px var(--color-accent); /* Prominent shadow, slightly offset with accent color */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border for definition */
    transition: var(--transition-all);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.2), 16px 16px 0px var(--color-primary); /* More prominent on hover */
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inset for depth */
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    transition: border-color var(--transition-duration), box-shadow var(--transition-duration);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(74, 124, 89, 0.2); /* Focus ring with primary color */
}

/* Footer Styling */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

/* Animations for scroll (assuming JavaScript handles adding/removing classes) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--transition-timing-function), transform 0.8s var(--transition-timing-function);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--transition-timing-function), transform 0.8s var(--transition-timing-function);
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--transition-timing-function), transform 0.8s var(--transition-timing-function);
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 0.95rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}


/* 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;
    }
}