/* ========================================
   SERXAN SETTARLI DANCE ACADEMY - FULL VERSION
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0c0c14;
    color: #e8e8f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    -webkit-overflow-scrolling: touch;
}

/* ========== KOD QORUMA QATI (guard.js) ========== */
/* DevTools açıq olanda səhifənin üstünü örtən pərdə + səhifəni dondurma.
   Skript: guard.js — söndürmə qolu: ?guard=off və ya SITE_GUARD.off() */
html.guard-on,
html.guard-on body {
    overflow: hidden;
}

.guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 16, 0.97);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.guard-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.guard-card {
    max-width: 460px;
    padding: 30px 28px;
    text-align: center;
    background: rgba(18, 18, 28, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 2px 26px 2px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.guard-mark {
    display: block;
    margin-bottom: 10px;
    color: #d4af37;
    font-size: 1.25rem;
    line-height: 1;
}

.guard-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #f3e5c0;
}

.guard-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #b9b6ad;
}

.guard-skip {
    margin-top: 18px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d4af37;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.guard-skip:hover,
.guard-skip:focus-visible {
    background: #d4af37;
    border-color: #d4af37;
    color: #0c0c14;
    outline: none;
}

@media (max-width: 760px) {
    .guard-card { padding: 24px 20px; }
    .guard-card strong { font-size: 1.35rem; }
    .guard-card p { font-size: 0.86rem; }
}

/* ========== LOADER ========== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0c0c14;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.loader-dots .dot {
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    animation: dotPulse 1s ease-in-out infinite;
}

.loader-dots .dot:nth-child(1) { animation-delay: 0s; }
.loader-dots .dot:nth-child(2) { animation-delay: 0.1s; }
.loader-dots .dot:nth-child(3) { animation-delay: 0.2s; }
.loader-dots .dot:nth-child(4) { animation-delay: 0.3s; }
.loader-dots .dot:nth-child(5) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f3e5c0, #d4af37, #b8952e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.loader-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #a0a0b0;
    margin-top: 6px;
}

/* ========== ANİMASİYALAR ========== */
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-8px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-6px) scale(0.96); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

/* ========== HƏRƏKƏT EDƏN ARXA FON ========== */
.premium-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 40%, #1a1a2e, #0d0d15, #08080c);
    z-index: -2;
    animation: bgBreath 14s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
}

@keyframes bgBreath {
    0% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.92;
    }
}

/* ========== QIZILI PARILTI ========== */
.subtle-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 40%, 
                rgba(212, 175, 55, 0.18), 
                rgba(212, 175, 55, 0.05), 
                transparent 65%);
    z-index: -1;
    pointer-events: none;
    animation: goldShift 16s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
}

@keyframes goldShift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(1.5%, -1.5%) scale(1.03);
        opacity: 0.7;
    }
    50% {
        transform: translate(-1%, -2.5%) scale(1.05);
        opacity: 0.8;
    }
    75% {
        transform: translate(-1.5%, 1%) scale(1.02);
        opacity: 0.55;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
}

.gold-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 60%, 
                rgba(212, 175, 55, 0.08), 
                transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: goldShift2 20s ease-in-out infinite;
    transform: translateZ(0);
}

