/*
Theme Name: Targul de Craciun Craiova
Theme URI: https://visitcraiova.ro/
Author: Miruna Ionescu
Author URI: https://dafcode.com/
Description: Experienta web pentru Targul de Craciun Craiova
Version: 2.0
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Herbalife Theme Styles
   --------------------------------------------------------------------------
   1. Base & Global Styles
   2. Header & Navigation
   3. Default Page Shell
   4. Homepage Modules
   5. Testimonials Layout
   6. Services Page
   7. Products Page
   8. Blog & Single Views
   9. Footer
   10. Events Page
   11. Responsive Utilities
   ========================================================================== */

/* ==========================================================================
   1. Base & Global Styles
   ========================================================================== */

:root {
    --accent-color-green: #264f9b;
}
:root {
    --accent-color-orange: #e46e2e;
}
.accent-color-green-text {
    color: var(--accent-color-green) !important;
}
.accent-color-orange-text {
    color: var(--accent-color-orange) !important;
}
body{
    overflow-x: hidden;
}
.goog-te-banner-frame.skiptranslate,
.goog-logo-link,
.goog-te-gadget {
    display: none !important;
}
body {
    top: 0 !important;
}
body > .skiptranslate {
    display: none !important;
    height: 0 !important;
}

.shadow-soft {
    box-shadow: 0 22px 45px rgba(9, 80, 44, 0.15);
}

/* ==========================================================================
   Targul de Craciun Craiova - Rebuild
   ========================================================================== */
:root {
    --cran-red: #1f6fe5;
    --cran-dark: #0f3b8c;
    --pine: #0b1e3d;
    --pine-2: #0a2d60;
    --snow: #f7f3ed;
    --frost: #dfe5e7;
    --gold: #d6b46a;
    --ink: #0f1a1a;
    --muted: #8aa09b;
    --glass: rgba(255,255,255,0.08);
    --glass-strong: rgba(255,255,255,0.14);
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    --shadow-soft: 0 20px 50px rgba(11, 51, 43, 0.25);
    --font-sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
}

body {
    font-family: var(--font-sans);
    color: var(--snow);
    background: linear-gradient(145deg, rgba(6,15,36,0.75) 0%, rgba(12,34,70,0.65) 35%, rgba(8,26,51,0.7) 70%, rgba(6,15,36,0.8) 100%);
    letter-spacing: 0.01em;
}

a {
    color: var(--gold);
}

a:hover {
    color: #f2d48a;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--snow);
    letter-spacing: 0.01em;
}

#page-content.christmas-home {
    background: #fff;
    padding-top: 0;
}

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

.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #0c1c34;
}

.hero-banner-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-banner-video {
    display: none;
}

.hero-banner-image {
    position: absolute;
    inset: 0;
    background: #0c1c34 center/cover no-repeat;
    z-index: 1;
    filter: saturate(1.05);
}

.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(214,180,106,0.22), transparent 42%),
                radial-gradient(circle at 85% 20%, rgba(31,111,229,0.2), transparent 40%);
    pointer-events: none;
    z-index: 3;
}

.hero-banner-content {
    position: relative;
    max-width: 780px;
    padding: clamp(24px, 4vw, 36px);
    background: rgba(12, 28, 52, 0.65);
    border: 1px solid rgba(61,169,255,0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-lights-strip {
    position: relative;
    height: clamp(90px, 14vw, 170px);
    padding: 0;
    overflow: hidden;
    background: transparent url('images/luminite.webp') repeat-x center bottom;
    background-size: auto clamp(120px, 20vw, 240px);
    display: block;
    pointer-events: none;
    margin: 0;
    z-index: 10;
}

.hero-lights-strip img {
    display: none;
}

.day-events {
    background: #f8fafc;
    padding: 56px 0 44px;
}

.day-events .section-header h2,
.day-events .section-header p {
    color: #0f1a1a;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 18px auto 0;
    max-width: 1080px;
}

.day-events .event-card {
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 20px 44px rgba(8,22,48,0.08);
    color: #0b1724;
    display: grid;
    gap: 10px;
    position: relative;
}

.day-events .event-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13,47,111,0.12), rgba(61,169,255,0.12));
    z-index: 0;
    opacity: 0.8;
}

.day-events .event-card > * {
    position: relative;
    z-index: 1;
}

.day-events .event-card h3 {
    color: #0b1724;
    margin: 2px 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.day-events .event-card p {
    color: #2b3a44;
    margin: 0;
    font-size: 15px;
}

.event-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #0f1a1a;
}

.event-time,
.event-location {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f1ff;
    border: 1px solid #cfe2ff;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0b1724;
}

.event-daily {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(13,47,111,0.1);
    border: 1px solid rgba(61,169,255,0.28);
    color: #0d2f6f;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.event-national {
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8e7c6, #e8c57a);
    border: 1px solid #d6b46a;
    color: #5a3b00;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(214,180,106,0.35);
}
.day-events .event-card.is-national {
    border-color: #d6b46a;
    box-shadow: 0 22px 48px rgba(214,180,106,0.25);
}
.day-events .event-card.is-national::before {
    background: linear-gradient(135deg, rgba(214,180,106,0.18), rgba(214,180,106,0.12));
}

.event-actions {
    margin-top: 8px;
}

.day-events .event-actions .btn-christmas.ghost {
    padding: 10px 14px;
    font-size: 14px;
    background: linear-gradient(135deg, #0d2f6f, #1f6fe5);
    color: #fff;
    border: 1px solid #0d2f6f;
    box-shadow: 0 10px 24px rgba(13,47,111,0.35);
}

.events-empty {
    color: #0f1a1a;
    background: #f9fbff;
    border: 1px dashed #dce8ff;
    padding: 14px;
    border-radius: var(--radius-lg);
}

.home-theme {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0 18px;
    background: #fff;
    overflow: visible;
}

.home-theme-visual {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    background: #0c1c34;
}

.home-theme-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: clamp(280px, 60vw, 620px);
    background: #0c1c34;
}

.home-theme-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(214,180,106,0.12), transparent 45%),
        radial-gradient(circle at 82% 18%, rgba(31,111,229,0.08), transparent 42%),
        linear-gradient(115deg, rgba(6,15,36,0.18), rgba(8,22,48,0.14));
    z-index: 1;
    pointer-events: none;
}

.home-theme-tag {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(14px, 4vw, 30px);
    z-index: 2;
}

.home-theme-tag span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(8,22,48,0.92), rgba(6,15,36,0.82));
    border: 1px solid rgba(214,180,106,0.55);
    color: #fdf5de;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 38px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    text-shadow: 0 3px 12px rgba(0,0,0,0.28);
}

.home-theme::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(90px, 14vw, 170px);
    background: transparent url('images/luminite.webp') repeat-x center top;
    background-size: auto clamp(120px, 20vw, 240px);
    transform: translateY(-0%);
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 900px) {
    .home-theme-visual img {
        aspect-ratio: 16 / 10;
    }
    .home-theme-tag {
        padding: 14px;
    }
    .home-theme-tag span {
        padding: 10px 14px;
        font-size: 12px;
    }
}

.home-map-slider {
    position: relative;
    padding: 36px 0 18px;
    background:
        linear-gradient(135deg, rgba(6, 15, 36, 0.78), rgba(10, 30, 64, 0.82)),
        url('images/tema_home.webp') center/cover no-repeat;
}

.decorations {
    position: relative;
    padding: 60px 0 30px;
    background: #fff;
}

.decor-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: center;
}

.decor-copy h2,
.decor-copy p,
.decor-copy li {
    color: #0f1a1a;
}

.decor-slider {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: none;
    overflow: hidden;
}

.decor-slides {
    position: relative;
    min-height: 460px;
}

.decor-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(12px);
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    padding: 0;
}

.decor-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.decor-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
    min-height: 380px;
    aspect-ratio: 4 / 3;
}

.decor-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
    border-radius: var(--radius-lg);
    clip-path: inset(0 round var(--radius-lg));
}

.decor-media-overlay {
    display: none;
}

.decor-slide figcaption h3 {
    margin: 0 0 4px;
}

.decor-slide figcaption p {
    margin: 0;
    color: rgba(15,26,26,0.8);
}

.decor-controls {
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.decor-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(8,22,48,0.12);
    background: #fff;
    color: #0f1a1a;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px rgba(8,22,48,0.08);
}

.decor-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.decor-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.decor-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(8,22,48,0.2);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.decor-dots button.is-active {
    background: var(--gold);
    border-color: var(--gold);
}

@media (max-width: 900px) {
    .decor-grid {
        grid-template-columns: 1fr;
    }
    .decor-slides {
        min-height: 320px;
    }
    .decor-media {
        justify-self: center;
    }
    .decor-media img {
        object-fit: contain;
    }
}

.map-slider-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 20px;
}

.map-slider-header h2,
.map-slider-header p {
    color: #fff;
}

.map-plain-shell {
    position: relative;
    padding: 0;
}

.map-plain-shell .map-slide-grid {
    gap: 12px;
    align-items: stretch;
}

.map-slide-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-top: 16px;
    align-items: stretch;
    height: 100%;
}

.map-slide {
    display: block;
    padding: 8px;
}

.map-slide-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(8, 22, 48, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    min-height: 460px;
}
.map-embed-full {
    min-height: 560px;
}
.map-embed-full iframe {
    min-height: 560px;
}

.map-plain-shell .map-slide-media {
    background: #f8fbff;
    border: 1px solid rgba(8,22,48,0.08);
    box-shadow: 0 10px 28px rgba(8,22,48,0.08);
}

.map-slide-media iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
    background: rgba(6,17,36,0.65);
}

.map-slide-static {
    position: relative;
    background:
        radial-gradient(circle at 30% 30%, rgba(214,180,106,0.35), transparent 40%),
        linear-gradient(135deg, rgba(12,28,52,0.5), rgba(8,22,48,0.6)),
        var(--map-preview, linear-gradient(135deg, #0d2446, #081a33));
    background-size: cover;
    background-position: center;
}

.map-slide-static::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12,28,52,0.45), rgba(8,22,48,0.7));
}

