/* ============================================
   SILVOTERAPIE.COM - Design System
   Forest Therapy | Alina Margareta Arsene
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Forest palette */
    --forest-900: #0a1f0a;
    --forest-800: #1a3a1a;
    --forest-700: #2d5a2d;
    --forest-600: #3d7a3d;
    --forest-500: #4a8f4a;
    --forest-400: #6aad6a;
    --forest-300: #8ec78e;
    --forest-200: #b8ddb8;
    --forest-100: #dceedd;
    --forest-50: #f0f8f0;

    /* Earth tones */
    --earth-900: #2c1810;
    --earth-700: #5c3a28;
    --earth-500: #8b6f47;
    --earth-300: #c4a882;
    --earth-100: #f5efe8;

    /* Accent / Gold */
    --gold-500: #b8860b;
    --gold-400: #d4a017;
    --gold-300: #e8c547;
    --gold-100: #faf3d7;

    /* Neutrals */
    --white: #ffffff;
    --cream: #faf9f5;
    --gray-50: #f8f7f4;
    --gray-100: #f0efe9;
    --gray-200: #e2e0d8;
    --gray-300: #c8c5bb;
    --gray-400: #9e9a8f;
    --gray-500: #6b6760;
    --gray-600: #4a4740;
    --gray-700: #33312c;
    --gray-800: #1f1e1a;
    --gray-900: #111110;

    /* Semantic */
    --primary: var(--forest-700);
    --primary-light: var(--forest-400);
    --primary-dark: var(--forest-900);
    --secondary: var(--earth-500);
    --accent: var(--gold-500);
    --bg: var(--cream);
    --text: var(--gray-800);
    --text-light: var(--gray-500);
    --text-inverse: var(--white);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Great Vibes', cursive;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container: 1200px;
    --container-narrow: 800px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-slow: 0.6s;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

::selection {
    background: var(--forest-200);
    color: var(--forest-900);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.leaf-spinner {
    color: var(--primary);
    animation: leafSpin 2s ease-in-out infinite;
}

@keyframes leafSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1.05); }
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
}

section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-3xl) 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--duration) var(--ease);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease);
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 45, 0.3);
}

.btn-primary:hover {
    background: var(--forest-800);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-accent:hover {
    background: var(--gold-400);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--forest-50);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ---------- Header / Navigation ---------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

#main-header.header-transparent {
    background: transparent;
    box-shadow: none;
}

#main-header.header-transparent .nav-links a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

#main-header.header-transparent .logo {
    color: var(--white);
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

#main-header.scrolled .nav-links a {
    color: var(--text);
    text-shadow: none;
}

#main-header.scrolled .logo {
    color: var(--primary);
}

.nav-container {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0.8rem var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-heading);
    transition: color var(--duration) var(--ease);
}

.logo-leaf {
    transition: transform var(--duration) var(--ease);
}

.logo:hover .logo-leaf {
    transform: rotate(-10deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links > li > a {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.nav-links > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--duration) var(--ease);
    transform: translateX(-50%);
}

.nav-links > li > a:hover::before,
.nav-links > li > a.active::before {
    width: 60%;
}

.nav-links > li > a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.4rem !important;
    text-shadow: none !important;
}

.nav-cta:hover {
    background: var(--forest-800) !important;
}

.nav-cta::before { display: none !important; }

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text) !important;
    text-shadow: none !important;
    transition: all var(--duration) var(--ease);
}

.dropdown li a:hover {
    background: var(--forest-50);
    color: var(--primary) !important;
    padding-left: 1.5rem;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.nav-social {
    display: none;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--forest-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 31, 10, 0.5) 0%,
        rgba(10, 31, 10, 0.3) 50%,
        rgba(10, 31, 10, 0.7) 100%
    );
    z-index: 2;
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--space-xl);
}