@keyframes goldShift2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(-2%, 1%) scale(1.04);
        opacity: 0.6;
    }
    66% {
        transform: translate(1.5%, -1%) scale(1.02);
        opacity: 0.45;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* ========== XƏBƏR LENTİ ========== */
.news-ticker {
    background: linear-gradient(90deg, #0a0a10, #161622, #0a0a10);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    overflow: hidden;
    white-space: nowrap;
    z-index: 1001;
}

.news-ticker-content {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
    padding: 8px 0;
    will-change: transform;
}

/* Fasiləsiz (seamless) sürüşmə üçün iki eyni blok */
.ticker-set {
    display: flex;
    flex-shrink: 0;
}

.news-ticker-item {
    display: inline-block;
    margin-right: 40px;
    font-size: 0.75rem;
    color: #e0e0ec;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.news-ticker:hover .news-ticker-content {
    animation-play-state: paused;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
    /* TAM ÖRTƏN fon (şəffaf deyil).
       Əvvəl rgba(12, 12, 20, 0.85) idi → sticky header sürüşən məzmunun
       üstündə qalanda arxadakı başlıq/kart mətnləri fonun içindən görünürdü
       ("fon tam örtülmür" problemi). İndi hər iki rəng tam qeyri-şəffafdır,
       ona görə arxadan heç nə keçmir. */
    background: linear-gradient(180deg, #12121c 0%, #0c0c14 100%);
    /* Alt qızıl hairline (border-bottom) SİLİNDİ: naviqasiya sözlərinin
       (ANA SƏHİFƏ … MÜƏLLİM) altından əlavə qızıl xətt kimi görünürdü.
       Fon örtən olduğu üçün sərhəd onsuz da aydın seçilir. */
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Qeyd: navbar üzərində əvvəl backdrop-filter (blur(12px)) ilə ayrı ::before
   qatı var idi. Fon artıq tam örtən olduğu üçün blur funksiyası qalmadı;
   qat silindi. Bu həm də Safari-də görünən "yanlış fon" artefaktlarının və
   .nav-links (position: fixed) üçün containing block yaranması riskinin
   qarşısını alır. */

.logo h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e8d5a3, #c9a53b, #f2e0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: #a0a0b0;
    margin-top: 2px;
}

/* ========== DİL SEÇİCİ ========== */
.language-selector {
    display: flex;
    gap: 5px;
    background: rgba(20, 20, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 3px 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lang-btn {
    position: relative;
    isolation: isolate;
    background: none;
    border: none;
    color: #a0a0b0;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: color 0.28s ease,
                transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Qızıl fon ayrı qatdadır → dil dəyişəndə rəng "birdən" deyil, yumşaq fade ilə keçir */
.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, #d4af37, #a17f2a);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.28s ease,
                transform 0.34s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: -1;
    pointer-events: none;
}

.lang-btn.active {
    color: #0c0c14;
}

.lang-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

.lang-btn:active {
    transform: scale(0.94);
}

/* ========== NAV LINKLƏR ========== */
.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0ec;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.15s ease;
}

/* Naviqasiya sözünün altındakı qızıl GRADIENT xətt (::after) SİLİNDİ.
   Səbəb: həm hover zamanı, həm də mobil cihazlarda barmaqla toxunandan
   sonra "yapışıb" qalan həmin xətt ANA SƏHİFƏ / MÜƏLLİM sözlərinin
   altından əlavə qızıl xətt kimi görünürdü. Hover indikatoru yalnız
   rəng dəyişməsi ilə verilir (aşağıdaki .nav-links a:hover). */
.nav-links a:hover {
    color: #d4af37;
}

.menu-toggle {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #d4af37;
    background: none;
    border: none;
    padding: 6px;
}

/* ========== HERO ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 2.5rem 1.2rem;
}

.gold-badge {
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.3rem 1.3rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 1.2rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.gold-badge:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.18);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f3e5c0, #d4af37, #b8952e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 300;
    color: #c0c0d0;
    margin-top: 0.5rem;
}

.hero-desc {
    max-width: 550px;
    margin: 1rem auto;
    color: #b8b8cc;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ========== DÜYMƏLƏR ========== */
.btn-group {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.6rem;
}

.btn-primary, .btn-outline {
    padding: 0.6rem 1.3rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #a17f2a);
    color: #0c0c14;
}

.btn-outline {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-2px);
}

/* ========== STAT KARTLARI ========== */
.stats-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.stat-card {
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1rem 0.8rem;
    text-align: center;
    min-width: 100px;
    max-width: 120px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #d4af37;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 300;
}

/* ========== XİDMƏT KARTLARI ========== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: flex-start;
}

.service-card {
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1.2rem 0.8rem;
    width: 180px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}

.service-card i {
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 0.6rem;
    display: inline-block;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.service-card p {
    font-size: 0.8rem;
    font-weight: 300;
    color: #b0b0c4;
}

/* Panel sahəsi — açılıb-bağlanma animasiyası CSS keçidi ilə.
   JS yalnız .is-open sinfini dəyişir, hündürlüyü isə brauzer animasiya edir:
   grid-template-rows: 0fr → 1fr = məzmunun həqiqi hündürlüyünə qədər hamar böyümə */
.price-wrapper, .info-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    margin-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: grid-template-rows 0.36s cubic-bezier(0.22, 0.9, 0.28, 1),
                opacity 0.28s ease,
                transform 0.36s cubic-bezier(0.22, 0.9, 0.28, 1),
                visibility 0s linear 0.36s;
}

/* Grid elementi 0 hündürlüyə qədər sıxıla bilsin deyə min-height: 0 vacibdir */
.price-wrapper > .price-tag,
.info-wrapper > .info-text {
    min-height: 0;
    overflow: hidden;
}

.price-wrapper.is-open,
.info-wrapper.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: grid-template-rows 0.36s cubic-bezier(0.22, 0.9, 0.28, 1),
                opacity 0.32s ease,
                transform 0.36s cubic-bezier(0.22, 0.9, 0.28, 1),
                visibility 0s;
}

.price-tag {
    margin-top: 0;
    padding: 5px 10px;
    background: linear-gradient(135deg, #d4af37, #a17f2a);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: priceShine 3s ease-in-out infinite;
}

@keyframes priceShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    20% {
        transform: translateX(100%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) rotate(45deg);
    }
}

.price-tag:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.price-amount {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0c0c14;
}

.price-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #0c0c14;
    opacity: 0.85;
}

.info-text {
    margin-top: 0;
    padding: 6px 10px;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 12px;
    font-size: 0.8rem;
    color: #c0c0d0;
    text-align: left;
    position: relative;
    border-left: 2px solid #d4af37;
}

.info-text p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #c0c0d0;
}

.info-small {
    margin-top: 5px;
    font-size: 0.6rem !important;
    color: #d4af37 !important;
}

/* ========== ƏLAQƏ KARTLARI ========== */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.contact-card {
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 1rem;
    width: 160px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}

.contact-card i {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 0.4rem;
}

.contact-card h4 {
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.contact-card p {
    font-size: 0.8rem;
}

/* ========== XƏRİTƏ ========== */
.map-link {
    text-align: center;
    margin-top: 1.5rem;
}

.map-link a {
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #d4af37;
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
    display: inline-block;
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 1.2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

footer p {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #9a9aae;
    margin: 4px 0;
}

.footer-links {
    margin: 6px 0;
}

.separator {
    color: #444;
    font-size: 0.5rem;
    margin: 0 4px;
}

.privacy-link a, .terms-link a {
    color: #9a9aae;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.15s ease;
}

.privacy-link a:hover, .terms-link a:hover {
    color: #d4af37;
}

.creator-credit, .creator-email {
    font-size: 0.7rem !important;
    color: #7a7a8c !important;
}

.creator-email a {
    color: #a08b45;
    text-decoration: none;
    word-break: break-all;
}

.creator-credit strong {
    color: #d4af37;
}

/* ========== MƏXFİLİK VƏ İSTİFADƏ ŞƏRTLƏRİ POPUP ========== */
.privacy-modal, .terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.privacy-modal-content, .terms-modal-content {
    background: #1a1a2a;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.2s ease;
}

.privacy-close, .terms-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #d4af37;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: inherit;
}

.privacy-modal-content h3, .terms-modal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 0.8rem;
}

