/* İstanbul Beach Hotel – Xoria temasının üzerine marka ayarları
   Renkler logodan: mavi #0070e0 / koyu mavi #0a4e9b, güneş sarısı #e0a526 */
:root {
    --ib-blue: #0a4e9b;
    --ib-blue-light: #0070e0;
    --ib-sun: #e0a526;
    --ib-ink: #1d2733;
}

/* Hero */
.hero .wrapper small { color: rgba(255, 255, 255, .85); }
.hero .wrapper h1 {
    font-family: 'Cormorant', Georgia, serif;
    text-transform: none;
    font-weight: 600;
    max-width: 900px;
    margin-inline: auto;
    text-shadow: 0 2px 24px rgba(0, 20, 45, .45);
}
.hero.full-height .wrapper h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.hero.medium-height .wrapper h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.hero-logo { max-width: 360px; margin-bottom: 28px; }
@media (max-width: 767px) { .hero-logo { max-width: 220px; } }

/* Header */
.fixed_header .logo_normal img, .fixed_header .logo_sticky img { height: 64px; width: auto; }
@media (max-width: 991px) { .fixed_header .logo_normal img, .fixed_header .logo_sticky img { height: 48px; } }
.vk-link { font-weight: 700; font-size: .85rem; letter-spacing: .02em; text-decoration: none; }
#mainNav a.active { color: var(--ib-sun) !important; }
.fixed_header.sticky #mainNav a.active { color: var(--ib-blue) !important; }

/* Oda kartları */
a.box_cat_rooms .info small {
    display: block;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    letter-spacing: .05em;
    margin-bottom: 4px;
}
a.box_cat_rooms_small { height: 340px; margin-bottom: 24px; }
.box_item_info small {
    display: block;
    color: var(--ib-blue);
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

/* Oda detay */
.room_stats {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-weight: 600;
    color: var(--ib-ink);
}
.room_stats i { color: var(--ib-blue); margin-right: 6px; }
.room_features_title { font-size: 1.25rem; margin-bottom: 18px; }

/* Saat / bilgi listesi */
.hours_list { list-style: none; padding: 0; margin: 20px 0 0; }
.hours_list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
}
.hours_list li:last-child { border-bottom: 0; }
.hours_list strong { color: var(--ib-blue); text-align: right; }

