/* Astoria Hotel Theme — Main Stylesheet
   Version 1.0.0
   ══════════════════════════════════════════ */

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

:root {
    --ast-gold: #c5a059;
    --ast-gold-light: rgba(197,160,89,.14);
    --ast-gold-glow: rgba(197,160,89,.22);
    --ast-black: #0a0b0d;
    --ast-dark: #0f1115;
    --ast-text: #111318;
    --ast-body: #374151;
    --ast-muted: #6b7280;
    --ast-border: rgba(0,0,0,.06);
    --ast-bg: #ffffff;
    --ast-bg-soft: #fbfbfb;
    --ast-container: min(1200px, calc(100% - 32px));
    --ast-radius: 18px;
    --ast-radius-lg: 22px;
    --ast-shadow: 0 20px 60px rgba(0,0,0,.12);
    --ast-shadow-sm: 0 8px 24px rgba(0,0,0,.06);
    --ast-font: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ast-font-display: 'Playfair Display', Georgia, serif;
    --ast-ease: cubic-bezier(.4, 0, .2, 1);
    --ast-duration: .25s;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ast-font); color: var(--ast-text); background: var(--ast-bg); line-height: 1.6; font-size: 15px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.ast-container { width: var(--ast-container); margin: 0 auto; }

/* ── Buttons ── */
.ast-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ast-border); background: var(--ast-bg); color: var(--ast-text); text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .02em; transition: all var(--ast-duration) var(--ast-ease); white-space: nowrap; gap: 8px; cursor: pointer; font-family: var(--ast-font); }
.ast-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ast-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.ast-btn--primary { background: var(--ast-dark); color: #fff; border-color: transparent; }
.ast-btn--primary:hover { background: var(--ast-gold); color: var(--ast-text); }
.ast-btn--soft { background: linear-gradient(180deg, #fff, #fafafa); }
.ast-btn--gold { background: var(--ast-gold); color: var(--ast-text); border-color: transparent; font-weight: 900; }
.ast-btn--gold:hover { background: var(--ast-dark); color: #fff; }

/* ── Cards / Sections ── */
.ast-card { border: 1px solid var(--ast-border); border-radius: var(--ast-radius-lg); box-shadow: var(--ast-shadow); overflow: hidden; background: var(--ast-bg); }
.ast-box { border: 1px solid var(--ast-border); border-radius: var(--ast-radius); background: var(--ast-bg); box-shadow: var(--ast-shadow); padding: 20px; }
.ast-section { padding: 56px 0; scroll-margin-top: 90px; }
.ast-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ast-h2 { margin: 0; font-family: var(--ast-font-display); font-size: 32px; font-weight: 800; letter-spacing: -.4px; line-height: 1.15; }
.ast-p { margin: 0; color: var(--ast-muted); line-height: 1.55; font-size: 15px; max-width: 820px; }

/* ── Header ── */
.ast-header { position: sticky; top: 0; z-index: 9999; background: rgba(255,255,255,.84); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); border-bottom: 1px solid var(--ast-border); transition: box-shadow var(--ast-duration); }
.ast-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.ast-header__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.ast-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ast-logo img { height: 46px; width: auto; object-fit: contain; }
.ast-nav { display: flex; gap: 24px; align-items: center; }
.ast-nav a { color: var(--ast-text); text-decoration: none; font-weight: 700; font-size: 13px; opacity: .8; transition: opacity var(--ast-duration), color var(--ast-duration); position: relative; }
.ast-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--ast-gold); transition: width var(--ast-duration) var(--ast-ease); }
.ast-nav a:hover { opacity: 1; }
.ast-nav a:hover::after { width: 100%; }
.ast-actions { display: flex; gap: 10px; align-items: center; }
.ast-hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.ast-hamburger span { display: block; width: 22px; height: 2px; background: var(--ast-text); margin: 5px 0; transition: all .3s; border-radius: 2px; }

/* ── Hero ── */
.ast-hero { background: radial-gradient(1200px 600px at 20% 10%, rgba(197,160,89,.18), transparent 55%), radial-gradient(900px 600px at 85% 30%, rgba(0,0,0,.06), transparent 60%), linear-gradient(180deg, #fff 0%, var(--ast-bg-soft) 60%, #fff 100%); padding: 40px 0 28px; }
.ast-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: stretch; }
.ast-hero__media { position: relative; height: 340px; border-radius: var(--ast-radius-lg) var(--ast-radius-lg) 0 0; overflow: hidden; background-size: cover; background-position: center; }
.ast-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22)), radial-gradient(700px 360px at 30% 20%, rgba(197,160,89,.18), transparent 65%); }
.ast-hero__badge { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.ast-hero__badge img { height: 24px; width: auto; opacity: .95; }
.ast-hero__content { padding: 24px 24px 20px; }
.ast-hero__title { margin: 0; font-family: var(--ast-font-display); font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.6px; }
.ast-hero__subtitle { margin: 12px 0 0; font-size: 15px; color: var(--ast-muted); line-height: 1.55; }
.ast-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ast-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ast-body); background: linear-gradient(180deg, #fff, #fafafa); border: 1px solid var(--ast-border); padding: 12px 14px; border-radius: 14px; }
.ast-hero__right { display: flex; flex-direction: column; gap: 16px; }

/* ── Benefits ── */
.ast-benefits { background: radial-gradient(720px 260px at 15% 10%, rgba(197,160,89,.22), transparent 62%), linear-gradient(180deg, #fff, var(--ast-bg-soft)); }
.ast-benefits__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ast-benefits__title { margin: 0; font-family: var(--ast-font-display); font-size: 20px; font-weight: 800; }
.ast-benefits__desc { margin: 6px 0 0; font-size: 13px; color: var(--ast-muted); line-height: 1.45; }
.ast-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(15,17,21,.92); color: #fff; font-weight: 900; font-size: 12px; white-space: nowrap; }
.ast-chip svg { width: 16px; height: 16px; opacity: .95; }
.ast-benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ast-benefit { border: 1px solid var(--ast-border); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.92); display: flex; gap: 12px; align-items: flex-start; transition: transform var(--ast-duration), box-shadow var(--ast-duration); }
.ast-benefit:hover { transform: translateY(-1px); box-shadow: var(--ast-shadow-sm); }
.ast-benefit__ico { width: 38px; height: 38px; border-radius: 12px; background: var(--ast-gold-light); border: 1px solid var(--ast-gold-glow); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ast-benefit__ico svg { width: 18px; height: 18px; }
.ast-benefit strong { display: block; font-size: 13px; font-weight: 900; }
.ast-benefit span { display: block; margin-top: 3px; font-size: 12px; color: var(--ast-muted); line-height: 1.35; }

/* ── Booking ── */
.ast-booking-wrap { border-radius: var(--ast-radius-lg); border: 1px solid var(--ast-border); background: linear-gradient(180deg, #fff, var(--ast-bg-soft)); box-shadow: var(--ast-shadow); overflow: hidden; }
.ast-booking-inner { padding: 20px; }

/* ── Rooms ── */
.ast-rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ast-room { border: 1px solid var(--ast-border); border-radius: var(--ast-radius); overflow: hidden; background: var(--ast-bg); box-shadow: var(--ast-shadow); transition: transform var(--ast-duration), box-shadow var(--ast-duration); }
.ast-room:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(0,0,0,.12); }
.ast-room__img { height: 260px; background-size: cover; background-position: center; position: relative; cursor: zoom-in; }
.ast-room__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.40)); }
.ast-room__tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(255,255,255,.94); border: 1px solid var(--ast-border); border-radius: 999px; padding: 8px 14px; font-weight: 900; font-size: 12px; }
.ast-room__body { padding: 18px; }
.ast-room__body h3 { margin: 0 0 10px; font-family: var(--ast-font-display); font-size: 20px; font-weight: 800; }
.ast-room__body p { margin: 0; color: var(--ast-muted); font-size: 13px; line-height: 1.65; }
.ast-room__actions { padding: 14px 18px 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Gallery ── */
.ast-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.ast-g { border-radius: 16px; overflow: hidden; min-height: 200px; border: 1px solid var(--ast-border); background-size: cover; background-position: center; box-shadow: 0 18px 50px rgba(0,0,0,.10); cursor: zoom-in; transition: transform var(--ast-duration); position: relative; }
.ast-g::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.15)); opacity: 0; transition: opacity var(--ast-duration); }
.ast-g:hover { transform: scale(1.01); }
.ast-g:hover::after { opacity: 1; }
.ast-g--1 { grid-column: span 7; min-height: 280px; }
.ast-g--2 { grid-column: span 5; min-height: 280px; }
.ast-g--3, .ast-g--4, .ast-g--5 { grid-column: span 4; }

