/* ═══════════════════════════════════════════════════════════════════
   ANA SAYFA — TAM EKRAN HERO + KOMPAKT KEŞFET SATIRI  (2026-07)
   ───────────────────────────────────────────────────────────────────
   anasayfa.css'ten SONRA yüklenir: eski .hero kurallarını
   (86svh / 78svh / 74svh gibi) bilinçli olarak ezer.
   ═══════════════════════════════════════════════════════════════════ */

/* Üst nav artık hero'nun üzerinde yüzer; fotoğraf ekranı komple kaplar */
body.home-page {
    padding-top: 0;
}

body.home-page .top-nav {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Sayfa kaydırılınca nav yeniden camlaşır */
body.home-page .top-nav.is-scrolled {
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(185, 131, 80, 0.18);
    box-shadow: 0 2px 18px rgba(10, 16, 30, 0.08);
}

/* ── Hero: ilk ekranı tamamen kaplar ───────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    min-height: 100dvh;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    padding: 58px clamp(20px, 7vw, 110px) clamp(96px, 14vh, 150px);
    overflow: hidden;
    background: #f6f1e8;
}

.hero-image-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-image-layer picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

/* Metin tarafını açan sıcak beyaz perde — model sağda net kalır */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(250, 246, 239, 0.94) 0%,
        rgba(250, 246, 239, 0.80) 30%,
        rgba(250, 246, 239, 0.34) 52%,
        rgba(250, 246, 239, 0.00) 72%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    text-align: left;
    padding-right: 0;
}

/* Metin bloğu JS olmadan da görünür olsun (eski hâlinde açılış
   animasyonunu yalnızca anasayfa.js tetikliyordu). */
.hero-content-inner {
    opacity: 0;
    animation: hero-fade-up 700ms ease-out forwards;
}

.hero-title {
    font-size: clamp(44px, 5vw, 76px);
}

.hero-description {
    margin-bottom: 26px;
}

/* CTA satırı — eski ".hero-actions { display:none }" kuralına takılmaması
   için ayrı bir sınıf adı kullanılıyor */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-element-fade-up 650ms cubic-bezier(0.22, 1, 0.36, 1) 300ms forwards;
}

.hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
    background: #12293f;
    color: #fdfbf7;
    box-shadow: 0 14px 30px rgba(18, 41, 63, 0.24);
}

.hero-cta:hover,
.hero-cta:focus-visible {
    background: #1b3a58;
    color: #fff;
    box-shadow: 0 20px 38px rgba(18, 41, 63, 0.3);
}