/* Galeri */
.gallery_filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gallery_filters button {
    border: 1px solid #d9e1e6;
    background: #fff;
    color: var(--ib-ink);
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: .875rem;
    transition: all .2s;
}
.gallery_filters button:hover { border-color: var(--ib-blue); color: var(--ib-blue); }
.gallery_filters button.active { background: var(--ib-blue); border-color: var(--ib-blue); color: #fff; }
.gallery_grid .item-img { border-radius: 10px; overflow: hidden; }
.isotope-wrapper .gallery_grid .item-img img { width: 100%; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 575px) { .gallery_grid .item { padding-inline: 6px; margin-bottom: 12px !important; } }

/* İletişim */
.map_wrap { overflow: hidden; border-radius: 10px; }
.map_wrap iframe { display: block; }

/* Yasal metinler */
.legal_text h2 { color: var(--ib-blue); margin-bottom: 24px; }
.legal_text h4 { margin-top: 28px; font-size: 1.125rem; }

/* Footer – ilk tasarımın (fotoğraflı bant + sütunlar) sade hali; sabit, açılma efekti yok */
footer.site_footer { background: #0a2747; color: rgba(255, 255, 255, .7); font-size: .9375rem; z-index: 1; }
footer.site_footer .footer_bg { padding-top: 240px; }
footer.site_footer .footer_bg .background-image { opacity: .35; filter: grayscale(35%); }
footer.site_footer .footer_bg .gradient_over { background: linear-gradient(to bottom, rgba(10, 39, 71, .2), #0a2747); }
footer.site_footer .move_content { margin-top: -110px; padding-bottom: 72px; }
.site_footer a { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s; }
.site_footer a:hover { color: #fff; }
.site_footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ib-sun);
    margin-bottom: 18px;
}
.footer_logo img { width: 200px; height: auto; }
.footer_contact { font-style: normal; line-height: 1.9; margin-bottom: 22px; }
.footer_social { display: flex; align-items: center; gap: 20px; }
.footer_social a { font-size: 1.05rem; line-height: 1; display: inline-flex; }
.footer_social .vk-link { font-size: .8125rem; }
.footer_nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 40px; }
.site_footer .footer_nav a {
    font-family: 'Cormorant', Georgia, serif;
    font-size: 1.1875rem;
    font-weight: 500;
    color: #fff;
}
.site_footer .footer_nav a:hover { color: var(--ib-sun); }
.footer_docs { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 30px; }
.footer_docs h5 { margin-bottom: 14px; }
.footer_docs nav { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.site_footer .footer_docs a { font-size: .875rem; display: inline-flex; align-items: center; gap: 8px; }
.footer_docs .bi { color: var(--ib-sun); }
footer.site_footer .copy { background: transparent; text-align: left; padding: 0; }
.footer_bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    padding-bottom: 22px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
}
.site_footer .footer_bottom a { color: rgba(255, 255, 255, .5); }
.site_footer .footer_bottom a:hover { color: #fff; }
.footer_legal a + a { margin-left: 20px; }

@media (max-width: 991px) {
    footer.site_footer .move_content { padding-bottom: 40px; }
    .footer_logo { margin-bottom: 36px; }
    .site_footer .col-md-6 { margin-bottom: 32px; }
}
@media (max-width: 767px) {
    footer.site_footer .footer_bg { height: auto; padding-top: 160px; }
    footer.site_footer .move_content { margin-top: -70px; }
    .footer_logo img { width: 170px; }
    .footer_bottom { justify-content: center; text-align: center; }
}

/* Mobil menü paneli logosu */
.main-menu .logo_panel img { max-width: 180px; height: auto; }

/* 404 */
.error_hero .error_code {
    font-family: 'Cormorant', Georgia, serif;
    font-size: clamp(6rem, 18vw, 13rem);
    font-weight: 700;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .85);
    margin-bottom: 12px;
}
.error_hero .error_text {
    color: rgba(255, 255, 255, .9);
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 1.0625rem;
}
.error_hero .btn_1.outline.white { color: #fff; border-color: #fff; }
.error_hero .btn_1.outline.white:hover { background: #fff; color: var(--ib-blue); }
@media (max-width: 575px) {
    .error_hero .btn_1 { display: inline-block; margin: 6px 4px !important; }
}
.error_hero { height: auto; min-height: 100vh; }
.error_hero .wrapper { padding: 150px 0 80px; }
.is-transitioned .error_actions { transition-delay: 1.1s; }

/* Cormorant için başlık aralığı (şablondaki -0.03em bu fontta sıkışık duruyor) */
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.01em; }

/* Ana sayfa hero carousel – yumuşak geçişli (crossfade) + yavaş yakınlaşma */
.hero_carousel { position: relative; overflow: hidden; background: #0a2747; }
.hero_slides, .hero_slide { position: absolute; inset: 0; }
.hero_slide { opacity: 0; transition: opacity 1.4s ease; }
.hero_slide.active { opacity: 1; z-index: 1; }
.hero_slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero_slide.active img { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero_carousel .wrapper { z-index: 2; }
.hero_controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    z-index: 3;
}
.hero_controls button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .8); }
.hero_prev, .hero_next { font-size: 1.25rem; line-height: 1; transition: color .2s; }
.hero_prev:hover, .hero_next:hover { color: #fff; }
.hero_dots { display: flex; gap: 10px; }
.hero_dots button {
    width: 26px;
    height: 2px;
    background: rgba(255, 255, 255, .4) !important;
    transition: background .3s, width .3s;
}
.hero_dots button.active { width: 44px; background: #fff !important; }
@media (max-width: 767px) { .hero_controls { bottom: 90px; } }
@media (prefers-reduced-motion: reduce) {
    .hero_slide { transition: none; }
    .hero_slide.active img { animation: none; }
}

/* ---------- Navbar ---------- */
/* 1) Fotoğraf üzerinde okunurluk: header arkasında yukarıdan aşağı koyu geçiş */
header.fixed_header { padding-top: 14px; padding-bottom: 14px; transition: background-color .3s, padding .3s; }
header.fixed_header::before {
    content: "";
    position: absolute;
    inset: 0 0 -70px 0;
    background: linear-gradient(to bottom, rgba(0, 18, 40, .55), rgba(0, 18, 40, 0));
    pointer-events: none;
    z-index: -1;
    transition: opacity .3s;
}
header.fixed_header.sticky { padding-top: 8px; padding-bottom: 8px; }
header.fixed_header.sticky::before { opacity: 0; }
header.fixed_header nav ul li a { text-shadow: 0 1px 8px rgba(0, 18, 40, .35); }
header.fixed_header.sticky nav ul li a, header.fixed_header nav ul li a.btn_1 { text-shadow: none; }

/* Logo biraz daha büyük */
.fixed_header .logo_normal img, .fixed_header .logo_sticky img { height: 72px; }
.fixed_header.sticky .logo_sticky img { height: 60px; }
@media (max-width: 991px) {
    .fixed_header .logo_normal img, .fixed_header .logo_sticky img { height: 52px; }
    .fixed_header.sticky .logo_sticky img { height: 46px; }
}

/* 2) Rezervasyon butonu: lacivert (butonlarda sarı kullanılmıyor) */
@media (min-width: 992px) {
    header.fixed_header nav ul li a.btn_1 { background: var(--ib-blue); color: #fff; }
    header.fixed_header nav ul li a.btn_1:hover { background: #fff; color: var(--ib-blue) !important; }
    header.fixed_header.sticky nav ul li a.btn_1:hover { background: var(--ib-ink); color: #fff !important; }
}

/* 3) Telefon, butonun yanında */
header nav ul li.nav_phone { margin-left: 34px; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .3); }
header.fixed_header.sticky nav ul li.nav_phone { border-left-color: #d9e1e6; }
header nav ul li.nav_phone a { font-weight: 500; white-space: nowrap; }
header nav ul li.nav_phone i { font-size: .9em; margin-right: 4px; }
header nav ul li.nav_cta { margin-left: 18px; }
/* Menü tek satıra sığsın (8 öğe + dil + buton) */
@media (min-width: 992px) and (max-width: 1699px) {
    header nav ul li.nav_phone { display: none; }
}
@media (min-width: 992px) and (max-width: 1599px) {
    header nav ul li { margin-left: 18px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
    header nav ul li { margin-left: 10px; font-size: .78rem; }
    header nav ul li.nav_cta { margin-left: 12px; }
    header.fixed_header nav ul li a.btn_1 { padding: 10px 16px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .fixed_header .logo_normal img, .fixed_header .logo_sticky img { height: 44px; }
    header nav ul li { margin-left: 8px; font-size: .6875rem; }
    header nav ul li.nav_cta { margin-left: 8px; }
    header.fixed_header nav ul li a.btn_1 { padding: 8px 12px; }
}

/* 6) Mobil menü */
.menu_contact { display: none; }
@media (max-width: 991px) {
    .main-menu { display: flex; flex-direction: column; }
    .main-menu #mainNav { padding: 24px 30px 10px; }
    /* Masaüstü menüyle aynı yazı tipi: Montserrat 600, büyük harf yok */
    .main-menu #mainNav ul li a {
        text-shadow: none;
        font-family: 'Montserrat', Helvetica, sans-serif;
        text-transform: none;
        font-size: 1.0625rem;
        font-weight: 600;
        letter-spacing: 0;
        padding: .45rem 0 !important;
        margin: 0 0 4px;
    }
    /* Hizmetler alt linkleri: üst menüyle aynı boyut ve kalınlık
       (style.css'teki .submenu_version kuralını geçmek için aynı seçici) */
    .submenu_version .main-menu #mainNav ul li ul li a {
        font-size: 1.0625rem;
        font-weight: 600;
        padding-left: 14px !important;
    }
    .main-menu #mainNav ul li.nav_phone { display: none; }
    .main-menu #mainNav ul li.nav_cta { margin-top: 18px; }
    .main-menu #mainNav ul li a.btn_1 {
        font-family: 'Montserrat', sans-serif;
        font-size: .9375rem;
        text-align: center;
        background-color: var(--ib-blue) !important;
        color: #fff !important;
        padding: 14px 20px !important;
        border-radius: 30px;
    }
    .menu_contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding: 24px 30px 30px;
        border-top: 1px solid #ededed;
        font-size: .9375rem;
    }
    .menu_contact a { color: var(--ib-ink); text-decoration: none; }
    .menu_contact a:hover { color: var(--ib-blue); }
    .menu_contact i { color: var(--ib-blue); width: 22px; display: inline-block; }
    .menu_contact .bi-whatsapp { color: #25d366; }
    .menu_social { display: flex; align-items: center; gap: 20px; margin-top: 6px; font-size: 1.2rem; }
    .menu_social .vk-link { font-size: .85rem; }
}

/* Butonlarda sarı yok: sohbet balonu ve çerez bildirimi lacivert */
#main-button { color: var(--ib-blue); }
#main-button ~ button { background: var(--ib-blue); }
.cookie-buttons .btn_accept { background-color: var(--ib-blue); }
.cookie-buttons .btn_accept:hover { background-color: var(--ib-ink); }
.cookie-buttons .btn_learn { color: var(--ib-blue); }

/* Hero carousel: dikey kaydırma tarayıcıda, yatay kaydırma carousel'de */
.hero_carousel { touch-action: pan-y; }
.hero_carousel.dragging .hero_slide { transition: none; }

/* Keşfet / Tüm Odaları Gör okları */
.btn_arrow { display: inline-block; margin-left: 8px; font-size: .95em; line-height: 1; transition: transform .25s ease; }
a:hover > .btn_arrow, a:hover .info span .btn_arrow, a.box_cat_rooms:hover .btn_arrow { transform: translateX(4px); }

/* Dil seçici */
header nav ul li.nav_lang { margin-left: 26px; }
header nav ul li.nav_lang > a { white-space: nowrap; }
header nav ul li.nav_lang ul { min-width: 150px; }
header nav ul li.nav_lang ul a.active { font-weight: 600; }
.menu_lang { display: none; }
@media (min-width: 992px) and (max-width: 1199px) {
    header nav ul li.nav_lang { margin-left: 14px; }
}
@media (max-width: 991px) {
    .main-menu #mainNav ul li.nav_lang { display: none; }
    .menu_lang { display: flex; gap: 8px; margin-bottom: 6px; }
    .menu_lang a {
        min-width: 44px; min-height: 36px; padding: 6px 10px;
        display: inline-flex; align-items: center; justify-content: center;
        border: 1px solid #d9e1e6; border-radius: 20px;
        font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
    }
    .menu_lang a.active { background: var(--ib-blue); border-color: var(--ib-blue); color: #fff; }
    .menu_lang a.active:hover { color: #fff; }
}

/* Dil seçici bayrakları */
.lang_flag {
    width: 21px; height: 14px; object-fit: cover;
    border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    margin-right: 7px; vertical-align: -2px; flex-shrink: 0;
}
.menu_lang .lang_flag { margin-right: 6px; }

/* Telefon: hamburger menüyü sağ kenardan biraz içeri al (12px -> 20px) */
@media (max-width: 767px) {
    header .hamburger_2 { margin-right: 8px; }
}

/* Ana sayfa "Hakkımızda": fotoğraflar dikey (4:5) kırpılır.
   object-position: fotoğrafın odak noktası (havuz+bina %60, giriş tabelası %44) */
.about_portrait > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 60% 50%;
}
.about_portrait .img_over img {
    width: 46%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 44% 50%;
}
@media (max-width: 991px) {
    .about_portrait { max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* Hero "aşağı kaydır" fare ikonu: alttan biraz yukarı (30px -> 70px) */
.hero .mouse_wp { bottom: 70px; }
@media (max-width: 767px) { .hero .mouse_wp { bottom: 50px; } }