.privacy-modal-content h4, .terms-modal-content h4 {
    font-size: 0.85rem;
    color: #d4af37;
    margin: 0.8rem 0 0.4rem 0;
}

.privacy-modal-content p, .terms-modal-content p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #c0c0d0;
    margin-bottom: 0.6rem;
}

.privacy-footer, .terms-footer {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.6rem !important;
    text-align: center;
}

/* ========== ZƏRİF BİLDİRİŞ ========== */
.notification {
    position: fixed;
    right: 20px;
    /* WhatsApp vidjetinin üzən düyməsi altda olduğu üçün bildiriş yuxarı sürüşdürülüb */
    bottom: 92px;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%) scale(0.95);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    max-width: 260px;
    width: auto;
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.notification-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.5rem 0.7rem 0.5rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.notification-icon i {
    font-size: 1rem;
    color: #d4af37;
}

.notification-text p {
    font-size: 0.8rem;
    color: #e0e0ec;
    margin: 0;
}

.notification-link {
    background: linear-gradient(135deg, #d4af37, #a17f2a);
    color: #0c0c14;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 2px;
    white-space: nowrap;
}

.notification-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #88889c;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 30px;
}

/* ========== SEKSİYON BAŞLIQLARI ========== */
section {
    padding: 2.5rem 5%;
}

.section-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-title span {
    border-bottom: 2px solid #d4af37;
    padding-bottom: 4px;
}

/* ========== TELEFON ÜÇÜN TOUCH ========== */
@media (max-width: 800px) {
    .service-card:active,
    .stat-card:active,
    .contact-card:active,
    .btn-primary:active,
    .btn-outline:active {
        transform: scale(0.97);
        transition: transform 0.05s ease;
    }
    
    .news-ticker-item {
        font-size: 0.7rem;
        margin-right: 25px;
    }
    .news-ticker-content {
        padding: 6px 0;
    }
    
    .notification {
        right: 10px;
        /* WhatsApp vidjeti üçün yer saxlanılır */
        bottom: 84px;
        max-width: 240px;
    }
    .notification-content {
        padding: 0.4rem 0.6rem 0.4rem 0.7rem;
    }
    .notification-text p {
        font-size: 0.75rem;
    }
    .notification-link {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* ========== RESPONSİV ========== */
@media (min-width: 801px) {
    .hero h1 { font-size: 4.5rem; }
    .section-title { font-size: 2.2rem; }
    .service-card { width: 200px; }
    .contact-card { width: 180px; }
}

@media (max-width: 800px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 1.6rem; }
    
    /* Mobil menyu: tam ekran panel.
       top/height dəyərlərini JS (syncMenu) navbar-ın real alt kənarına görə
       hesablayıb yazır; buradakılar JS işləməzsə ehtiyat dəyərdir. */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        overflow-y: auto;
        background: rgba(10, 10, 18, 0.985);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.6rem;
        transition: left 0.28s ease;
        padding: 1.5rem 8%;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active { left: 0; }
    
    .nav-links a {
        display: inline-block;
        font-size: 0.95rem;
        letter-spacing: 2px;
        padding: 6px 4px;
    }
    
    /* Menyu açıqkən hamburger düyməsi "X" işarəsinə çevrilir (Font Awesome: times) */
    .menu-open .menu-toggle i::before { content: '\f00d'; }
    
    /* Menyu açıqkən zərif bildiriş paneli menyunun üstünə gəlməsin */
    .menu-open .notification { display: none; }
    
    .menu-toggle { display: block; }
    
    .stat-card { min-width: 85px; padding: 0.7rem 0.4rem; }
    .service-card { width: 150px; }
    .contact-card { width: 145px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 0.8rem; }
    .btn-primary, .btn-outline { padding: 0.55rem 1.05rem; font-size: 0.75rem; }
    .stat-number { font-size: 1.2rem; }
    .service-card { width: 140px; padding: 1rem 0.5rem; }
    .contact-card { width: 130px; padding: 0.8rem; }
    .price-amount { font-size: 0.75rem; }
    
    .privacy-modal-content, .terms-modal-content {
        padding: 1rem;
        width: 95%;
    }
    .privacy-modal-content h3, .terms-modal-content h3 {
        font-size: 1.2rem;
    }
}

/* ========== SÜRƏT OPTİMİZASİYASI ========== */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

button, a {
    touch-action: manipulation;
}

/* Scroll bar */
* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #1a1a2e;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* Ümumi */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Dil keçidi animasiyası: JS .lang-fading sinfini əlavə edir →
   köhnə mətn yumşaq sönür, yenisi dalğa (stagger) şəklində görünür */
[data-key] {
    transition: opacity 0.2s ease;
}

[data-key].lang-fading {
    opacity: 0;
}

button, a, .service-card, .stat-card, .contact-card, .price-tag {
    transition: all 0.15s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* ========================================
   ƏLÇATANLIQ (ACCESSIBILITY) ƏLAVƏLƏRİ
   ======================================== */

/* Klaviatura ilə gəzərkən görünən fokus */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Fokus stili yalnız klaviatura üçün (siçan klikində görünməsin) */
:focus:not(:focus-visible) {
    outline: none;
}

/* Modallar üçün klaviatura fokus halqası */
.privacy-modal-content:focus-visible,
.terms-modal-content:focus-visible {
    outline: 2px solid #d4af37;
}

/* Hərəkət azaldılması istəyən istifadəçilər (vestibulyar pozuntu) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .premium-bg,
    .subtle-glow,
    .gold-overlay,
    .news-ticker-content {
        animation: none !important;
    }
    /* Hərəkət söndürüldükdə lent sürüşmür → ikinci (eyni) blok gizlədilir,
       əks halda eyni mətn iki dəfə yan-yana görünür. */
    .ticker-set[aria-hidden="true"] {
        display: none !important;
    }
    .news-ticker {
        white-space: normal;
    }
    .news-ticker-content {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .ticker-set {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Yalnız ekran oxuyucusu üçün mətn */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   WHATSAPP CANLI DANIŞIQ VİDGETİ
   Xarici skript / iframe yoxdur → CSP dəyişmir, əlavə şəbəkə sorğusu yoxdur.
   Danışıq WhatsApp-ın öz tətbiqində (rəsmi kanal) davam edir.
   ======================================== */
.wa-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none; /* yalnız öz düymələri klik qəbul edir */
}
.wa-widget > * { pointer-events: auto; }

/* Üzən WhatsApp düyməsi */
.wa-fab {
    position: relative;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: waPulse 2.8s ease-out infinite;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab:active { transform: scale(0.94); }

@keyframes waPulse {
    0%   { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #14142b;
    border-radius: 10px;
    background: #d4af37;
    color: #14142b;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}
.wa-fab-badge[hidden] { display: none; }

/* Danışıq paneli — orijinal WhatsApp chatı görünüşü */
.wa-panel {
    width: min(320px, calc(100vw - 32px));
    border: 1px solid rgba(11, 20, 26, 0.12);
    border-radius: 16px;
    background: #efeae2; /* WhatsApp chat fonu */
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.96);
    transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.22, 0.9, 0.28, 1), visibility 0s linear 0.3s;
}
.wa-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 0.9, 0.28, 1), visibility 0s;
}

.wa-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #008069; /* WhatsApp başlıq rəngi */
    box-shadow: 0 1px 3px rgba(11, 20, 26, 0.18);
    position: relative;
    z-index: 1;
}
.wa-avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #008069;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-head-text { flex: 1 1 auto; min-width: 0; }
.wa-head-text strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.wa-head-text span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
}
/* Onlayn statusu: yaşıl nöqtə (əvvəl emoji ilə yazılırdı) */
.wa-head-text span.wa-status::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
    vertical-align: middle;
}
.wa-close {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
}
.wa-close:hover { background: rgba(255, 255, 255, 0.32); }