.hero-label {
    font-family: var(--font-accent);
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--gold-300);
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero h1 {
    color: var(--white);
    margin: var(--space-md) 0 var(--space-lg);
    font-weight: 300;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero h1 strong {
    font-weight: 700;
    display: block;
    font-style: italic;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.9s forwards;
    max-width: 600px;
    margin-inline: auto;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.hero .btn-group {
    justify-content: center;
    margin-top: var(--space-2xl);
    opacity: 0;
    animation: fadeUp 1s var(--ease) 1.2s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 60px) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 50%, var(--forest-600) 100%);
    color: var(--white);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C30 5 50 20 45 40 C42 50 30 55 30 55 C30 55 18 50 15 40 C10 20 30 5 30 5Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-hero .section-label {
    color: var(--gold-300);
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.85rem;
    margin-bottom: var(--space-lg);
    color: rgba(255,255,255,0.6);
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.3);
}

/* ---------- Cards ---------- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

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

.card-body {
    padding: var(--space-lg) var(--space-xl);
}

.card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--forest-900);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.card-footer {
    padding: var(--space-md) var(--space-xl);
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-400), var(--accent));
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--forest-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--primary);
    transition: all var(--duration) var(--ease);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* ---------- Section Dividers ---------- */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    color: var(--cream);
}

.wave-divider svg {
    width: 100%;
    height: 60px;
}

.wave-divider.flip {
    transform: rotate(180deg);
}

/* ---------- Mission / Tagline Section ---------- */
.mission-section {
    background: var(--white);
    text-align: center;
}

.mission-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--forest-800);
    max-width: 800px;
    margin-inline: auto;
    position: relative;
    padding: var(--space-2xl) 0;
}

.mission-text::before,
.mission-text::after {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--forest-200);
    position: absolute;
    line-height: 1;
}

.mission-text::before {
    content: '\201C';
    top: 0;
    left: -1rem;
}

.mission-text::after {
    content: '\201D';
    bottom: 0;
    right: -1rem;
}

/* ---------- Choose Service Section ---------- */
.choose-section {
    background: var(--forest-50);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.choose-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.choose-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
}

.choose-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

.choose-card:hover .choose-card-img img {
    transform: scale(1.08);
}

.choose-card-body {
    padding: var(--space-lg);
    text-align: center;
}

.choose-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.choose-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* ---------- Events Section ---------- */
.events-section {
    background: var(--white);
}

.event-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.event-date-badge {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    text-align: center;
}

.event-date-badge .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

.event-info {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
}

.event-info h4 {
    margin-bottom: var(--space-sm);
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* ---------- About / Content Sections ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--forest-300);
    border-radius: calc(var(--radius-xl) + 8px);
    z-index: -1;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius-xl);
}

.about-text .section-label { margin-bottom: var(--space-sm); }
.about-text .section-title { margin-bottom: var(--space-lg); }
.about-text p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.value-item {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    color: var(--primary);
}

.value-item h4 {
    margin-bottom: var(--space-md);
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Benefit / Feature cards ---------- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--forest-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.benefit-card h4 {
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: var(--forest-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
}

.testimonials-section .section-label { color: var(--gold-300); }
.testimonials-section .section-title { color: var(--white); }

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.testimonial-item {
    text-align: center;
    padding: var(--space-2xl);
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s var(--ease);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--gold-400);
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    opacity: 0.5;
}

.testimonial-author {
    font-weight: 600;
    color: var(--gold-300);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.testimonial-dot.active {
    background: var(--gold-400);
    transform: scale(1.3);
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    color: var(--white);
    font-size: 0.9rem;
    z-index: 2;
    transform: translateY(100%);
    transition: transform var(--duration) var(--ease);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    justify-content: center;
}

.gallery-filter {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    border: 1px solid var(--gray-200);
    color: var(--text-light);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest-600), var(--earth-500));
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

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

.blog-card-body {
    padding: var(--space-xl);
}

.blog-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.blog-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.blog-card-body h3 a {
    color: var(--forest-900);
}

.blog-card-body h3 a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.read-more svg {
    transition: transform var(--duration) var(--ease);
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Blog detail */
.blog-detail {
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding: var(--space-4xl) var(--space-xl);
}

.blog-detail-header {
    margin-bottom: var(--space-2xl);
}

.blog-detail-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.blog-detail-content p {
    margin-bottom: var(--space-lg);
}

.blog-detail-content h2,
.blog-detail-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.blog-detail-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-info-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--forest-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 1.05rem;
    margin-bottom: var(--space-xs);
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    transition: all var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 90, 45, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: var(--space-xs);
}

.form-success {
    background: var(--forest-50);
    color: var(--forest-700);
    padding: var(--space-lg);
    border-radius: var(--radius);
    border: 1px solid var(--forest-200);
    margin-bottom: var(--space-xl);
}

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    margin-bottom: var(--space-xl);
}