.map-slide-media #homeMapLeaflet,
.map-slide-media .leaflet-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-slide-details {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 16px;
    color: #fff;
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 100%;
    box-shadow: var(--shadow-soft);
}

.map-plain-shell .map-slide-details {
    background: #ffffff;
    border: 1px solid rgba(8,22,48,0.08);
    color: #0f1a1a;
    box-shadow: 0 18px 44px rgba(8,22,48,0.12);
    border-radius: var(--radius-lg);
}

.map-plain-shell .map-slide-details h3 {
    color: #0f1a1a;
}

.map-plain-shell .map-slide-details .hero-eyebrow {
    background: rgba(8,22,48,0.06);
    border: 1px solid rgba(8,22,48,0.08);
    color: #0f1a1a;
}

.map-slide-details h3 {
    margin: 0;
}

.map-slide-details .map-detail-photo {
    margin: 10px 0 12px;
    max-width: 480px;
}

.map-slide-details .map-detail-photo img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61,169,255,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.map-detail-hours {
    margin: 0;
    font-weight: 700;
    color: #dfeaff;
    font-weight: 700;
}

.map-plain-shell .map-detail-hours {
    color: #0f1a1a;
}

.map-detail-actions {
    margin-top: 6px;
}

.map-static-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    color: #fff;
    z-index: 1;
}

.map-slide-copy {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 16px;
    color: #fff;
    display: grid;
    gap: 12px;
    align-content: start;
}

.map-slide-copy h3 {
    margin: 0;
}

.map-slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: rgba(255,255,255,0.86);
    font-weight: 700;
}

.map-slide-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-slide-list li::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d6b46a, #3da9ff);
    box-shadow: 0 0 0 2px rgba(214,180,106,0.24);
}

.map-slide-meta {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.map-slider-controls {
    margin-top: 12px;
}

.map-slider-controls .slider-dots {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .map-slide-media iframe {
        min-height: 380px;
    }
    .map-slide-media {
        min-height: 420px;
    }
    .map-slide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
}

.hero-banner h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin: 6px 0 12px;
}

.hero-banner .hero-subtitle {
    color: rgba(255,255,255,0.86);
    max-width: 640px;
}

.award-banner {
    background: #f2f6fb;
    padding: 28px 0 16px;
    margin-top: 0;
    border-bottom: 1px solid #e5ebf5;
    position: relative;
    z-index: 2;
}

.award-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.award-copy h2,
.award-copy p {
    color: #0f1a1a;
}

.award-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.award-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(8,22,48,0.04);
    border: 1px solid rgba(8,22,48,0.08);
    color: #0f1a1a;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(8,22,48,0.08);
    transition: all 0.2s ease;
}

.award-pill:hover {
    background: linear-gradient(135deg, #d6b46a, #3da9ff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(8,22,48,0.14);
}

@media (max-width: 900px) {
    .award-stats {
        justify-content: flex-start;
    }
}

/* Header */
.festive-topbar {
    background: linear-gradient(90deg, rgba(31,111,229,0.85), rgba(15,59,140,0.9));
    color: var(--snow);
    font-size: 14px;
    padding: 10px 0;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.topbar-info {
    color: rgba(255,255,255,0.8);
}

.topbar-links a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

#site-header {
    background: rgba(7, 18, 36, 0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

#site-header #site-header-logo img {
    max-height: 72px;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}

#main-navigation > ul > li > a,
#main-navigation > div > ul > li > a {
    color: var(--snow);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 18px;
    text-transform: uppercase;
    font-size: 13px;
}

#main-navigation > ul > li:hover > a,
#main-navigation > div > ul > li:hover > a,
#main-navigation > ul > li.current-menu-item > a {
    color: var(--gold);
}

.nav-cta {
    margin-left: 20px;
}

.mobile-header-bar {
    background: rgba(7, 18, 36, 0.86);
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav-cta {
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gold);
    color: #0f1a1a;
    font-weight: 700;
    text-decoration: none;
}

/* Buttons */
.btn-christmas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-christmas.solid {
    background: linear-gradient(135deg, var(--cran-red), var(--cran-dark));
    color: #fff;
    box-shadow: 0 15px 35px rgba(31,111,229,0.35);
    border-color: rgba(255,255,255,0.08);
}

.btn-christmas.solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(31,111,229,0.5);
    color: #fff;
}

.btn-christmas.ghost {
    border-color: rgba(255,255,255,0.35);
    color: var(--snow);
    background: rgba(255,255,255,0.06);
}

.btn-christmas.ghost:hover {
    border-color: var(--gold);
    color: #f9e9c4;
}

/* Hero */
.christmas-hero {
    position: relative;
    padding: 72px 0 32px;
    overflow: hidden;
}

.christmas-hero .hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(214,180,106,0.12), transparent 35%),
                radial-gradient(circle at 85% 25%, rgba(31,111,229,0.28), transparent 40%),
                linear-gradient(160deg, rgba(14,40,82,0.9), rgba(8,22,48,0.92)),
                url('https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    filter: saturate(1.05);
    opacity: 0.9;
}

.christmas-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 60% 70%, rgba(255,255,255,0.6), transparent);
    opacity: 0.5;
    animation: snowFloat 18s linear infinite;
}

@keyframes snowFloat {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 0 80px, 0 120px, 0 200px; }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    max-width: 640px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.hero-eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
}

.hero-meta {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.hero-meta li {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.hero-meta li span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-highlight-card {
    position: relative;
}

.hero-card-inner {
    background: rgba(12, 28, 52, 0.85);
    border: 1px solid rgba(61,169,255,0.14);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    padding: 26px;
    backdrop-filter: blur(10px);
}

.card-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
}

.hero-card-inner h3 {
    margin: 8px 0 18px;
    font-size: 26px;
}

.hero-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.hero-stats li {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 12px 14px;
}

.hero-stats strong {
    display: block;
    font-size: 22px;
    color: #fff;
}

.hero-stats span {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}

.hero-card-footer {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.05);
    color: #f9e9c4;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-intro-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
}

.hero-slider-shell {
    position: relative;
    background: rgba(12, 28, 52, 0.85);
    border: 1px solid rgba(61,169,255,0.14);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

.slide-copy h1 {
    font-size: clamp(36px, 4vw, 52px);
    margin-bottom: 12px;
}

.slide-copy .hero-subtitle {
    max-width: 760px;
}

.slide-meta {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.slide-meta li {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    font-weight: 700;
}

.slide-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    background: radial-gradient(circle at 20% 20%, rgba(214,180,106,0.12), transparent 38%),
                radial-gradient(circle at 80% 30%, rgba(31,111,229,0.24), transparent 40%),
                var(--slide-image, linear-gradient(135deg, #0d2446, #081a33)) center/cover no-repeat;
}

.slide-visuals {
    position: relative;
    min-height: 420px;
}

.visual-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.visual-frame.is-active {
    opacity: 1;
    position: relative;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(12, 36, 76, 0.7), rgba(8, 22, 48, 0.82));
}

/* Make transport magic visuals brighter */
.train-section .slide-overlay {
    background: rgba(0, 0, 0, 0.08);
}

.slide-visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(214,180,106,0.25), transparent 40%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.santa-animation-slot {
    position: absolute;
    inset: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(6, 17, 36, 0.35);
    color: #f9e9c4;
    font-weight: 700;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0;
    z-index: 2;
}

.santa-animation-slot .santa-media {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
    display: block;
    background: rgba(0, 10, 26, 0.6);
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.slider-arrow:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.slider-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.18);
    cursor: pointer;
    transition: all 0.18s ease;
}

.slider-dot.is-active {
    width: 32px;
    background: var(--gold);
    border-color: var(--gold);
}

.hero-highlight-card {
    height: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.story-section {
    padding: 36px 0 10px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-items: start;
}

.story-card {
    background: linear-gradient(135deg, rgba(16, 36, 66, 0.85), rgba(10, 24, 44, 0.85));
    border: 1px solid rgba(214,180,106,0.3);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 20px 50px rgba(16, 36, 66, 0.35);
    position: relative;
    overflow: hidden;
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(214,180,106,0.45), rgba(61,169,255,0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.story-meta {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}

.story-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 30, 52, 0.85);
    border: 1px solid rgba(214,180,106,0.28);
    padding: 10px 12px;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
    font-weight: 700;
}

.story-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}

.story-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}

.story-points li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d6b46a, #3da9ff);
    box-shadow: 0 0 0 2px rgba(214,180,106,0.25);
}

/* Sections */
.section-header {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
}

.section-lead {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
}

.essentials {
    padding: 70px 0 10px;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.glass-card {
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-soft);
    min-height: 180px;
}

.glass-card h3 {
    margin: 6px 0 8px;
    font-size: 22px;
}

.glass-card p {
    color: rgba(255,255,255,0.7);
}

.card-label {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}

.zones {
    padding: 70px 0 20px;
    background:
        linear-gradient(135deg, rgba(6, 15, 36, 0.78), rgba(10, 30, 64, 0.82)),
        url('images/tema_home.webp') center/cover no-repeat;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.zone-card {
    background: #0f1a30;
    border: 1px solid rgba(214,180,106,0.22);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 15px 35px rgba(6, 15, 36, 0.25);
    position: relative;
    overflow: hidden;
}

.zone-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.zone-top p {
    color: rgba(255,255,255,0.72);
}

.zone-meta {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #f9e9c4;
    font-weight: 700;
    margin-top: 10px;
}

.program {
    padding: 70px 0 20px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.program-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.program-time {
    background: linear-gradient(180deg, rgba(31,111,229,0.9), rgba(15,59,140,0.78));
    border-radius: var(--radius);
    padding: 12px 14px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(31,111,229,0.35);
}

.program-time span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
}

.program-body h3 {
    margin: 0 0 6px;
}

.program-body p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}

