:root {
    --green: #00966E;
    --red: #D62612;
    --ring: #e5e7eb;
    --ink: #0b1220;
    --muted: #6b7280;
    --bg: #f7f7f9;
    --card: #ffffff;
    --weekend: #f0f9ff;
}

body {
    /* background: var(--bg); */
    background: radial-gradient(1200px 220px at 80% -10%, rgba(27, 41, 78, 0.05), transparent 60%), linear-gradient(180deg, #88c2ff2e 0%, var(--hero-grad2) 100%);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--ink);
    /* flex-direction: column; */
}

.shell {
    max-width: 1250px;
    padding: 15px;
}

.site-header {
    background-color: #fff;
    padding: 12px 20px;
    border-radius: 18px;
}

/* --- Header with Bulgarian flag (White-Green-Red) --- */
.flag-wgr {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff 0 33%, var(--green) 33% 66%, var(--red) 66% 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.41);
}

.site-logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--ink);
    letter-spacing: 0.04em;
}

.site-logo:hover {
    color: var(--ink);
}

.site-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 150, 110, 0.22), rgba(214, 38, 18, 0.18));
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    font-size: 16px;
}

.site-logo-text {
    background: linear-gradient(90deg, var(--ink), rgba(0, 128, 96, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-surface {
    border: 1px solid var(--ring);
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .04);
}

.toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.month-title {
    font-weight: 700;
    font-size: 24px;
}

/* Calendar */
.weekday {
    text-align: center;
    font-weight: 600;
    color: var(--muted);
}

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

.cell {
    position: relative;
    padding: 10px;
    border: 1px solid var(--ring);
    background: var(--card);
    border-radius: 16px;
    min-height: 150px;
    transition: .15s transform, .15s box-shadow;
    cursor: pointer;
}

.cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .06);
}

.cell.muted {
    background: #fbfbfb;
    color: #9ca3af;
}

.cell.weekend {
    background: var(--weekend);
}

.daynum {
    font-weight: 700;
    font-size: 18px;
}

.today {
    outline: 3px solid #f00;
    outline-offset: -2px;
}

/* Event chips (desktop/tablet) */
.chips {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.chip {
    padding: .28rem .62rem;
    font-size: .75rem;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.chip.a {
    background: #4056d3;
}

.chip.b {
    background: #0252ff;
}

.chip.c {
    background: #10b981;
}

.chip.d {
    background: #f59e0b;
}

.chip.more {
    background: #e5e7eb;
    color: #374151;
}

/* Mobile: square cells, hide chips, show count badge only */
.evcount {
    display: none;
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: .15rem .5rem;
    font-size: .75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

@media (max-width: 576px) {
    .shell {
        padding: 12px;
    }

    .grid {
        gap: 8px;
    }

    .cell {
        padding: 6px;
        border-radius: 12px;
        aspect-ratio: 1 / 1;
        min-height: auto;
    }

    .daynum {
        font-size: 14px;
    }

    .chips {
        display: none !important;
    }

    .evcount {
        display: inline-block;
    }

    .month-title {
        font-size: 18px;
    }

    .toolbar .btn {
        padding: .4rem .6rem;
    }
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: .9rem;
}

main {
    flex: 1;
}

.bg-gradient {
    background: radial-gradient(circle at top left, rgba(0, 150, 110, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(214, 38, 18, 0.18), transparent 45%);
}

.about-glow {
    background: linear-gradient(135deg, rgba(0, 150, 110, 0.1), rgba(214, 38, 18, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.object-fit-cover {
    object-fit: cover;
}

.day-map {
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
}

@media (max-width: 576px) {
    .day-map {
        height: 280px;
    }
}

.event-card {
    align-items: flex-start;
}

.event-thumb {
    width: 96px;
    height: 72px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: .75rem;
    color: var(--muted);
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card-surface {
    border: 1px solid var(--ring);
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .04);
}


/* Event hero */
.hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.hero-cover {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
}

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

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

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

#map {
    height: 360px;
    border-radius: 14px;
}


:root {
    --brand-red: #b00000;
    --brand-green: #1c7c54;
    --brand-ink: #0b2a3b;
    --hero-grad1: #fff8f4;
    --hero-grad2: #fff;
}

/* ===== Hero look & feel ===== */
.hero-banner {
    background:
        radial-gradient(1200px 220px at 80% -10%, rgba(27, 41, 78, 0.05), transparent 60%),
        linear-gradient(180deg, var(--hero-grad1) 0%, var(--hero-grad2) 100%);
    border-radius: 14px;
    padding: 16px 18px 0 18px;
    position: relative;
    overflow: hidden;
}

/* subtle pattern inspired by cultural ornaments */
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(176, 0, 0, 0.06) 0 2px, transparent 3px),
        radial-gradient(circle at 60% 0%, rgba(27, 41, 78, 0.05) 0 2px, transparent 3px),
        radial-gradient(circle at 95% 65%, rgba(28, 124, 84, 0.08) 0 2px, transparent 3px);
    background-size: 80px 80px, 120px 120px, 90px 90px;
    pointer-events: none;
}

/* top row */
.hero-head {
    position: relative;
    z-index: 1;
}

/* headline + subtitle */
.hero-title {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--brand-ink);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
}

.hero-subtitle {
    color: #394b58;
    font-weight: 600;
    margin-top: 6px;
    font-size: clamp(14px, 1.4vw, 18px);
    opacity: .9;
}

/* turn the white bootstrap outline button into light-on-gradient */
.hero-banner .btn-outline-light {
    --bs-btn-color: #173b4b;
    --bs-btn-border-color: #cfd9df;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-color: #0b2a3b;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-active-bg: #fff;
    --bs-btn-bg: rgba(255, 255, 255, .7);
    backdrop-filter: blur(2px);
}

/* spacing for the body */
.hero-body {
    padding: 6px 4px 12px 4px;
    position: relative;
    z-index: 1;
}



/* keep your existing flag exactly below; add a tiny gap */
.flag-wgr {
    margin-top: 6px;
}