.wa-panel-body {
    padding: 14px;
    background-color: #efeae2;
    /* WhatsApp chat divarına bənzər çox zərif naxış (xarici fayl olmadan) */
    background-image:
        radial-gradient(rgba(11, 20, 26, 0.045) 1px, transparent 1px),
        radial-gradient(rgba(11, 20, 26, 0.03) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
}
.wa-bubble {
    margin: 0 0 12px;
    padding: 8px 11px 9px;
    border-radius: 8px 8px 8px 0; /* WhatsApp gələn mesaj balonu */
    background: #ffffff;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #111b21;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.wa-quick { display: flex; flex-direction: column; gap: 8px; }
.wa-quick-btn {
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #008069;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.wa-quick-btn:hover {
    background: #d9fdd3; /* WhatsApp göndərilən mesaj balonu rəngi */
    color: #008069;
    transform: translateX(3px);
}

.wa-panel-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f0f2f5; /* WhatsApp input zolağı */
}
.wa-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: #ffffff;
    color: #111b21;
    font-family: inherit;
    font-size: 0.85rem;
}
.wa-input::placeholder { color: #667781; }
.wa-input:focus { border-color: #008069; outline: none; }
.wa-send {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #008069; /* WhatsApp göndər düyməsi */
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
}
.wa-send:hover { background: #017561; transform: translateY(-2px) scale(1.04); }

/* Mobil menyu açıqkən üzən düymə menyunun üstünə gəlməsin */
.menu-open .wa-widget { display: none; }

@media (max-width: 600px) {
    .wa-widget { right: 14px; bottom: 14px; }
    .wa-fab { width: 52px; height: 52px; font-size: 1.5rem; }
    .wa-panel { width: calc(100vw - 28px); }
    .wa-panel-body { padding: 12px; }
}

/* ========================================
   QEYDİYYAT FORMU (#qeydiyyat)
   Server yoxdur → məlumat hazır mesaj kimi WhatsApp-da açılır.
   ======================================== */

/* Sticky navbar altında qalmasın deyə anchor-lara boşluq */
section[id] {
    scroll-margin-top: 90px;
}

.section-sub {
    max-width: 560px;
    margin: -0.6rem auto 1.6rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    color: #a9a9bd;
}

.booking-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.4rem;
    background: rgba(20, 20, 32, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.9rem;
}

.form-field {
    flex: 1 1 220px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0.9rem;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #b8b8cc;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.85rem;
    color: #e8e8f0;
    background: rgba(10, 10, 18, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: #6d6d82;
}

.booking-form textarea {
    resize: vertical;
    min-height: 84px;
    line-height: 1.5;
}

/* Select: brauzerin standart oxunu qızıl rəngli CSS üçbucaqla əvəz edir */
.booking-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 2.2rem;
    background-image:
        linear-gradient(45deg, transparent 50%, #d4af37 50%),
        linear-gradient(135deg, #d4af37 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.booking-form option {
    background: #14142b;
    color: #e8e8f0;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.booking-form .has-error,
.booking-form .has-error:focus {
    border-color: #e05c5c;
    box-shadow: 0 0 0 3px rgba(224, 92, 92, 0.16);
}

.form-error {
    font-size: 0.7rem;
    color: #ff8a8a;
}

.form-error[hidden] {
    display: none;
}

.booking-submit {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.8rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0c0c14;
    background: linear-gradient(135deg, #d4af37, #a17f2a);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.28);
}

.booking-submit:active {
    transform: scale(0.98);
}

.form-hint {
    margin-top: 0.7rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 300;
    line-height: 1.5;
    color: #8f8fa4;
}

/* ========================================
   TEZ-TEZ VERİLƏN SUALLAR (#faq)
   <details>/<summary> → JS olmadan işləyir.
   ======================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.faq-item {
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 0.15rem 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(26, 26, 46, 0.72);
}

.faq-item summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    padding: 0.8rem 1.7rem 0.8rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e8e8f0;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
    color: #d4af37;
}

.faq-item summary:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 3px;
    border-radius: 8px;
}

/* Sağda +/− işarəsi (JS-siz, yalnız CSS) */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    line-height: 1;
    color: #d4af37;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 0 0.9rem;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: #b6b6c8;
}

/* ========================================
   XƏRİTƏ (LAZY — kliklə yüklənir)
   ======================================== */
.map-embed {
    max-width: 720px;
    margin: 1.8rem auto 0;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.map-embed-card {
    padding: 1.6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.map-embed-card i {
    font-size: 1.6rem;
    color: #d4af37;
}

.map-embed-card p {
    max-width: 380px;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.5;
    color: #a9a9bd;
}

.map-embed-btn {
    margin-top: 0.3rem;
    padding: 0.55rem 1.3rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.map-embed-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.map-embed-btn:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* ========================================
   YENİ BÖLMƏLƏR — RESPONSİV
   ======================================== */

/* Naviqasiyada artıq 7 keçid var (v8-də «MÜƏLLİM» əlavə olundu) —
   dar ekranlarda aralıqları sıxırıq ki, menyu bir sətirdə qalsın */
@media (min-width: 801px) and (max-width: 1320px) {
    .nav-links { gap: 1.1rem; }
    .nav-links a { font-size: 0.7rem; letter-spacing: 0.4px; }
}

@media (max-width: 800px) {
    .booking-form { padding: 1.1rem; border-radius: 20px; }
    .form-field { flex: 1 1 100%; }
    .faq-item summary { font-size: 0.98rem; }
    .map-embed iframe { height: 260px; }
    .map-embed { margin-top: 1.4rem; }
}

@media (max-width: 480px) {
    .section-sub { font-size: 0.8rem; }
    .booking-form input,
    .booking-form select,
    .booking-form textarea { font-size: 0.82rem; }
    .booking-form textarea { min-height: 76px; }
    .faq-item p { font-size: 0.8rem; }
    .map-embed iframe { height: 220px; }
}

/* ========================================
   MÜƏLLİM BÖLMƏSİ (#teacher)
   Sol tərəf: foto + qısa video (≈20 saniyə).
   Video faylı ilk açılışda YÜKLƏNMİR — yalnız "oynat"
   düyməsinə (və ya bölmə ekrana gələndə) data-src-dən götürülür.
   ======================================== */

.about-teacher {
    --at-gold: #d4af37;
    --at-text: #e9e6dc;
    --at-muted: #b9b6ad;
    padding: clamp(56px, 8vw, 110px) 5%;
    background: #0c0c14;
    color: var(--at-text);
}

.about-teacher * { box-sizing: border-box; }

.at-wrap {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

/* --- video paneli ---
   Video 480×784 (portret) çəkilir → panel də TAM eyni nisbətdədir,
   yəni görüntü nə kəsilir, nə də uzanır.
   Panel qəsdən kiçildilib (bir vaxtlar 430px idi): 480px-lik mənbə böyük
   çərçivədə uzadılanda görüntü "yumşalır" — indi piksel sıxlığı qorunur
   və panel mətn sütunu ilə balanslı görünür (hündür ekranlarda da
   max-height məntiqi ilə vh-a bağlanır).
   Asimmetrik künclər + kənar keçidi sayəsində "kvadrat" görünmür. */
.at-photo {
    position: relative;
    isolation: isolate;              /* arxa işıq (::before) panelin arxasında qalsın */
    width: 100%;
    max-width: min(350px, 44vh);     /* kiçildildi + hündür ekranlarda balans */
    margin-inline: auto;
}

/* Arxada yumşaq qızılı işıq */
.at-photo::before {
    content: "";
    position: absolute;
    inset: 10% -8% -2% -8%;
    border-radius: 50%;
    background: radial-gradient(58% 58% at 50% 62%, rgba(212, 175, 55, .26), rgba(212, 175, 55, 0) 72%);
    filter: blur(30px);
    z-index: -2;
    pointer-events: none;
}

/* Qeyd: panelin ətrafında YALNIZ əsas çərçivə (aşağıdaki .at-frame kölgəsi)
   qalır. Əvvəl burada paneldən kənara çıxan ofset qızılı çərçivə (::after)
   var idi — o, xüsusilə alt və sağ kənarda əlavə xətt kimi görünüb vizual
   qarışıqlıq yaradırdı, ona görə tamamilə silindi. */

/* Video qutusu */
.at-frame {
    position: relative;
    isolation: isolate;
    aspect-ratio: 480 / 784;         /* videonun öz nisbəti → kadr kəsilmir */
    border-radius: 2px 96px 2px 96px;
    overflow: hidden;
    /* Video yüklənməmişdən əvvəl: poster kadrı (videonun öz nisbətində) + qızılı işıq */
    background:
        url("img/serxan.jpg") center / cover no-repeat,
        radial-gradient(120% 95% at 50% 0%, rgba(212, 175, 55, .2), rgba(12, 12, 20, 0) 62%),
        linear-gradient(160deg, #241f16 0%, #12111a 45%, #0c0c14 100%);
    box-shadow:
        0 34px 70px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(212, 175, 55, .3);
    transition: box-shadow .45s ease;
}

.at-frame:hover {
    box-shadow:
        0 42px 88px rgba(0, 0, 0, .62),
        0 0 0 1px rgba(212, 175, 55, .5);
}

/* Video: posterdən yumşaq keçidlə görünür.
   KEYFİYYƏT: object-fit: contain + heç bir transform/zoom yoxdur.
   Əvvəl `scale(1.06)` Ken-Burns zoom var idi — o, kadrı 6% kəsir və
   videonu daim yenidən ölçdüyü üçün görüntünü "yumşaldırdı".
   İndi video öz təbii ölçüsündə, kəsilmədən göstərilir. */
.at-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;             /* nisbət qorunur, kadr kəsilmir */
    object-position: center;
    border-radius: inherit;
    background: transparent;
    opacity: 0;
    transition: opacity .6s ease;
}

.at-frame.is-ready .at-video { opacity: 1; }

/* Qeyd: oynayarkən heç bir zoom/transform tətbiq edilmir —
   bu, video keyfiyyətinin itməməsi üçün vacibdir. */

/* Kənar keçidi: video bölmənin fonuna qarışır (kənarlar yumşaq sönür).
   Qat qəsdən yüngüldür — əvvəlki versiya videonu çox qaraldırdı. */
.at-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(to top, rgba(12, 12, 20, .8) 0%, rgba(12, 12, 20, .28) 12%, rgba(12, 12, 20, 0) 30%),
        linear-gradient(to right, rgba(12, 12, 20, .36) 0%, rgba(12, 12, 20, 0) 14%, rgba(12, 12, 20, 0) 86%, rgba(12, 12, 20, .36) 100%),
        radial-gradient(130% 100% at 50% 50%, rgba(12, 12, 20, 0) 62%, rgba(12, 12, 20, .32) 100%);
}

/* Qeyd: kadrın içindəki künc aksenti (iki qızılı xətt — üfüqi + şaquli)
   da silindi. İndi video yalnız öz əsas çərçivəsi ilə görünür. */

.at-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--at-gold);
    background: rgba(12, 12, 20, .6);
    backdrop-filter: blur(6px);
    color: var(--at-gold);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .25s ease,
                visibility 0s linear 0s, transform .2s ease;
}

.at-play:hover,
.at-play:focus-visible {
    background: var(--at-gold);
    color: #14120a;
    transform: translate(-50%, -50%) scale(1.06);
}

/* Video oynayanda mərkəzdəki play ikonu TAM yox olur.
   Əvvəl `.at-frame:hover .at-play.is-playing` qaydası onu hover zamanı
   geri gətirirdi — istifadəçi məhz buna görə "video başlasa da play
   ikonu qalır" görürdü. İndi hover-da da görünmür (klaviatura fokusu istisna). */
.at-play.is-playing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: background .2s ease, color .2s ease, opacity .25s ease,
                visibility 0s linear .25s, transform .2s ease;
}

/* Yalnız klaviatura ilə idarə edənlər üçün (Tab ilə fokus alanda) görünür */
.at-play.is-playing:focus-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Səs düyməsi — "səsi aç / səsi bağla" çağırışı
   v14: ölçü kiçildildi (padding, şrift, ikon və boşluqlar ~30% azaldıldı).
   Toxunma hədəfi 30px-dən aşağı düşməsin deyə `min-height` saxlanıldı. */
.at-sound {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 10px 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, .65);
    background: rgba(12, 12, 20, .7);
    backdrop-filter: blur(8px);
    color: #f2e8ca;
    font: inherit;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .3s ease, transform .2s ease;
}

.at-sound i { color: var(--at-gold); font-size: .7rem; transition: color .2s ease; }

.at-sound:hover,
.at-sound:focus-visible {
    background: var(--at-gold);
    color: #14120a;
    transform: translateY(-1px);
}

.at-sound:hover i,
.at-sound:focus-visible i { color: #14120a; }

/* Səs açıq olanda düymə sönür (yenə basıb bağlamaq mümkündür) */
.at-sound.is-on { opacity: .42; }
.at-sound.is-on:hover,
.at-sound.is-on:focus-visible { opacity: 1; }

/* --- səhifə yolu (ayrı səhifələr: teacher.html) ---
   FONUN SƏBƏBİ: səhifədə `.premium-bg` / `.subtle-glow` kimi fixed dekorativ
   qradiyentlər var. `.about-teacher` bölməsi düz `#0c0c14` ilə boyanır, ona görə
   breadcrumb zolağı fonusuz qalsa arxasından həmin qradiyent görünür və
   naviqasiya ilə bölmə arasında "yarımçıq kəsilmiş" tünd zolaq yaranırdı
   (ölçmə: zolaq rgb(14,13,16) ↔ bölmə rgb(12,12,20)).
   Fon TAM ENƏ yayılan `.crumb-bar` sarğısına verilir (`.breadcrumb` özü
   max-width: 1080px ilə mərkəzləndiyi üçün ona fon versək yalnız ortada
   enli ləkə alınardı). Nəticə: navbar (#0c0c14) → zolaq → bölmə kəsintisiz. */
.crumb-bar {
    background: #0c0c14;
}

.breadcrumb {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.2rem 5% 0;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b9b6ad;
}

.breadcrumb a {
    color: #b9b6ad;
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: #d4af37; }

.breadcrumb-sep { margin: 0 .5rem; color: #d4af37; opacity: .7; }

/* --- mətn tərəfi --- */
.at-body h1,
.at-body h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 6px;
    color: var(--at-gold);
}

.at-role {
    margin: 0 0 24px;
    color: var(--at-muted);
    font-size: 1rem;
    letter-spacing: .04em;
}

.at-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 16px;
    max-width: 62ch;
    font-weight: 300;
}

.at-quote {
    margin: 26px 0;
    padding-left: 20px;
    border-left: 2px solid var(--at-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.35;
    font-style: italic;
}

.at-quote cite {
    display: block;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-style: normal;
    color: var(--at-muted);
}

.at-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: .9rem;
}

.at-social li { display: flex; align-items: center; gap: 6px; }

.at-social a {
    color: var(--at-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, .45);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}

.at-social a:hover,
.at-social a:focus-visible {
    color: var(--at-gold);
    border-color: var(--at-gold);
}

.at-social i { color: var(--at-gold); font-size: .95rem; }
.at-social span { color: var(--at-muted); font-size: .85rem; }

.at-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.at-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .88rem;
    letter-spacing: .5px;
    text-decoration: none;
    border: 1px solid var(--at-gold);
    color: var(--at-gold);
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.at-btn.primary { background: var(--at-gold); color: #14120a; }

.at-btn:hover { background: rgba(212, 175, 55, .14); color: var(--at-gold); }
.at-btn.primary:hover { background: #f3e5c0; color: #14120a; }
.at-btn:active { transform: scale(.98); }

.at-btn:focus-visible,
.at-social a:focus-visible,
.at-play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .at-wrap { grid-template-columns: 1fr; }

    .at-photo {
        max-width: min(300px, 46vh);
        margin: 0 auto 34px;
    }

    .at-frame { border-radius: 2px 72px 2px 72px; }

    .at-play { width: 60px; height: 60px; font-size: 1rem; }

    .at-sound {
        right: 10px;
        bottom: 10px;
        gap: 4px;
        min-height: 27px;
        padding: 4px 8px 4px 7px;
        font-size: .58rem;
    }

    .at-sound i { font-size: .64rem; }

    .at-body p { font-size: 1rem; }
    .at-quote { font-size: 1.25rem; }
    .at-btn { padding: 12px 20px; font-size: .84rem; }
}


/* ========================================
   ELAN POPUP (kampaniya elanı)
   ----------------------------------------
   HTML/JS: announcement-popup.js  (DOM-u özü qurur)
   Məlumat: announcements.js       (mətn, tarix, CTA)
   Buradaki stillər = görünüş. `is-open` sinfi JS tərəfindən əlavə olunur.
   ======================================== */

.announce-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(212, 175, 55, 0.10) 0%, rgba(212, 175, 55, 0) 58%),
        rgba(6, 6, 12, 0.84);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.announce-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* Popup açıqkən alt qat sürüşməsin, zərif bildiriş və üzən düymə
   popup-ın üstünə gəlməsin */
body.announce-lock { overflow: hidden; }
body.announce-lock .notification,
body.announce-lock .wa-widget { display: none !important; }

/* JS `hidden` atributunu işlədir — bizim display qaydalarını üstələsin */
.announce-overlay [hidden] { display: none !important; }

.announce-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    width: 100%;
    max-width: 840px;
    max-height: min(90vh, 600px);
    background: linear-gradient(155deg, #16151f 0%, #0d0c14 58%, #141020 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px 32px 2px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: translateY(16px) scale(0.985);
    transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.4, 1.05);
}

.announce-overlay.is-open .announce-card { transform: none; }

/* --- sol panel: böyük tarix + saat --- */
.announce-poster {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 22px;
    text-align: center;
    background:
        radial-gradient(120% 80% at 22% 0%, rgba(212, 175, 55, 0.20) 0%, rgba(212, 175, 55, 0) 62%),
        linear-gradient(165deg, #1d1829 0%, #100e19 58%, #191227 100%);
    overflow: hidden;
}

/* İncə qızılı tor (mesh) — səthə dərinlik verir */
.announce-poster::before {
    content: "";
    position: absolute;
    inset: -30%;
    background-image:
        repeating-linear-gradient(115deg, rgba(212, 175, 55, 0.10) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-115deg, rgba(212, 175, 55, 0.06) 0 1px, transparent 1px 26px);
    opacity: 0.55;
    pointer-events: none;
}

/* Dekorativ halqa */
.announce-poster-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.announce-poster-ring::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 50%;
}

.announce-poster-kicker {
    position: relative;
    margin: 0 0 8px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d4af37;
}

.announce-date {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.announce-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.6rem;
    font-weight: 600;
    line-height: 0.95;
    color: #f7edd2;
}

.announce-month {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    text-indent: 0.34em;
    color: #d4af37;
}

.announce-rule {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 76%;
    margin: 14px 0 12px;
}

.announce-rule span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.announce-rule i {
    font-size: 0.5rem;
    color: #d4af37;
}

.announce-time {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #f3e5c0;
}

.announce-time i {
    font-size: 0.8rem;
    color: #d4af37;
}

.announce-time-note {
    position: relative;
    margin: 6px 0 0;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8d8a99;
}



/* --- sağ panel: mətn + düymələr --- */
.announce-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 32px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.announce-badge {
    align-self: flex-start;
    margin: 0;
    padding: 5px 12px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #14120a;
    background: linear-gradient(120deg, #d4af37, #f3e5c0);
    border-radius: 999px;
}

.announce-title {
    margin: 0;
    padding-right: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: #f7f1e2;
}

.announce-lead {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: #c8c5d2;
}

.announce-facts {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.announce-facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #ded9e8;
}

.announce-facts i {
    flex: none;
    margin-top: 4px;
    font-size: 0.68rem;
    color: #d4af37;
}

.announce-note {
    margin: 0;
    padding-left: 10px;
    border-left: 2px solid rgba(212, 175, 55, 0.35);
    font-size: 0.72rem;
    line-height: 1.55;
    color: #918e9f;
}

.announce-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.announce-cta,
.announce-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.announce-cta {
    background: linear-gradient(120deg, #d4af37, #f1e2b8);
    border: 1px solid #d4af37;
    color: #14120a;
}

.announce-cta i { font-size: 0.92rem; }

.announce-cta:hover,
.announce-cta:focus-visible {
    background: #f7edd2;
    color: #14120a;
    transform: translateY(-1px);
}

.announce-secondary {
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: transparent;
    color: #eadfbe;
}

.announce-secondary:hover,
.announce-secondary:focus-visible {
    background: rgba(212, 175, 55, 0.14);
    color: #f7edd2;
}

/* Bağlama düyməsi — kartın sağ üst küncündə */
.announce-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    font-family: inherit;
    font-size: 1.3rem;
    line-height: 1;
    color: #e6dcc0;
    background: rgba(12, 12, 20, 0.62);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.announce-close:hover,
.announce-close:focus-visible {
    background: #d4af37;
    border-color: #d4af37;
    color: #14120a;
}

/* Fokus halqası qızılı fonun üstündə aydın görünsün */
.announce-cta:focus-visible,
.announce-secondary:focus-visible,
.announce-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* --- mobil: MƏRKƏZLƏNMİŞ panel (ekranın ortasında, alt-sheet deyil) --- */
@media (max-width: 720px) {
    .announce-overlay {
        align-items: center;
        justify-content: center;
        padding: 14px;
    }

    .announce-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);   /* məzmun uzun olsa → body sürüşür */
        max-width: 460px;
        max-height: calc(100vh - 28px);
        border-radius: 2px 26px 2px 26px;
        transform: translateY(14px) scale(0.985);
    }

    /* Poster — tam mərkəzlənmiş şaquli blok: kicker → gün → ay → saat → qeyd */
    .announce-poster {
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 16px 16px 14px;
        text-align: center;
    }

    .announce-poster::before { opacity: 0.4; }

    .announce-poster-ring { width: 152px; height: 152px; }
    .announce-poster-ring::after { inset: 16px; }

    .announce-poster-kicker {
        margin: 0 0 6px;
        font-size: 0.54rem;
        letter-spacing: 0.24em;
        text-indent: 0.24em;
    }

    .announce-day { font-size: 2.5rem; line-height: 1; }
    .announce-month { margin-top: 4px; font-size: 0.6rem; letter-spacing: 0.24em; text-indent: 0.24em; }

    .announce-rule { width: 56%; margin: 9px 0 7px; }

    .announce-time { font-size: 1.15rem; }
    .announce-time i { font-size: 0.64rem; }

    .announce-time-note {
        margin: 4px 0 0;
        text-align: center;
        font-size: 0.52rem;
        letter-spacing: 0.16em;
    }

    .announce-body {
        gap: 10px;
        padding: 18px 20px 20px;
    }

    .announce-title { padding-right: 36px; font-size: 1.42rem; }
    .announce-lead { font-size: 0.84rem; line-height: 1.65; }
    .announce-facts li { font-size: 0.78rem; }
    .announce-note { font-size: 0.7rem; }

    .announce-actions { gap: 8px; }
    .announce-cta,
    .announce-secondary { flex: 1 1 100%; padding: 13px 18px; font-size: 0.76rem; }

    .announce-close { top: 8px; right: 8px; width: 32px; height: 32px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .announce-poster { padding: 14px 16px 12px; gap: 0; }
    .announce-day { font-size: 2.3rem; }
    .announce-time { font-size: 1.05rem; }

    .announce-body {
        gap: 9px;
        min-height: 0;
        padding: 16px 16px 18px;
    }

    .announce-badge { padding: 4px 10px; font-size: 0.55rem; }
    .announce-title { padding-right: 34px; font-size: 1.28rem; }
    .announce-lead { font-size: 0.8rem; }
    .announce-facts li { gap: 8px; font-size: 0.74rem; }
}

@media (max-width: 380px) {
    .announce-time-note { display: none; }
}

/* Alçaq ekran (telefon landşaft rejimi) — poster daha yığcam olsun */
@media (max-height: 520px) {
    .announce-poster { padding: 12px 16px 10px; }
    .announce-poster-ring { width: 118px; height: 118px; }
    .announce-poster-ring::after { inset: 12px; }
    .announce-day { font-size: 1.9rem; }
    .announce-month { margin-top: 2px; font-size: 0.54rem; }
    .announce-rule { display: none; }
    .announce-time-note { display: none; }
    .announce-time { font-size: 1rem; }
}