.workshops {
    padding: 60px 0 20px;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.workshop-card {
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.workshop-time {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(214,180,106,0.15);
    color: #f9e9c4;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}

.vendors {
    padding: 70px 0;
}

.vendors-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    background: rgba(12, 28, 52, 0.82);
    border: 1px solid rgba(61,169,255,0.14);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.vendors-copy {
    padding: 26px;
}

.vendors-list {
    padding-left: 18px;
    color: rgba(255,255,255,0.78);
    font-weight: 600;
    display: grid;
    gap: 6px;
}

.vendors-photo {
    position: relative;
    min-height: 280px;
    background: url('images/stele.webp') center/cover no-repeat;
}

.vendors-photo-overlay {
    display: none;
}

.vendors-photo-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(7, 18, 36, 0.82);
    border: 1px solid rgba(61,169,255,0.18);
    color: #fff;
    max-width: 280px;
}

.cta-section {
    padding: 40px 0 80px;
    background: #fff;
}

.cta-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    background: linear-gradient(135deg, rgba(31,111,229,0.9), rgba(15,59,140,0.9));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 30px;
    box-shadow: var(--shadow);
}

.cta-copy .section-lead {
    color: rgba(255,255,255,0.85);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}

.cta-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #fff;
    font-weight: 700;
}

.cta-meta a {
    color: #fff;
}

.cta-map {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 18px;
}

.cta-map ul {
    padding-left: 16px;
    color: rgba(255,255,255,0.8);
}

.page-editor-content {
    padding: 60px 0;
}

.content-narrow {
    max-width: 820px;
}

/* Footer */
#site-footer {
    background: #0b1e1c;
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-cta {
    padding: 60px 0 30px;
}

.footer-cta h2 {
    font-size: 32px;
}

.footer-cta-text {
    color: rgba(255,255,255,0.75);
}

.footer-cta-btn {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: #0f1a1a;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(214,180,106,0.3);
}

.footer-main {
    padding: 30px 0 10px;
}

.footer-brand-text {
    color: rgba(255,255,255,0.75);
}

.footer-contact-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}

.footer-quick-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-quick-links a {
    color: #f9e9c4;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 20px;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-copy h1 { font-size: 38px; }
    #site-header { border-radius: 0; }
    .festive-topbar { border-radius: 0; }
}

/* Admin bar offset for mobile menu */
.admin-bar .tlc-offcanvas__panel {
  top: 46px;
  height: calc(100% - 46px);
}
.admin-bar .tlc-offcanvas__backdrop {
  top: 46px;
}
@media (min-width: 783px) {
  .admin-bar .tlc-offcanvas__panel {
    top: 32px;
    height: calc(100% - 32px);
  }
  .admin-bar .tlc-offcanvas__backdrop {
    top: 32px;
  }
}
@media (max-width: 782px) {
  /* ascunde bara WP pe mobil ca sa nu mai acopere headerul */
  #wpadminbar {
    display: none;
  }
  html {
    margin-top: 0 !important;
  }
  .admin-bar .tlc-offcanvas__panel {
    top: 0;
    height: 100%;
  }
  .admin-bar .tlc-offcanvas__backdrop {
    top: 0;
  }
}

body.no-scroll {
  overflow: hidden;
}

/* Offcanvas mobil: jumatate de ecran (slide din dreapta) */
@media (max-width: 1023px) {
  .tlc-offcanvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: 300000 !important;
    display: none;
    background: rgba(0,0,0,0.65);
  }
  .tlc-offcanvas.is-open {
    display: block !important;
  }
  .tlc-offcanvas__backdrop {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
  }
  .tlc-offcanvas__panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: min(68vw, 360px) !important;
    max-width: 360px !important;
    transform: translateX(100%) !important;
    transition: transform .25s ease !important;
    background: #0a1b2f !important;
    box-shadow: -12px 0 30px rgba(0,0,0,0.18) !important;
    z-index: 300001 !important;
    overflow-y: auto !important;
  }
  .tlc-offcanvas.is-open .tlc-offcanvas__panel {
    transform: translateX(0) !important;
  }
}

/* Tema de Craciun pentru offcanvas (fortat cu !important) */
.tlc-offcanvas__panel {
  position: relative;
  background: linear-gradient(160deg, #0a1b2f 0%, #0f2c44 45%, #0a1b2f 100%) !important;
  color: #f3f7fb;
}
.tlc-offcanvas__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(3px 3px at 10% 20%, rgba(255,255,255,0.32) 60%, transparent 62%),
    radial-gradient(3px 3px at 80% 10%, rgba(255,255,255,0.26) 60%, transparent 62%),
    radial-gradient(3px 3px at 50% 70%, rgba(255,255,255,0.3) 60%, transparent 62%),
    radial-gradient(5px 5px at 30% 45%, rgba(255,255,255,0.28) 60%, transparent 62%),
    radial-gradient(5px 5px at 70% 60%, rgba(255,255,255,0.24) 60%, transparent 62%),
    radial-gradient(7px 7px at 20% 75%, rgba(255,255,255,0.2) 55%, transparent 60%),
    radial-gradient(7px 7px at 85% 35%, rgba(255,255,255,0.22) 55%, transparent 60%);
  opacity: 0.65;
}
.tlc-offcanvas__header {
  background: rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.tlc-offcanvas__brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e8f0ff;
}
.tlc-offcanvas__close {
  color: #e8f0ff !important;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tlc-offcanvas__menu > li > a {
  color: #f3f7fb !important;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tlc-offcanvas__menu > li > a:hover {
  background: rgba(61,169,255,0.14);
  color: #e8f0ff !important;
}
.tlc-offcanvas__toggle {
  background: rgba(120,150,210,0.14);
  color: #e8f0ff;
  border: 1px solid rgba(120,150,210,0.38);
}
.tlc-offcanvas__submenu a {
  color: #dfe6f1;
}
.tlc-offcanvas__submenu a:hover {
  color: #e8f0ff;
  background: rgba(61,169,255,0.14);
}

.tlc-offcanvas__panel {
  background: linear-gradient(135deg, rgba(6,15,36,0.96), rgba(10,32,64,0.98));
  color: #f3f7fb;
}
.tlc-offcanvas__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.25) 50%, transparent 60%),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.18) 50%, transparent 60%),
    radial-gradient(1px 1px at 50% 70%, rgba(255,255,255,0.22) 50%, transparent 60%);
  opacity: 0.45;
}
.tlc-offcanvas__header {
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.tlc-offcanvas__brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e8f0ff;
}
.tlc-offcanvas__close {
  color: #e8f0ff;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tlc-offcanvas__menu > li > a {
  color: #f3f7fb;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tlc-offcanvas__menu > li > a:hover {
  background: rgba(61,169,255,0.14);
  color: #e8f0ff;
}
.tlc-offcanvas__toggle {
  background: rgba(120,150,210,0.16);
  color: #e8f0ff;
  border: 1px solid rgba(120,150,210,0.4);
}
.tlc-offcanvas__submenu a {
  color: #dfe6f1;
}
.tlc-offcanvas__submenu a:hover {
  color: #e8f0ff;
  background: rgba(61,169,255,0.14);
}
@media (max-width: 767px) {
    .hero-grid { grid-template-columns: 1fr; }
    .program-card { grid-template-columns: 1fr; }
    .cta-card { grid-template-columns: 1fr; }
    .topbar-links { display: none; }
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */

#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(120deg, rgba(6,15,36,0.94) 0%, rgba(10,32,64,0.96) 45%, rgba(6,15,36,0.94) 100%);
    border: 1px solid rgba(247,230,191,0.24);
    box-shadow: 0 18px 40px rgba(0,0,0,0.32);
    border-radius: 18px;
    margin-bottom: 16px;
    backdrop-filter: blur(14px);
}

#site-header #site-header-logo img {
    max-height: 76px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

#site-header #main-navigation>ul>li:hover .dropdown-menu {
    display: block;
}

#site-header #main-navigation>ul>li .dropdown-menu .dropdown-item.active {
    background: rgba(247,230,191,0.2);
}

#main-navigation>ul>li>a {
    font-size: 13px;
    padding: 12px 16px;
    color: #e8f0ff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#main-navigation>ul>li.current-menu-item>a,
#main-navigation>ul>li.current-menu-ancestor>a,
#main-navigation>ul>li>a:hover {
    color: #0f1a1a;
    background: linear-gradient(135deg, #f9e9c4, #f7d78a);
    box-shadow: 0 12px 24px rgba(247,230,191,0.28);
}


   /* Mobile < 1024px: afișează burger, ascunde meniul clasic */
#navToggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  background:rgba(6,15,36,0.92);
  border:1px solid rgba(247,230,191,0.25);
  cursor:pointer;
  z-index:5;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

#navToggle span {
  position:relative;
  width:24px;
  height:3px;
  background:#f4f7fb;
  border-radius:2px;
  transition:0.3s ease-in-out;
}

#navToggle span::before,
#navToggle span::after {
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:#f4f7fb;
  border-radius:2px;
  transition:0.3s ease-in-out;
}

#navToggle span::before { top:-10px; }
#navToggle span::after  { top:10px; }

#navToggle.active span        { transform:rotate(45deg); background:#dce6ff; }
#navToggle.active span::before{ opacity:0; }
#navToggle.active span::after { transform:rotate(-95deg); top:0; background:#dce6ff; }

.mobile-header-bar {
  padding:6px 0;
  gap:12px;
}

.mobile-logo img {
  max-height:50px;
  width:auto;
}






   /* Drawer mobil (no-conflict cu Bootstrap) */

.tlc-offcanvas {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200000;
  background: rgba(0,0,0,0.55);
}

.tlc-offcanvas.is-open {
  display: flex !important;
}



.tlc-offcanvas__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition:opacity .25s ease; }

.tlc-offcanvas.is-open .tlc-offcanvas__backdrop { opacity:1; }



.tlc-offcanvas__panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(6,15,36,0.96), rgba(10,32,64,0.98));
  box-shadow: 10px 0 30px rgba(0,0,0,.28);
  transform: translateX(-100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
  z-index: 200001;
}
.tlc-offcanvas.is-open .tlc-offcanvas__panel {
  transform: none !important;
}

/* header-ul drawer-ului mai compact */
.tlc-offcanvas__header { padding: 10px 14px; }

/* item-urile de meniu mai aerisite ca înălțime totală */
.tlc-offcanvas__menu > li > a {
  padding: 10px 14px;      /* era 12px 18px */
  font-size: 15px;         /* dacă e mare, coboară la 15–16px */
  line-height: 1.2;
}