.alert-error {
    background: #fef2f2;
    color: #c0392b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: var(--forest-50);
    color: var(--forest-700);
    border: 1px solid var(--forest-200);
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--duration) var(--ease-bounce);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--duration) var(--ease);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--text);
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.modal-service-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-caption {
    color: rgba(255,255,255,0.8);
    margin-top: var(--space-md);
    font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 2rem;
    padding: var(--space-md);
    transition: opacity var(--duration) var(--ease);
    opacity: 0.7;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close { top: 1rem; right: 1rem; font-size: 2.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Footer ---------- */
#main-footer {
    background: var(--forest-900);
    color: rgba(255,255,255,0.8);
    position: relative;
}

.footer-wave {
    color: var(--cream);
    margin-bottom: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-content {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-logo:hover { color: var(--white); }

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
    color: var(--gold-400);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-400);
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--duration) var(--ease);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.footer-contact-info li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--forest-800);
    transform: translateY(-3px);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Nature decorations ---------- */
.nature-bg {
    position: relative;
}

.nature-bg::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--forest-100);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.nature-bg::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--forest-100);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

.nature-bg > * {
    position: relative;
    z-index: 1;
}

/* ---------- Counters / Stats ---------- */
.stats-section {
    background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--forest-700), var(--forest-600));
    color: var(--white);
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 10 C40 10 60 25 55 45 C52 55 40 60 40 60 C40 60 28 55 25 45 C20 25 40 10 40 10Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 { color: var(--white); margin-bottom: var(--space-md); }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin-inline: auto; margin-bottom: var(--space-2xl); font-size: 1.1rem; }

/* ---------- Tree cards (Lumea Plantelor) ---------- */
.tree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.tree-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.tree-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tree-card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--forest-600), var(--earth-500));
    display: flex;
    align-items: center;
    justify-content: center;
}

.tree-card-img .tree-emoji {
    font-size: 4rem;
    opacity: 0.8;
}

.tree-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tree-card-body {
    padding: var(--space-xl);
}

.tree-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.tree-card-body .tree-latin {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.tree-card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .about-grid {
        gap: var(--space-2xl);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding-inline: var(--space-lg);
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 5rem var(--space-xl) var(--space-xl);
        transition: right var(--duration) var(--ease);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links > li > a {
        padding: 0.8rem 0;
        font-size: 1.05rem;
        display: block;
        border-bottom: 1px solid var(--gray-100);
        color: var(--text) !important;
        text-shadow: none !important;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--space-lg);
        background: transparent;
    }

    .dropdown li a {
        font-size: 0.92rem !important;
        padding: 0.4rem 0 !important;
        border-bottom: none !important;
    }

    .nav-cta {
        margin-top: var(--space-md);
        text-align: center !important;
        display: block !important;
    }

    .nav-social {
        display: flex;
        gap: var(--space-lg);
        margin-top: var(--space-xl);
        padding-top: var(--space-xl);
        border-top: 1px solid var(--gray-100);
    }

    .nav-social a {
        color: var(--text-light);
    }

    /* Content adjustments */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date-badge {
        flex-direction: row;
        gap: var(--space-sm);
        min-width: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }

    .stat-item .stat-number {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
}

/* ---------- Placeholder images (SVG backgrounds when no image) ---------- */
.placeholder-img {
    background: linear-gradient(135deg, var(--forest-300), var(--forest-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
}

.placeholder-img svg {
    width: 60px;
    height: 60px;
}

/* ---------- Admin link (hidden in footer) ---------- */
.admin-link {
    color: rgba(255,255,255,0.15) !important;
    font-size: 0.75rem;
}

.admin-link:hover {
    color: rgba(255,255,255,0.4) !important;
}

/* ---------- Print ---------- */
@media print {
    #main-header, #main-footer, .scroll-top, .modal, .lightbox { display: none; }
    body { background: white; color: black; }
    section { padding: 1rem 0; }
}