.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 15px 24px;
    border: 1px solid rgba(18, 41, 63, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #12293f;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hero-cta-ghost:hover,
.hero-cta-ghost:focus-visible {
    background: #fff;
    border-color: rgba(18, 41, 63, 0.42);
    transform: translateY(-2px);
}

/* ── Aşağı kaydırma işareti ────────────────────────────────────── */
/* Metin sütunuyla hizalı — ortada dursaydı modelin koyu kıyafetine
   denk gelip okunmaz hâle geliyordu. */
.hero-scroll-cue {
    position: absolute;
    left: clamp(20px, 7vw, 110px);
    bottom: clamp(26px, 5vh, 46px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    border: 1px solid rgba(18, 41, 63, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-decoration: none;
    color: rgba(18, 41, 63, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    animation: hero-element-fade-up 650ms cubic-bezier(0.22, 1, 0.36, 1) 620ms forwards;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-scroll-line {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: #12293f;
    animation: hero-scroll-pulse 2.2s ease-in-out infinite;
}

/* Daire içinde aşağı ok */
.hero-scroll-line::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    margin: 5px auto 0;
    border-right: 1.5px solid #fdfbf7;
    border-bottom: 1.5px solid #fdfbf7;
    transform: rotate(45deg);
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
    background: #fff;
    color: #12293f;
}

@keyframes hero-scroll-pulse {
    0%, 100% { transform: translateY(0);   opacity: 0.85; }
    50%      { transform: translateY(3px); opacity: 1; }
}

/* ── Kompakt keşfet satırı ─────────────────────────────────────── */
.home-main {
    display: block;
}

.quick-rooms {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 6vw, 62px) 0 8px;
}

.quick-rooms-head {
    margin-bottom: 20px;
    text-align: center;
}

.quick-rooms-head h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    color: #12293f;
}

/* Görseller kendi başlıklarını taşıyan hazır banner kartları; bu yüzden
   kırpılmadan, kendi en-boy oranlarıyla gösteriliyorlar. */
.quick-rooms-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
}

/* Banner'lar kendi yuvarlatılmış kartlarını ve gölgelerini taşıyor;
   üstlerine ikinci bir kart koymuyoruz. */
.quick-room {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.quick-room:hover,
.quick-room:focus-visible {
    transform: translateY(-4px);
    filter: drop-shadow(0 16px 30px rgba(18, 41, 63, 0.16));
}

.quick-room picture {
    display: block;
    width: 100%;
    height: 100%;
}

.quick-room img {
    width: 100%;
    height: 100%;
    /* Görsellerin içindeki başlıklar kırpılmasın */
    object-fit: contain;
}

/* ── İkincil hızlı bağlantılar ─────────────────────────────────── */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin-top: clamp(18px, 2.4vw, 26px);
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid rgba(18, 41, 63, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #12293f;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-link i {
    font-size: 13px;
    color: rgba(18, 41, 63, 0.55);
}

.quick-link:hover,
.quick-link:focus-visible {
    background: #12293f;
    border-color: #12293f;
    color: #fff;
    transform: translateY(-2px);
}

.quick-link:hover i,
.quick-link:focus-visible i {
    color: #e8d3b6;
}

/* ── Tablet / mobil ────────────────────────────────────────────── */
@media (max-width: 860px) {
    .quick-rooms-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
        min-height: 100dvh;
        height: 100dvh;
        padding: 58px 22px clamp(90px, 16vh, 140px);
        align-content: end;
        justify-items: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        object-position: 62% top;
    }

    /* Mobilde metin altta durur; perde de aşağıdan açılır */
    .hero-gradient-overlay {
        background: linear-gradient(
            180deg,
            rgba(250, 246, 239, 0.20) 0%,
            rgba(250, 246, 239, 0.30) 34%,
            rgba(250, 246, 239, 0.86) 66%,
            rgba(250, 246, 239, 0.97) 100%
        );
    }

    .hero-cta-row {
        justify-content: center;
        width: 100%;
    }

    .hero-cta,
    .hero-cta-ghost {
        flex: 1 1 auto;
        min-width: 150px;
    }

    .hero-scroll-cue {
        display: none;
    }
}

@media (max-width: 620px) {
    .quick-rooms {
        width: calc(100% - 24px);
        padding-top: 32px;
    }

    .quick-room {
        border-radius: 16px;
    }

    .quick-link {
        padding: 10px 16px;
        font-size: 13.5px;
    }
}

/* ≤520px: üst navda hamburger/sepet gizli olduğu için marka + büyüteç kalır */
@media (max-width: 520px) {
    body.home-page .top-nav {
        justify-content: space-between;
        gap: 10px;
        padding: 8px 16px;
    }

    body.home-page .top-nav-brand {
        display: inline-block !important;
        flex: 0 1 auto;
        text-align: left;
        font-size: 1rem;
    }

    .hero {
        padding: 58px 18px clamp(96px, 18vh, 150px);
    }

    .hero-title {
        font-size: clamp(34px, 10vw, 46px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cta-row,
    .hero-scroll-cue {
        animation: none !important;
        opacity: 1 !important;
    }

    .hero-cta-row {
        transform: none !important;
    }

    .hero-scroll-line {
        animation: none !important;
    }
}