/* ── 3D Tour ── */
.ast-iframe-wrap { border-radius: var(--ast-radius); overflow: hidden; border: 1px solid rgba(0,0,0,.08); box-shadow: var(--ast-shadow); background: #000; }
.ast-iframe-wrap iframe { width: 100%; height: 480px; display: block; border: 0; }

/* ── Contacts ── */
.ast-contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ast-map-wrap { border-radius: 16px; border: 1px solid var(--ast-border); overflow: hidden; background: #f3f4f6; min-height: 240px; box-shadow: 0 18px 50px rgba(0,0,0,.10); }
.ast-map-wrap iframe { width: 100%; height: 100%; min-height: 240px; display: block; border: 0; }

/* ── Footer ── */
.ast-footer { position: relative; padding: 60px 0 44px; background: radial-gradient(1000px 520px at 20% 30%, rgba(197,160,89,.18), transparent 55%), radial-gradient(900px 520px at 80% 30%, rgba(255,255,255,.06), transparent 60%), linear-gradient(180deg, #0a0b0d, #050607); color: #fff; overflow: hidden; }
.ast-footer::before { content: ''; position: absolute; inset: -40px; background: radial-gradient(1200px 500px at 50% 80%, rgba(0,0,0,.55), transparent 60%); pointer-events: none; }
.ast-footer .ast-container { position: relative; z-index: 2; }
.ast-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; }
.ast-footer__left { font-weight: 800; line-height: 1.7; font-size: 15px; }
.ast-footer__left span { display: block; font-weight: 700; opacity: .85; }
.ast-footer__center { text-align: center; }
.ast-footer__logo { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ast-footer__logo img { height: 56px; width: auto; object-fit: contain; opacity: .95; }
.ast-footer__copy { font-size: 14px; opacity: .8; font-weight: 600; }
.ast-footer__right { display: flex; justify-content: flex-end; gap: 14px; }
.ast-social-btn { width: 52px; height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); transition: all var(--ast-duration) var(--ast-ease); text-decoration: none; }
.ast-social-btn svg { width: 22px; height: 22px; fill: #fff; }
.ast-social-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); box-shadow: 0 16px 60px rgba(0,0,0,.35); }

/* ── Lightbox ── */
.ast-lb { position: fixed; inset: 0; display: none; z-index: 1000000; background: rgba(10,10,12,.72); backdrop-filter: blur(14px); }
.ast-lb.is-open { display: flex; align-items: center; justify-content: center; animation: astFadeIn .3s var(--ast-ease); }
@keyframes astFadeIn { from { opacity: 0; } }
.ast-lb__dialog { width: min(1100px, calc(100% - 24px)); height: min(86vh, 760px); position: relative; border-radius: var(--ast-radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 120px rgba(0,0,0,.45); background: rgba(18,18,20,.55); }
.ast-lb__img { width: 100%; height: 100%; object-fit: contain; }
.ast-lb__top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); }
.ast-lb__caption { color: #fff; font-weight: 900; font-size: 13px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-lb__close { height: 38px; width: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.35); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background var(--ast-duration); }
.ast-lb__close:hover { background: rgba(0,0,0,.55); }
.ast-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); height: 48px; width: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.28); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; transition: background var(--ast-duration); }
.ast-lb__nav:hover { background: rgba(0,0,0,.52); }
.ast-lb__prev { left: 14px; }
.ast-lb__next { right: 14px; }
.ast-lb__nav svg, .ast-lb__close svg { width: 18px; height: 18px; }

