/* ==========================================================================
   СТИЛІ ДЛЯ ОКРЕМОЇ СТОРІНКИ "КАЛЕНДАР СВЯТ" (stylecalendar.css)
   ПРЕМІАЛЬНА БЛАКИТНО-БІЛА ПАЛІТРА (Electric Cyan & Ice White)
   ========================================================================== */
:root {
    --brand-dark-blue: #0B132B; /* Глибокий сапфірово-синій */
    --brand-navy: #1C2541;      /* Начений синій */
    --brand-cyan: #0EA5E9;      /* Яскравий блакитний (Cyan) */
    --brand-cyan-hover: #0284C7;
    --brand-sky: #38BDF8;       /* Небесно-блакитний акцент */
    --neutral-light: #F0F9FF;   /* Преміальний біло-крижаний фоновий колір */
    --text-white: #FFFFFF;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--brand-dark-blue);
    color: var(--text-white);
}

body {
    overflow-x: hidden;
    width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Скляні панелі з блакитним сяйвом */
.glass {
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 12px 40px rgba(11, 19, 43, 0.35);
}

/* ШАПКА */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
}

.header-limit { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-radius: 20px; }
.logo a { font-size: 1.25rem; font-weight: 800; color: #FFF; text-decoration: none; }
.logo .gold-text { color: var(--brand-sky); text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
.nav-menu { display: flex; list-style: none; gap: 24px; }
.nav-link { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.nav-link.active, .nav-link:hover { color: var(--brand-sky); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { background: none; border: none; color: #FFF; font-weight: 700; cursor: pointer; }

/* HERO */
.page-hero { padding: 160px 0 30px 0; text-align: center; }
.section-badge { color: var(--brand-sky); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: #FFF; margin: 10px 0; }
.page-subtitle { font-size: clamp(0.95rem, 2vw, 1.15rem); color: #94A3B8; max-width: 760px; margin: 0 auto; line-height: 1.6; }

/* ПАНЕЛЬ УПРАВЛІННЯ ПОШУКОМ ТА ФІЛЬТРАМИ */
.calendar-page-section { padding: 30px 0 100px 0; }

.calendar-controls {
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--brand-sky);
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(11, 19, 43, 0.7);
    color: #FFFFFF;
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    border-color: var(--brand-sky);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
    background: rgba(11, 19, 43, 0.95);
}

.filter-dropdowns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.custom-select {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(28, 37, 65, 0.9);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.custom-select option {
    background: #0B132B;
    color: #FFF;
}

/* СІТКА КАРТОК СВЯТ */
.holidays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.holiday-card {
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.holiday-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-sky);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.25);
}

.holiday-date-badge {
    background-color: var(--brand-navy);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 12px;
    min-width: 64px;
    text-align: center;
    flex-shrink: 0;
}

.holiday-date-badge .day {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-sky);
    line-height: 1;
}

.holiday-date-badge .month {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #94A3B8;
    margin-top: 4px;
    font-weight: 700;
}

.holiday-info {
    display: flex;
    flex-direction: column;
}

.cal-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 8px;
}

.badge-gold { background: rgba(14, 165, 233, 0.2); color: var(--brand-sky); }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.badge-green { background: rgba(39, 174, 96, 0.2); color: #2ECC71; }

.holiday-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.3;
}

.holiday-desc {
    font-size: 0.85rem;
    color: #CBD5E1;
    line-height: 1.45;
}

/* ЯКЩО НІЧОГО НЕ ЗНАЙДЕНО */
.no-results-box {
    text-align: center;
    padding: 60px 20px;
    background: rgba(11, 19, 43, 0.6);
    border-radius: 24px;
    border: 1px dashed rgba(56, 189, 248, 0.3);
}

.no-results-box span { font-size: 3rem; display: block; margin-bottom: 12px; }
.no-results-box h3 { font-size: 1.3rem; color: #FFF; margin-bottom: 6px; }
.no-results-box p { color: #94A3B8; font-size: 0.9rem; }

/* КНОПКИ ТА УТИЛІТИ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.btn-sm { padding: 8px 14px; font-size: 0.78rem; }
.btn-glass { background-color: rgba(255, 255, 255, 0.1); color: #FFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-glass:hover { background-color: rgba(255, 255, 255, 0.2); }

/* МОБІЛЬНИЙ АДАПТИВ */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle .bar { width: 22px; height: 2px; background-color: #FFF; }

@media (max-width: 992px) {
    .nav-menu {
        display: none; position: fixed; top: 75px; left: 16px; right: 16px;
        background: rgba(11, 19, 43, 0.98); border-radius: 20px; flex-direction: column; padding: 24px; gap: 16px;
        border: 1px solid rgba(56, 189, 248, 0.2);
    }
    .nav-menu.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .holiday-card { flex-direction: column; gap: 12px; }
    .holiday-date-badge { width: 100%; }
    .filter-dropdowns { flex-direction: column; }
}