/* submeniuri și mai compacte */
.tlc-offcanvas__submenu a { padding: 8px 14px 8px 26px; font-size: 14px; }

.tlc-offcanvas.is-open .tlc-offcanvas__panel { transform:translateX(0); }



.tlc-offcanvas__header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; border-bottom:1px solid #eee; }

.tlc-offcanvas__close { border:0; background:transparent; font-size:28px; line-height:1; padding:0 6px; cursor:pointer; color: #e8f0ff; }



.tlc-offcanvas__menu { list-style:none; margin:0; padding:12px 0; display:block; }

.tlc-offcanvas__menu > li > a { display:block; padding:12px 18px; color:#e8f0ff; text-decoration:none; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 12px; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; background: transparent; }

.tlc-offcanvas__menu > li > a:hover,
.tlc-offcanvas__menu > li.current-menu-item > a {
  color: #e8f0ff;
  background: linear-gradient(135deg, #1a3659, #0f2a4a);
  box-shadow: 0 12px 24px rgba(61,169,255,0.18);
}



/* Submeniu mobil */

.tlc-offcanvas__menu li.menu-item-has-children > a { position:relative; padding-right:42px; }

.tlc-offcanvas__toggle {

  position:absolute; right:12px; top:50%; transform:translateY(-50%);

  width:28px; height:28px; border:1px solid rgba(120,150,210,0.38); background:rgba(120,150,210,0.16); color:#e8f0ff; border-radius:6px; cursor:pointer;

}

.tlc-offcanvas__submenu { display:none; padding-left:8px; }

.tlc-offcanvas__submenu a { padding-left:28px; color:#dce6ff; }




/* Language Switcher */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 1rem;
}
.language-switcher .gt-btn,
.language-switcher-mobile .gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.gt-btn.is-active {
  background-color: rgba(9, 80, 44, 0.12);
  box-shadow: 0 0 0 2px rgba(9, 80, 44, 0.35);
}
.gt-btn.is-active svg {
  transform: scale(1.05);
}

.language-switcher .gt-btn svg {
  width: 24px;
  height: auto;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

.language-switcher .gt-btn svg:hover {
  transform: scale(1.1);
}

/* ascunde bannerul și baloanele Google */
#goog-gt-tt, .goog-te-banner-frame, .goog-te-balloon-frame { 
  display: none !important; 
}
.goog-te-gadget-icon { display:none !important; } /* iconița lor mică */

/* Google mută body cu top:40px când traduce — resetăm */
body { top: 0 !important; }

.language-switcher-mobile .gt-btn svg {
  display: block;
  width: 22px;
  height: auto;
  transition: transform 0.2s ease;
}
.language-switcher-mobile .gt-btn:hover svg {
  transform: scale(1.1);
}
.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: 100%;
}
.mobile-header-bar .mobile-logo {
  flex: 1;
  text-align: center;
}
.mobile-header-bar .mobile-logo img {
  max-width: 120px;
  height: auto;
}
.language-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.language-switcher-mobile .gt-btn {
  padding: 4px;
}



/* ==========================================================================
   3. Default Page Shell
   ========================================================================== */

.default-page-title{
    background-image: var(--page-title-bkg, none);
    background-size: cover;
    background-position: center;
    margin-left: -999px;
    margin-right: -999px;
    padding-left: 999px;
    padding-right: 999px;
}
.full-title-with-bkg{
    background-image: var(--page-title-bkg, none);
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
  .default-page-title {
    margin-left: 0;
    margin-right: 0;
    padding: 2.25rem 1.5rem;
  }
  .full-title-with-bkg {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2rem 1rem;
  }
}
@media (max-width: 576px) {
  .full-title-with-bkg,
  .default-page-title {
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem 0.75rem;
    text-align: center;
  }
}
/* ==========================================================================
   4. Homepage Modules
   ========================================================================== */

.view-all-home-button:hover {
    opacity: 0.75;
}

/* Home Slider */
#home-slider .carousel-item img {
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
}

#home-slider .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#home-slider .carousel-item .carousel-caption .carousel-caption-content {
    max-width: 600px;
}
#home-slider .carousel-item .carousel-caption .carousel-caption-content>a {
    background: var(--accent-color-orange);
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    color: #fff;
    text-transform: uppercase;
}
#home-slider .carousel-item .carousel-caption .carousel-caption-content>a:hover{
    opacity: 0.75;
}

/* Home Services */
.effect-page {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.8s ease, transform 2s ease;
  transition-delay: var(--delay, 0ms);
}

.effect-page.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  /* On iOS/small screens make sure cards are visible even if the fade-in script doesn't fire */
  .effect-page {
    opacity: 1;
    transform: none;
  }
}

.about-us-home-section {
  
  background-size: cover;
  background-position: center;
}

.about-us-home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--about-bouquet-bkg, none);
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.about-us-home-section > * {
  position: relative;
  z-index: 1;
}





/* ==========================================================================
   9. Footer
   ========================================================================== */

#site-footer {
    background-color: #000000;
}


/* ==========================================================================
   10. Events Page
   ========================================================================== */

.events-page-content{
  position: relative;
  min-height: 800px;
}
.events-page-content::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg, rgba(6,15,36,0.82), rgba(10,30,64,0.9)),
        url('images/events-bck.webp') center/cover no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity:1;
    z-index:0;
}
.events-page-content > .container{
    position:relative;
    z-index:1;
}
.full-title-with-bkg,
.default-page-title{
    position: relative;
    z-index: 1;
}

:root{
  /* folosim variabilele existente din temă */
  /* --accent-color-green, --accent-color-orange deja definite */
  --events-row-bg: linear-gradient(135deg, #e8f2ff 0%, #d8e9ff 100%);
  --events-row-alt: #e1edff;              /* alternativ pentru zebra */
  --events-border: #c6d8f4;
}

/* wrapper */
.events-table-wrapper{
  background: transparent;
}

/* tabel card-like, cu spațiu între rânduri */
.events-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;                 /* spațiu între rânduri */
}