/* ── Language switcher ── */
.ast-lang-switcher { display: flex; gap: 2px; background: rgba(0,0,0,.04); border-radius: 10px; padding: 3px; }
.ast-lang-switcher a { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; text-decoration: none; color: var(--ast-muted); transition: all var(--ast-duration); }
.ast-lang-switcher a.is-active, .ast-lang-switcher a:hover { background: var(--ast-bg); color: var(--ast-text); box-shadow: var(--ast-shadow-sm); }

/* ── Scroll animations ── */
.ast-fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ast-ease), transform .7s var(--ast-ease); }
.ast-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ── Page content ── */
.ast-page-content h2 { font-family: var(--ast-font-display); margin: 28px 0 12px; font-size: 24px; }
.ast-page-content h3 { margin: 22px 0 10px; font-weight: 800; }
.ast-page-content p { margin-bottom: 14px; color: var(--ast-body); }
.ast-page-content ul, .ast-page-content ol { margin: 0 0 14px 24px; color: var(--ast-body); }
.ast-page-content img { border-radius: var(--ast-radius); margin: 16px 0; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 980px) {
    .ast-hero__grid { grid-template-columns: 1fr; }
    .ast-hero__media { height: 280px; }
    .ast-hero__title { font-size: 30px; }
    .ast-h2 { font-size: 26px; }
    .ast-nav { display: none; }
    .ast-hamburger { display: block; }
    .ast-header__row { padding: 10px 0; }
    .ast-actions .ast-btn { height: 40px; padding: 0 12px; font-size: 12px; }
    .ast-logo img { height: 40px; }
    .ast-cta-row .ast-btn { width: 100%; justify-content: center; }
    .ast-box { padding: 16px; }
    .ast-section { padding: 36px 0; }
    .ast-booking-inner { padding: 14px; }
    .ast-benefits__grid { grid-template-columns: 1fr; }
    .ast-rooms-grid { grid-template-columns: 1fr; }
    .ast-room__img { height: 240px; }
    .ast-gallery { grid-template-columns: 1fr; }
    .ast-g { grid-column: 1 / -1 !important; min-height: 210px; }
    .ast-g--1, .ast-g--2 { min-height: 240px; }
    .ast-contacts-grid { grid-template-columns: 1fr; }
    .ast-iframe-wrap iframe { height: 520px; }
    .ast-footer { padding: 44px 0 34px; }
    .ast-footer__grid { grid-template-columns: 1fr; text-align: center; }
    .ast-footer__right { justify-content: center; }

    .ast-nav.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; top: 60px; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); padding: 30px; gap: 20px; z-index: 9998; animation: astSlideDown .3s var(--ast-ease); }
    @keyframes astSlideDown { from { opacity: 0; transform: translateY(-10px); } }
    .ast-nav.is-open a { font-size: 18px; font-weight: 900; opacity: 1; }
}

@media (max-width: 560px) {
    .ast-hero__content { padding: 18px; }
    .ast-hero__title { font-size: 26px; }
    .ast-room__body { padding: 14px; }
    .ast-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
}