/* antet în verde */
.events-table thead th{
  background: linear-gradient(135deg, #d5e5ff, #c4dcff);
  color: #0b1f3c;
  padding: 14px 18px;
  font-weight: 700;
  border: 1px solid #c2d6f5;
  text-transform: none;
  letter-spacing: .2px;
  box-shadow: 0 12px 26px rgba(95,143,214,0.18);
}
.events-table thead tr th:first-child{
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.events-table thead tr th:last-child{
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* rândurile – stil ca la cardurile din Products/Services */
.events-table tbody tr{
  background: var(--events-row-bg);
  box-shadow: 0 18px 42px rgba(95,143,214,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
  color: #0b1f3c;
  border: 1px solid #c2d6f5;
}
.events-table tbody tr:nth-child(2n){
  background: var(--events-row-alt);
}
.events-table tbody tr:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(95,143,214,0.22);
}

/* celule */
.events-table tbody td{
  padding: 16px 18px;
  border-top: 1px solid rgba(160,188,232,0.55);
  border-bottom: 1px solid rgba(160,188,232,0.55);
  vertical-align: middle;
}
.events-table tbody tr td:first-child{
  border-left: 1px solid rgba(160,188,232,0.55);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.events-table tbody tr td:last-child{
  border-right: 1px solid rgba(160,188,232,0.55);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* data (pastilă cu contur verde) + ora sub ea */
.date-pill{
  display: inline-block;
  background: linear-gradient(135deg, #d5e7ff, #c1d8ff);
  color: #0b2b4b;
  border: 1px solid #b7cff5;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-right: 8px;
  box-shadow: 0 10px 22px rgba(95,143,214,0.2), inset 0 1px 0 rgba(255,255,255,0.6);
}
.time-small{
  font-size: 14px;
  color: #34507b;
  margin-top: 6px;
  font-weight: 700;
}

/* titlul evenimentului – verde, hover oranj */
.event-title{
  color: #0f2b4c;
  font-weight: 700;
  text-decoration: none;
}
.event-title:hover{
  color: #1f6fe5;
}

/* durata – badge discret */
.events-table td[data-label="Durată"],
.events-table td[data-label="Durata"]{
  white-space: nowrap;
}
.events-table td[data-label="Durată"]::before,
.events-table td[data-label="Durata"]::before{
  /* pe desktop nu afișăm eticheta "Durată" din pseudo-element; rămâne pentru mobil */
}
.duration-badge{
  display: inline-block;
  background: linear-gradient(135deg, #cde0ff, #b6d3ff); /* nuanță albastru foarte deschis */
  color: #0b2b4b;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #aac5f2;
  box-shadow: 0 10px 20px rgba(95,143,214,0.18);
}

/* responsive: tabel -> cards pe mobil, ca în restul temei */

  /* spațiere mai strânsă pe ecrane foarte mici */


/* ==========================================================================
   11. Responsive Utilities
   ========================================================================== */

/* Home Services (editable page block) */
.home-services-section {
  background: #f7fbf9;
}
.home-services-section h2 {
  font-weight: 800;
}
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.25rem;
  margin: 2.5rem 0;
}
.home-service-card {
  border-radius: 32px;
  background: #fff;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 30px 70px rgba(9, 80, 44, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  height: 100%;
}
.home-service-card figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f8f5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.home-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-service-card h3 {
  margin-bottom: 0.2rem;
  font-weight: 800;
}
.home-service-card .home-service-tagline {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1f2c2a;
  margin: 0;
}
.home-service-card .home-service-body {
  color: #2f2f2f;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
}
.home-service-cta {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  min-width: 140px;
  max-width: 190px;
  border-radius: 12px;
  border: 2px solid var(--accent-color-orange);
  color: var(--accent-color-orange);
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.home-service-cta:hover {
  background: var(--accent-color-orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(228, 110, 46, 0.18);
  transform: translateY(-1px);
}
.services-category-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #2f2f2f;
  font-size: 1.05rem;
  line-height: 1.6;
}
.services-category-intro p:last-child {
  margin-bottom: 0;
}
.services-category-intro-card {
  display: none;
  background: #fff;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 30px 60px rgba(9, 80, 44, 0.08);
  border: 1px solid rgba(9, 80, 44, 0.1);
  margin-bottom: 2.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.services-category-intro-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
  color: var(--accent-color-green);
}
.services-category-intro-card p {
  margin-bottom: 0.75rem;
}
.services-category-intro-card p:last-child {
  margin-bottom: 0;
}
.home-service-card .wp-block-button {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.home-service-card .wp-block-button__link {
  width: 100%;
  display: flex;
  justify-content: center;
}
.home-services-grid .wp-block-column {
  display: flex;
  height: 100%;
}
.home-services-grid .wp-block-column > * {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-services-grid .wp-block-column > * > .wp-block-buttons {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.home-services-grid .wp-block-column > * .wp-block-buttons {
  margin-top: auto;
  width: 100%;
}
.home-services-grid .wp-block-column > * .wp-block-button {
  width: 100%;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-page {
  position: relative;
  background: #f8fbf9;
}
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--about-bouquet-bkg, none);
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}
.legal-page > .container {
  position: relative;
  z-index: 1;
}
.legal-hero {
  background: linear-gradient(135deg, rgba(9, 80, 44, 0.92), rgba(13, 123, 73, 0.88));
  color: #fff;
  border-radius: 30px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 28px 60px rgba(9, 80, 44, 0.16);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
  transform: rotate(-6deg);
}
.legal-eyebrow {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.78;
  margin-bottom: 0.35rem;
}
.legal-hero h1 {
  color: #fff;
  margin-bottom: 0.45rem;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}
.legal-intro {
  max-width: 900px;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
}
.legal-note {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 1rem;
  border-radius: 16px;
  color: #fff;
  max-width: 820px;
  margin-bottom: 0;
}
.legal-card {
  background: #fff;
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: 0 24px 55px rgba(9, 80, 44, 0.07);
  border: 1px solid rgba(9, 80, 44, 0.08);
}
.legal-card + .legal-card {
  margin-top: 1.25rem;
}
.legal-section-title {
  color: var(--accent-color-green);
  margin-bottom: 0.85rem;
}
.legal-subtitle {
  font-size: 1.05rem;
  color: #0c3a23;
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.legal-list {
  padding-left: 1.15rem;
  margin-bottom: 1rem;
  color: #2f2f2f;
}
.legal-list li + li {
  margin-top: 0.35rem;
}
.legal-card ul ul {
  margin-top: 0.35rem;
}
.legal-card ul ul li {
  list-style: circle;
  margin-top: 0.2rem;
}
.legal-card p {
  color: #2f2f2f;
  line-height: 1.7;
}
.legal-contact {
  margin-top: 1rem;
}
.legal-contact-list {
  padding-left: 1rem;
  margin: 0;
  list-style: none;
  color: #2f2f2f;
}
.legal-contact-list li + li {
  margin-top: 0.35rem;
}
.legal-contact-list a {
  color: var(--accent-color-green);
  text-decoration: none;
  font-weight: 600;
}
.legal-contact-list a:hover {
  color: var(--accent-color-orange);
}
.legal-emphasis {
  border-left: 4px solid var(--accent-color-orange);
  background: #fff8f2;
}
.legal-emphasis .legal-section-title {
  color: var(--accent-color-orange);
}
.legal-page a {
  text-decoration: none;
}
.legal-page a:hover {
  text-decoration: underline;
}
.legal-page h1, .legal-page h2, .legal-page h3 {
  word-break: break-word;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 1.6rem 1.4rem;
  }
  .legal-meta {
    flex-direction: column;
  }
}

#site-footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 55%), #052a18;
  color: #eaf3ed;
  margin-top: 2rem;
}
#site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--about-bouquet-bkg, none) center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
#site-footer > * {
  position: relative;
  z-index: 1;
}
.footer-cta {
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(234, 243, 237, 0.65);
  margin-bottom: 0.3rem;
}
.footer-cta h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-cta-text {
  font-size: 1.05rem;
  color: rgba(234, 243, 237, 0.85);
  margin-bottom: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: var(--accent-color-orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(228, 110, 46, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-cta-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 25px 45px rgba(228, 110, 46, 0.4);
}
.footer-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.footer-main-row {
  row-gap: 2.5rem;
}
.footer-brand img {
  max-height: 70px;
}
.footer-site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-text {
  margin-top: 1rem;
  color: rgba(234, 243, 237, 0.75);
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-socials a:hover {
  background: var(--accent-color-orange);
  transform: translateY(-2px) scale(1.03);
}
.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: rgba(234, 243, 237, 0.75);
  margin-bottom: 1rem;
}
.footer-contact-grid .col-md-4 {
  display: flex;
}
.footer-contact-card {
  flex: 1;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  min-height: 100%;
}
.footer-contact-card .contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(234, 243, 237, 0.65);
  margin-bottom: 0.3rem;
}
.footer-contact-card a {
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 600;
}
.footer-contact-card a:hover {
  color: var(--accent-color-orange);
}
.footer-location {
  margin-top: 1.2rem;
  color: rgba(234, 243, 237, 0.85);
}
.footer-location .contact-label {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(234, 243, 237, 0.6);
}
.footer-widget-col {
  color: rgba(234, 243, 237, 0.85);
}
.footer-widget-col a {
  color: inherit;
  text-decoration: none;
}
.footer-widget-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  font-size: 0.9rem;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-legal-links a {
  color: rgba(234, 243, 237, 0.85);
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: #fff;
}
.footer-created-by {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(234, 243, 237, 0.9);
  font-size: 0.95rem;
  text-align: center;
}
.footer-created-by-text {
  line-height: 1.3;
}
.footer-created-by img {
  max-height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.footer-created-by a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
}
.footer-sponsors {
  padding: 1.75rem 0 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.footer-sponsors-header h4 {
  color: #fff;
}
.footer-sponsors-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 0.5rem;
}
.footer-sponsor-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.footer-sponsor-item a,
.footer-sponsor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-sponsor-item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}
.footer-sponsor-item a:hover img {
  transform: translateY(-2px);
  transition: transform 0.18s ease;
}
.events-table tbody tr {
  cursor: pointer;
}
.events-table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(95,143,214,0.22);
}
.events-table tbody tr:focus-within {
  outline: 2px solid rgba(31,111,229,0.35);
  outline-offset: 2px;
}
.events-table td[data-label="Durata"] {
  white-space: nowrap;
}
.events-table td[data-label="Durata"]::before {
  content: none;
}
.event-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-link-hint {
  font-size: 0.8rem;
  color: rgba(18, 71, 153, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ==========================================================================
   11. Responsive Utilities
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-slider-track { min-height: 520px; }
  .hero-banner { min-height: 460px; }
}

@media (max-width: 768px) {
  .hero-slide { position: relative; }
  .hero-slider-track { min-height: 460px; }
  .slide-meta { grid-template-columns: 1fr; }
  .hero-slider-shell { padding: 12px; }
}

/* Fair Map Page */
.fair-map-page {
    padding-bottom: 80px;
    position: relative;
}
.fair-map-page::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(214,180,106,0.08), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(61,169,255,0.08), transparent 34%);
    opacity: 0.08;
    z-index: 0;
}

.events-calendar-page {
    padding-bottom: 80px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(6,15,36,0.85), rgba(10,30,64,0.88)),
        url('images/events-bck.webp') center/cover no-repeat;
}

.calendar-hero {
    padding: 48px 0 18px;
    background:
        linear-gradient(145deg, rgba(6,15,36,0.82), rgba(8,22,48,0.9)),
        url('images/events-hero.webp') center/cover no-repeat;
    color: #fff;
}
.calendar-hero h1 { color: #fff; }
.calendar-hero .section-lead { color: rgba(234,243,237,0.85); }

.calendar-intro-callout {
    background: #ffffff;
    color: #0b1f3c;
    text-align: center;
    padding: 22px 0;
}
.calendar-intro-callout p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.015em;
}
.calendar-intro-text {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(223,234,255,0.8), rgba(202,220,255,0.8));
    box-shadow: 0 10px 24px rgba(95,143,214,0.18);
}

.calendar-section {
    padding: 24px 0 70px;
    background: none;
    color: inherit;
}

.calendar-shell {
    background: linear-gradient(145deg, rgba(240,246,255,0.92), rgba(223,236,255,0.95));
    border: 1px solid #c9daf4;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 24px 60px rgba(95,143,214,0.25);
    margin-bottom: 18px;
    color: #0b1f3c;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-month {
    font-weight: 800;
    font-size: 22px;
    color: #0b1f3c;
    letter-spacing: 0.02em;
}

.cal-nav {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #c2d6f5;
    background: linear-gradient(135deg, #e8f1ff, #d9e8ff);
    color: #0b2b4b;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 20px rgba(95,143,214,0.18);
}

.cal-nav:hover {
    transform: translateY(-1px);
    border-color: #5f8fd6;
    box-shadow: 0 12px 26px rgba(95,143,214,0.28);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.cal-cell {
    min-height: 82px;
    border-radius: 12px;
    border: 1px solid #d3e3ff;
    background: #f4f8ff;
    color: #0b1f3c;
    font-weight: 700;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.cal-cell:hover {
    transform: translateY(-2px);
    border-color: #5f8fd6;
    box-shadow: 0 12px 26px rgba(95,143,214,0.16);
}

.cal-cell.has-event {
    border-color: #5f8fd6;
    background: linear-gradient(135deg, #d3e6ff, #bed8ff);
    color: #0b2345;
    box-shadow: 0 12px 28px rgba(95,143,214,0.26);
    position: relative;
    overflow: hidden;
}

.cal-empty {
    background: transparent;
    border: 1px dashed #dbe6f8;
    cursor: default;
}

.cal-count {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 22px;
    padding: 4px 6px;
    border-radius: 999px;
    background: #1f6fe5;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 16px rgba(31,111,229,0.25);
}

.calendar-events-list h2 {
    margin: 14px 0 12px;
    color: #ffffff;
}

.events-calendar-page .event-card {
    background: linear-gradient(135deg, #e6f1ff, #d8e9ff);
    border: 1px solid #c4d6f2;
    border-radius: 18px;
    padding: 18px;
    color: #0b1f3c;
    box-shadow: 0 18px 40px rgba(95,143,214,0.24);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.events-calendar-page .event-card.is-national {
    border-color: #d6b46a;
    background: linear-gradient(135deg, #f8f1e3, #e9d7a8);
    box-shadow: 0 20px 46px rgba(214,180,106,0.28);
}

.events-calendar-page .event-date {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0b2b4b;
    margin-bottom: 6px;
}

.events-calendar-page .event-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d3e5ff, #c0d7ff);
    color: #0b2b4b;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(95,143,214,0.18);
}

.events-calendar-page .event-thumb {
    margin: 8px 0;
}
.events-calendar-page .event-thumb img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid #c4d6f2;
    box-shadow: 0 12px 26px rgba(95,143,214,0.16);
}

.events-calendar-page .event-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
}

.events-calendar-page .event-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #b7cff5;
    background: linear-gradient(135deg, #e1ecff, #cfddff);
    color: #0b2b4b;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(95,143,214,0.18);
}
.events-calendar-page .event-chip.time-chip {
    background: linear-gradient(135deg, #bfd6ff, #a8c7ff);
    color: #0b2345;
}
.events-calendar-page .event-chip.range-chip {
    background: linear-gradient(135deg, #cde3ff, #b8d4ff);
}
.events-calendar-page .event-chip.location-chip {
    background: linear-gradient(135deg, #e8f1ff, #d8e9ff);
}
.events-calendar-page .event-chip.national-chip {
    background: linear-gradient(135deg, #f8e7c6, #e8c57a);
    border-color: #d6b46a;
    color: #4a3200;
    box-shadow: 0 12px 26px rgba(214,180,106,0.35);
}

.events-calendar-page .event-card h3 {
    color: #122b55;
    margin: 6px 0 6px;
}
.events-calendar-page .event-card h3 a {
    color: inherit;
    text-decoration: none;
}
.events-calendar-page .event-card h3 a:hover {
    color: #1f6fe5;
}

.events-calendar-page .event-desc {
    color: #2a3f5d;
    margin: 0 0 8px;
}

.events-calendar-page .event-actions {
    margin-top: 10px;
}
.events-calendar-page .event-actions .btn-christmas.ghost {
    background: linear-gradient(135deg, #0f3b8c, #1e63d6);
    border: 1px solid #0f3b8c;
    color: #fff;
    box-shadow: 0 14px 30px rgba(15,59,140,0.3);
}
.events-calendar-page .event-actions .btn-christmas.ghost:hover {
    border-color: #1e63d6;
    color: #fff;
    box-shadow: 0 16px 36px rgba(30,99,214,0.32);
    transform: translateY(-1px);
}

.map-hero {
  padding: 48px 0 12px;
  background:
      linear-gradient(135deg, rgba(12,28,52,0.6), rgba(8,18,36,0.72)),
      var(--map-hero-bkg, none);
    color: #fff;
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}
.map-hero h1 { color: #fff; }
.map-hero .section-lead { color: rgba(234,243,237,0.85); }

.fair-map-section {
    padding: 36px 0 60px;
    background: var(--fair-map-bkg, url('images/bk-harta-alb.webp')) center/cover no-repeat;
}

.map-filters {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    background: rgba(12,28,52,0.75);
    border: 1px solid rgba(61,169,255,0.2);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.28);
}

.map-zone-description {
    display: none;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61,169,255,0.2);
    background: rgba(12,28,52,0.78);
    color: #e7f1ff;
    box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}
.map-zone-description.is-visible {
    display: block;
}
.map-zone-description h3 {
    margin: 4px 0 6px;
    color: #fff;
}
.map-zone-description .map-zone-description-text {
    color: #d8e7ff;
}
.map-zone-description .map-zone-description-text p {
    margin: 0 0 6px;
    color: #d8e7ff;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zone-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map-zone {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.map-zone.is-active {
    border-color: var(--gold);
    background: rgba(214,180,106,0.2);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.leaflet-rectangle {
    transition: fill-opacity 0.18s ease, stroke-width 0.18s ease;
}

.map-filter {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.map-filter.is-active {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--cran-red), var(--cran-dark));
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.map-search input {
    width: 280px;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(61,169,255,0.28);
    background: rgba(255,255,255,0.08);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.map-search input::placeholder { color: rgba(255,255,255,0.6); }

.fair-map-shell {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .fair-map-shell {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }
}

.fair-map-canvas {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61,169,255,0.18);
    background:
        linear-gradient(135deg, rgba(10,30,29,0.5), rgba(15,44,40,0.6)),
        var(--map-image, #0a1e1c) center/cover no-repeat;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    overflow: hidden;
}

.fair-map-canvas #fairLeaflet {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fair-map-canvas .leaflet-container {
    width: 100%;
    height: 100%;
    background: transparent;
}
.leaflet-control-container .leaflet-control-attribution {
    display: none !important;
}

.fair-map-tooltip {
    background: rgba(12,34,32,0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.leaflet-marker-icon {
    transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.leaflet-marker-icon.is-active-pin,
.leaflet-marker-icon:hover {
    filter: drop-shadow(0 0 0 2px rgba(61,169,255,0.85)) saturate(1.2) brightness(1.1) hue-rotate(185deg);
    box-shadow:
        0 0 0 3px #3da9ff,
        0 0 0 8px rgba(61,169,255,0.25);
    border-radius: 999px;
    transform: scale(1.08);
}

.fair-map-canvas::after,
.fair-map-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px;
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.fair-map-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: linear-gradient(135deg, var(--gold), var(--cran-red));
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fair-map-dot.is-active,
.fair-map-dot:hover,
.fair-map-dot:focus {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    border-color: #fff;
    outline: none;
}

.fair-map-details {
    background: rgba(12,34,32,0.78);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.fair-map-details h2 {
    margin: 6px 0 8px;
}

.fair-map-details-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.map-detail-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-detail-cat {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.map-detail-hours {
    margin-top: 0;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

.map-detail-photo {
    width: 100%;
    max-width: 480px;
    max-height: 320px;
    justify-self: end;
}

.map-detail-photo img {
    width: 100%;
    max-width: 100%;
    height: 280px;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61,169,255,0.2);
    background: rgba(12,34,32,0.5);
    padding: 4px;
    object-fit: cover;
}

@media (max-width: 820px) {
    .fair-map-details-inner {
        grid-template-columns: 1fr;
    }
    .map-detail-photo {
        max-width: 100%;
        justify-self: start;
    }
}

.fair-map-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.map-attract-teaser {
    padding: 32px 0 20px;
}

.map-attract-shell {
    background: linear-gradient(135deg, rgba(12,28,52,0.85), rgba(8,18,36,0.9));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61,169,255,0.22);
    padding: 20px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    align-items: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.32);
    background-image: var(--attract-bkg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.map-attract-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12,28,52,0.78), rgba(8,18,36,0.84));
    z-index: 0;
}

.map-attract-shell > * {
    position: relative;
    z-index: 1;
}

.map-attract-copy h2 {
    color: #fff;
    margin: 6px 0 10px;
}

.map-attract-copy .section-lead {
    color: rgba(234,243,237,0.85);
    margin: 0;
}

.map-attract-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.map-attract-chips span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(61,169,255,0.14);
    border: 1px solid rgba(61,169,255,0.28);
    color: #dfeaff;
    font-weight: 700;
    font-size: 13px;
}

.map-attract-actions .btn-christmas.solid {
    padding: 12px 18px;
    box-shadow: 0 18px 30px rgba(228,110,46,0.35);
}

.fair-map-card {
    position: relative;
    background: linear-gradient(145deg, rgba(12,28,52,0.9), rgba(8,22,48,0.94));
    border: 1px solid rgba(61,169,255,0.2);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 22px 52px rgba(0,0,0,0.3);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.fair-map-card:hover {
    transform: translateY(-3px);
    border-color: #3da9ff;
    box-shadow: 0 25px 52px rgba(0,0,0,0.32);
}

/* Rounded marker icons on all custom maps */
.fair-map-page .leaflet-marker-icon,
#page-content.christmas-home .leaflet-marker-icon {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.fair-map-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(61,169,255,0.25), rgba(214,180,106,0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.fair-map-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(61,169,255,0.25), transparent 60%);
    right: -40px;
    bottom: -60px;
    filter: blur(8px);
    opacity: 0.8;
}

.fair-map-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(61,169,255,0.25), rgba(214,180,106,0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.map-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.map-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(61,169,255,0.2);
    color: #dfeaff;
    font-weight: 800;
    font-size: 13px;
}

.map-card-cat {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(214,180,106,0.15);
    border: 1px solid rgba(214,180,106,0.35);
    color: #f4dfb0;
    font-weight: 700;
}

.map-card-desc {
    color: rgba(223, 234, 255, 0.78);
}

.map-card-hours {
    margin: 6px 0 0;
    font-weight: 700;
    color: #dfeaff;
    font-weight: 700;
}

.is-hidden {
    display: none !important;
}

.map-zoom-indicator {
    margin-top: 10px;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(12,34,32,0.7);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.map-fallback {
    background:
        linear-gradient(135deg, rgba(10,30,29,0.55), rgba(15,44,40,0.65)),
        var(--map-image, #0a1e1c) center/cover no-repeat !important;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .fair-map-canvas { min-height: 420px; }
  .map-filters { grid-template-columns: 1fr; }
}

@media (max-width: 1023.98px) {
  #navToggle { display: inline-flex; }
  #site-navigation { display: none; }
}

@media (min-width: 1024px) {
  #navToggle { display: none; }
  #site-navigation { display: block; }
  .tlc-offcanvas { display: none !important; }
}

@media (min-width: 1001px) {
  #home-slider .carousel-item img { max-height: 800px; }
  #home-slider .carousel-item .carousel-caption {
    transform: translateY(50%);
    bottom: 50%;
  }
}

@media (max-width: 991px) {
  .home-testimonials-shell { border-radius: 32px; }
  .home-testimonials-content,
  .home-testimonials-carousel { flex: 1 1 100%; }
  .home-testimonials-carousel { padding: 2rem; }
  .home-testimonials-nav { flex-direction: column; align-items: flex-end; }
}

@media (max-width: 1024px) {
  .testimonials-item-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .default-page-title { margin-left: 0; margin-right: 0; padding: 2.25rem 1.5rem; }
  .full-title-with-bkg { margin-left: -1rem; margin-right: -1rem; padding: 2rem 1rem; }
  .success-story-photos { flex-wrap: wrap; gap: 1rem; }
  .success-story-photo,
  .success-story-photo:only-child { flex: 0 0 100%; max-width: 100%; min-width: 0; }
  .success-story-photo-img { height: clamp(220px, 55vw, 360px); }
  .success-story-photo:only-child .success-story-photo-img { height: auto; max-height: 380px; }
  .events-table thead { display: none; }
  .events-table,
  .events-table tbody,
  .events-table tr,
  .events-table td { display: block; width: 100%; }
  .events-table tbody tr { margin: 12px 0; padding: 14px; background: linear-gradient(135deg, #e8f2ff, #d8e9ff); border: 1px solid #c4d6f2; border-radius: 12px; box-shadow: 0 16px 34px rgba(95,143,214,0.18); }
  .events-table tbody td { border: 0; padding: 6px 0; }
  .events-table tbody td[data-label="Data & Ora"] { display: flex; align-items: center; gap: 10px; padding-top: 2px; padding-bottom: 6px; border-bottom: 1px dashed #c7d9f2; margin-bottom: 8px; }
  .events-table tbody td[data-label="Data & Ora"]::before { display: none; }
  .date-pill { margin: 0; padding: 6px 10px; border-width: 1px; font-size: 14px; line-height: 1; }
  .time-small { margin: 0; font-size: 14px; color: #34507b; font-weight: 700; }
  .events-table tbody td[data-label="Eveniment"] { margin-top: 6px; }
  .events-table tbody td[data-label="Eveniment"]::before { display: none; }
  .event-title { display: block; font-size: 18px; line-height: 1.3; color: #122b55; text-decoration: none; word-break: break-word; }
  .events-table tbody td[data-label="Durata"] { margin-top: 6px; }
  .events-table tbody td[data-label="Durata"]::before { display: none; }
  .duration-badge { display: inline-block; background: rgba(228,110,46,0.12); color: var(--accent-color-orange); font-weight: 600; padding: 6px 10px; border-radius: 999px; font-size: 13px; }
  .event-title-wrapper { gap: 2px; }
  .event-link-hint { font-size: 0.7rem; }
}

@media (max-width: 640px) {
  .services-categories-filter,
  .products-categories-filter { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; padding: 0 12px; }
  .services-categories-filter button,
  .products-categories-filter button { margin: 0; flex: 1 1 calc(50% - 10px); text-align: center; white-space: normal; }
}

@media (max-width: 576px) {
  .full-title-with-bkg,
  .default-page-title { margin-left: 0; margin-right: 0; padding: 1.5rem 0.75rem; text-align: center; }
  .testimonial-feature-photos { display: block; }
  .testimonial-feature-photos .success-story-photo { display: block; }
  .testimonial-feature-photos .success-story-photo-img { height: clamp(200px, 60vw, 320px); min-height: 0; }
  #request-service-form { padding: 1.5rem; }
  #product-inquiry-form { padding: 1.75rem; }
  .single-post-hero,
  .single-post-body,
  .single-post-nav,
  .single-related-section { border-radius: 18px; }
  .single-service-cta { flex-direction: column; }
  .success-story-photo,
  .success-story-photo:only-child { flex: 0 0 100%; max-width: 100%; min-width: 0; }
  .success-story-photo-img { height: clamp(200px, 60vw, 320px); }
  .success-story-photo:only-child .success-story-photo-img { height: auto; max-height: 320px; }
}

@media (max-width: 575px) {
  .home-testimonials-content { padding: 2.5rem 1.8rem; }
  .home-testimonials-carousel { padding: 1.75rem 1.25rem 2.5rem; }
}

@media (max-width: 420px) {
  .events-table tbody tr { padding: 12px; }
  .event-title { font-size: 17px; }
  .date-pill { font-size: 13px; padding: 5px 9px; }
  .time-small { font-size: 13px; }
  .services-categories-filter button,
  .products-categories-filter button { flex: 1 1 100%; }
}



/* --- Footer Neon Refresh --- */
#site-footer.footer-neon {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(214,180,106,0.1), transparent 35%),
                radial-gradient(circle at 85% 10%, rgba(61,169,255,0.14), transparent 38%),
                linear-gradient(135deg, #0a1b35, #0d2446 55%, #0a1b35);
    color: rgba(234,243,237,0.86);
    border-top: 1px solid rgba(255,255,255,0.08);
}
#site-footer.footer-neon::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: url("images/snowflake.webp") repeat;
    opacity: 0.02;
    pointer-events: none;
}
#site-footer.footer-neon > * { position: relative; z-index: 1; }
.footer-cta { padding: clamp(1.8rem, 4.5vw, 3.5rem) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: transparent; }
.footer-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: center; }
.footer-cta h2 { color: #fff; margin-bottom: 0.5rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.footer-cta-text { font-size: 1.05rem; color: rgba(234, 243, 237, 0.85); margin-bottom: 0.35rem; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.footer-chips .chip { padding: 8px 12px; border-radius: 999px; background: rgba(31,111,229,0.12); border: 1px solid rgba(61,169,255,0.32); color: #d6e8ff; font-weight: 700; font-size: 13px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.footer-cta .btn-christmas.ghost { padding: 0.85rem 1.6rem; border: 1px solid rgba(61,169,255,0.55); color: #dfeaff; box-shadow: 0 10px 24px rgba(61,169,255,0.28); }
.footer-cta .btn-christmas.solid { box-shadow: 0 18px 30px rgba(228, 110, 46, 0.35); }
.footer-cta-btn:hover, .footer-cta .btn-christmas.solid:hover, .footer-cta .btn-christmas.ghost:hover { transform: translateY(-2px); }
.footer-cta-card { background: linear-gradient(145deg, rgba(11,30,64,0.9), rgba(8,22,48,0.92)); border: 1px solid rgba(61,169,255,0.22); border-radius: 18px; padding: 18px 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.35); color: #eaf3ed; }
.footer-cta-card h3 { margin: 4px 0 10px; color: #fff; font-size: 22px; }
.cta-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(214,180,106,0.16); border: 1px solid rgba(214,180,106,0.4); color: #f4dfb0; font-weight: 700; font-size: 13px; }
.cta-mini-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.cta-mini-links a { color: #dfeaff; text-decoration: underline; font-weight: 600; }
.footer-main { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.footer-main-row { row-gap: 2.5rem; }
.footer-main-row h4 { color: #fff; margin-bottom: 1rem; }
.footer-brand-text { color: rgba(234, 243, 237, 0.75); }
.footer-socials { display: none; }
.footer-contact-card { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 14px; border: 1px solid rgba(255,255,255,0.06); color: #dfeaff; }
.contact-label { display: block; color: #9fc0b4; font-size: 0.9rem; }
.footer-quick-links a { color: #dfeaff; font-weight: 700; }
.footer-bottom { padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .footer-copy, .footer-bottom .footer-legal-links a, .footer-created-by-text { color: rgba(234,243,237,0.75); }
.footer-bottom .footer-legal-links span { color: rgba(234,243,237,0.55); }

.map-overlay-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1100;
    background: rgba(12, 23, 46, 0.8);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}
.map-zone-select {
    appearance: none;
    background: transparent;
    color: #f4f7fb;
    border: none;
    padding: 6px 28px 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    min-width: 180px;
    background-image: linear-gradient(135deg, rgba(61,169,255,0.2), rgba(12,91,222,0.45));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
    cursor: pointer;
}
.map-zone-select:focus { outline: 2px solid rgba(61,169,255,0.5); }
.map-zone-select option { color: #0c172e; }

/* Header/mobile overrides */
#site-header {
    background: linear-gradient(120deg, rgba(6,15,36,0.94), rgba(10,32,64,0.96));
    position: sticky;
    top: 0;
    z-index: 1050;
    border: 1px solid rgba(247,230,191,0.24);
    box-shadow: 0 18px 40px rgba(0,0,0,0.32);
    margin-bottom: 0;
    border-radius: 18px;
    backdrop-filter: blur(14px);
}
.mobile-header-bar {
    background: rgba(6,15,36,0.9);
    border: 1px solid rgba(247,230,191,0.16);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

/* Header desktop in tema (gradient noapte + accente aurii) */
@media (min-width: 1024px) {
    #site-header {
        background: linear-gradient(120deg, rgba(6,15,36,0.96) 0%, rgba(10,32,64,0.98) 45%, rgba(6,15,36,0.96) 100%);
        border: 1px solid rgba(247,230,191,0.26);
        box-shadow: 0 20px 46px rgba(0,0,0,0.35);
        border-radius: 20px;
        padding: 12px 0;
        font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    }
    #site-header .navbar-nav > li > a {
        color: #e8f0ff;
        font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
        font-weight: 800;
        padding: 12px 16px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border-radius: 999px;
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }
    #site-header .navbar-nav > li > a:hover {
        color: #0f1a1a;
        background: linear-gradient(135deg, #f9e9c4, #f7d78a);
        box-shadow: 0 12px 24px rgba(247,230,191,0.28);
    }
    #site-header::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: 18px;
        background-image:
            radial-gradient(3px 3px at 12% 20%, rgba(255,255,255,0.28) 60%, transparent 62%),
            radial-gradient(4px 4px at 70% 15%, rgba(255,255,255,0.22) 55%, transparent 60%),
            radial-gradient(2px 2px at 35% 70%, rgba(255,255,255,0.2) 60%, transparent 62%);
        opacity: 0.35;
        z-index: 0;
    }
    #site-header .container,
    #site-header .row,
    #site-header nav.navbar {
        position: relative;
        z-index: 1;
    }
    .language-switcher .gt-btn svg {
        filter: drop-shadow(0 0 6px rgba(247,230,191,0.35));
    }
}
@media (max-width: 991px) {
    .festive-topbar { display: none; }
}

/* Ascundem complet topbar-ul */
.festive-topbar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Zone labels on map */
.zone-label {
    pointer-events: none;
}
.zone-label-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.78);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
}
.zone-label-inner::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f6fe5;
    box-shadow: 0 0 0 6px rgba(31,111,229,0.16);
}
.is-active-zone-label .zone-label-inner {
    background: rgba(12, 91, 222, 0.85);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 12px 30px rgba(12,91,222,0.35);
}

/* Cluster bubbles for maps */
.fair-cluster {
    background: transparent;
    border: none;
    border-radius: 50%;
    box-shadow: none;
}
.fair-cluster .fair-cluster-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe1a3, #d6b46a);
    border: 2px solid #fff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
.fair-cluster span {
    display: block;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-1px);
}



/* Desktop ≥ 1024px: ascunde burger, arată meniul clasic; blochează offcanvas-ul */

@media (min-width: 1024px) {

  #navToggle { display: none; }

  #site-navigation { display: block; }

  .tlc-offcanvas { display: none !important; } /* siguranță */

}





   /* Drawer mobil (no-conflict cu Bootstrap) */

.tlc-offcanvas { position:fixed; inset:0; display:none; z-index: 3000; }

.tlc-offcanvas.is-open { display:block; }



.tlc-offcanvas__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition:opacity .25s ease; }

.tlc-offcanvas.is-open .tlc-offcanvas__backdrop { opacity:1; }



.tlc-offcanvas__panel {

  position:absolute; top:0; right:0; height:100%; width:min(76vw, 320px);

  background:#fff; box-shadow:-10px 0 30px rgba(0,0,0,.15);

  transform:translateX(100%); transition:transform .25s ease;

  display:flex; flex-direction:column;

}

/* header-ul drawer-ului mai compact */
.tlc-offcanvas__header { padding: 10px 14px; }

/* item-urile de meniu mai aerisite ca înălțime totală */
.tlc-offcanvas__menu > li > a {
  padding: 10px 14px;      /* era 12px 18px */
  font-size: 15px;         /* dacă e mare, coboară la 15–16px */
  line-height: 1.2;
}

.tlc-offcanvas__panel {
  width: 50vw;        /* jumătate din lățimea ecranului */
  max-width: none;    /* dezactivează limita de 360px */
}

/* submeniuri și mai compacte */
.tlc-offcanvas__submenu a { padding: 8px 14px 8px 26px; font-size: 14px; }

.tlc-offcanvas.is-open .tlc-offcanvas__panel { transform:translateX(0); }



.tlc-offcanvas__header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; border-bottom:1px solid #eee; }

.tlc-offcanvas__close { border:0; background:transparent; font-size:28px; line-height:1; padding:0 6px; cursor:pointer; }



.tlc-offcanvas__menu { list-style:none; margin:0; padding:12px 0; display:block; }

.tlc-offcanvas__menu > li > a { display:block; padding:12px 18px; color:#111; text-decoration:none; }



/* Submeniu mobil */

.tlc-offcanvas__menu li.menu-item-has-children > a { position:relative; padding-right:42px; }

.tlc-offcanvas__toggle {

  position:absolute; right:12px; top:50%; transform:translateY(-50%);

  width:28px; height:28px; border:0; background:#f4f4f4; border-radius:6px; cursor:pointer;

}

.tlc-offcanvas__submenu { display:none; padding-left:8px; }

.tlc-offcanvas__submenu a { padding-left:28px; }



.tlc-offcanvas__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(12px 12px at 15% 10%, rgba(255,255,255,0.5) 50%, transparent 60%),
    radial-gradient(10px 10px at 60% 30%, rgba(255,255,255,0.44) 55%, transparent 62%),
    radial-gradient(8px 8px at 40% 65%, rgba(255,255,255,0.38) 60%, transparent 62%),
    radial-gradient(8px 8px at 80% 50%, rgba(255,255,255,0.34) 60%, transparent 62%),
    radial-gradient(9px 9px at 25% 85%, rgba(255,255,255,0.38) 55%, transparent 60%);
  opacity: 0.9;
}

/* Fara fulgi in offcanvas */
.tlc-offcanvas__panel::before,
.tlc-offcanvas__panel::after {
  background-image: none !important;
  content: "" !important;
  display: block;
  opacity: 0 !important;
}

/* Offcanvas dark theme (mobile menu) */
.tlc-offcanvas__panel {
  background: linear-gradient(135deg, rgba(6,15,36,0.96), rgba(10,32,64,0.98));
  border-left: 1px solid rgba(120,150,210,0.32);
  box-shadow: -12px 0 34px rgba(0,0,0,0.32);
}
.tlc-offcanvas__header {
  border-bottom: 1px solid rgba(120,150,210,0.3);
  color: #e8f0ff;
}
.tlc-offcanvas__close {
  color: #e8f0ff;
}
.tlc-offcanvas__menu > li > a {
  color: #e8f0ff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tlc-offcanvas__menu > li > a:hover {
  color: #e8f0ff;
  background: linear-gradient(135deg, #1a3659, #0f2a4a);
  box-shadow: 0 12px 24px rgba(61,169,255,0.18);
}
.tlc-offcanvas__toggle {
  background: rgba(120,150,210,0.14);
  border: 1px solid rgba(120,150,210,0.38);
  color: #e8f0ff;
}
.tlc-offcanvas__submenu a {
  color: #dce6ff;
}
.tlc-offcanvas__submenu a:hover {
  color: #e8f0ff;
  background: linear-gradient(135deg, #1a3659, #0f2a4a);
}

/* Unificare culori offcanvas cu header-ul (albastru inchis) */
.tlc-offcanvas__panel {
  background: linear-gradient(120deg, rgba(6,15,36,0.94) 0%, rgba(10,32,64,0.96) 45%, rgba(6,15,36,0.94) 100%);
  border-left: 1px solid rgba(120,150,210,0.32);
  color: #e8f0ff;
}
.tlc-offcanvas__header {
  border-bottom: 1px solid rgba(120,150,210,0.3);
}
.tlc-offcanvas__menu > li > a:hover,
.tlc-offcanvas__menu > li.current-menu-item > a {
  background: linear-gradient(135deg, #1a3659, #0f2a4a);
  box-shadow: 0 12px 24px rgba(61,169,255,0.18);
  color: #e8f0ff;
}
/* Mobil: fortam tema dark/aurie pe header + offcanvas */
@media (max-width: 1023px) {
  #site-header {
    background: linear-gradient(120deg, rgba(6,15,36,0.96), rgba(10,32,64,0.98));
    border: 1px solid rgba(120,150,210,0.3);
    box-shadow: 0 18px 40px rgba(0,0,0,0.32);
    border-radius: 16px;
  }
  .mobile-header-bar {
    background: rgba(6,15,36,0.94);
    border: 1px solid rgba(120,150,210,0.28);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
  }
  #navToggle {
    background: rgba(6,15,36,0.92);
    border: 1px solid rgba(120,150,210,0.32);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  }
  #navToggle span,
  #navToggle span::before,
  #navToggle span::after {
    background: #f4f7fb;
  }
  #navToggle.active span,
  #navToggle.active span::after {
    background: #dce6ff;
  }
  .tlc-offcanvas__panel {
    background: linear-gradient(135deg, rgba(6,15,36,0.96), rgba(10,32,64,0.98));
    border-left: 1px solid rgba(120,150,210,0.32);
  }
  .tlc-offcanvas__menu > li > a {
    color: #e8f0ff;
  }
  .tlc-offcanvas__menu > li > a:hover {
    color: #e8f0ff;
    background: linear-gradient(135deg, #1a3659, #0f2a4a);
  }
  .tlc-offcanvas__close {
    color: #e8f0ff;
  }
}

/* Galerie foto */
.gallery-page .map-hero {
  --map-hero-bkg: linear-gradient(135deg, rgba(11, 23, 47, 0.35), rgba(10, 32, 64, 0.45));
  background: #0b172f;
  color: #f8fbff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  background-position: center center !important;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
}
.gallery-page .map-hero .hero-eyebrow,
.gallery-page .map-hero h1,
.gallery-page .map-hero .section-lead {
  color: #f8fbff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.gallery-page .map-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 12, 26, 0.65), rgba(8, 22, 44, 0.75));
  z-index: 0;
}
.gallery-page .map-hero > .container {
  position: relative;
  z-index: 1;
}

.gallery-page .map-hero {
  padding-top: 140px;
}

@media (max-width: 991px) {
  .gallery-page .map-hero {
    padding-top: 100px;
  }
}

.fair-gallery {
  padding: 48px 0;
}

.fair-gallery-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.fair-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.fair-gallery-filter {
  border: 1px solid #2c3647;
  border-radius: 999px;
  padding: 8px 14px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.fair-gallery-filter.is-active {
  background: #d6b46a;
  color: #0f172a;
  border-color: #d6b46a;
}

.fair-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fair-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.fair-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fair-gallery-card:hover img {
  transform: scale(1.03);
}

.fair-gallery-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.fair-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 70%);
  color: #fff;
  padding: 16px;
  opacity: 0;
  transition: 0.2s;
}

.fair-gallery-card:hover .fair-gallery-overlay,
.fair-gallery-card:focus-within .fair-gallery-overlay {
  opacity: 1;
}

.fair-gallery-title {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

.fair-gallery-desc {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.8;
}

.fair-gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 120px 24px 24px;
}

.fair-gallery-lightbox.is-open {
  display: flex;
}

.fair-gallery-lightbox-inner {
  max-width: 1200px;
  width: 100%;
  max-height: calc(100vh - 200px);
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  color: #fff;
}

.fair-gallery-lightbox-img {
  position: relative;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.fair-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(214, 180, 106, 0.6);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: 0.2s;
}

.fair-gallery-nav:hover {
  background: rgba(214, 180, 106, 0.85);
  color: #0f172a;
  border-color: #d6b46a;
}

.fair-gallery-nav-prev {
  left: 12px;
}

.fair-gallery-nav-next {
  right: 12px;
}

.fair-gallery-lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fair-gallery-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 0;
}

.fair-gallery-lightbox-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.fair-gallery-lightbox-desc {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.fair-gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid #d6b46a;
  color: #fff;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.fair-gallery-link {
  color: #d6b46a;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .fair-gallery {
    padding: 30px 0;
  }
  .fair-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .fair-gallery-overlay {
    opacity: 1;
  }
}
