/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Logo boyutları */
header .logo_normal img,
header .logo_sticky img {
    width: 180px !important;
    height: 50px !important;
    object-fit: contain;
}

/* Alt sayfalar için hero_single düzeltmesi */
.hero_single {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero_single .wrapper {
    padding-top: 120px; /* Header yüksekliği için */
}

/* Alt sayfalarda header başlangıçta sticky */
.subpage header.reveal_header {
    background-color: #fff;
    border-bottom: 1px solid #ededed;
}

.subpage header.reveal_header .logo_normal {
    display: none;
}

.subpage header.reveal_header .logo_sticky {
    display: block;
}

.subpage header.reveal_header nav ul li a {
    color: #333;
}

.subpage header.reveal_header nav ul li a.btn_1 {
    color: #fff;
}

.subpage header.reveal_header .hamburger__inner,
.subpage header.reveal_header .hamburger__inner::before,
.subpage header.reveal_header .hamburger__inner::after {
    background-color: #333;
}

/* Hero section içindeki beyaz yazılar için */
.hero_single .main_info h1,
.hero_single .main_info small {
    color: #fff;
}

/* Box cat rooms düzeltmesi */
.box_cat_rooms figure {
    min-height: 300px;
}

.box_cat_rooms figure .background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

/* Language Switcher Styles */
.lang-switcher {
    position: relative;
}

.lang-switcher > a {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-switcher > a:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-switcher .dropdown-menu {
    min-width: 160px;
    padding: 8px 0;
    background: #fff !important;
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.lang-switcher .dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: #333 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-switcher .dropdown-item:hover {
    background: #f8f9fa;
    color: var(--color-1) !important;
}

.lang-switcher .dropdown-item .lang-flag {
    width: 24px !important;
    height: 16px !important;
    min-width: 24px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
}

/* Hero slider üzerinde dil seçici - beyaz görünüm (scroll öncesi) */
header.reveal_header.headroom--top .lang-switcher > a,
header.reveal_header:not(.headroom--not-top) .lang-switcher > a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

header.reveal_header.headroom--top .lang-switcher > a:hover,
header.reveal_header:not(.headroom--not-top) .lang-switcher > a:hover {
    background: rgba(255, 255, 255, 0.35) !important;
}

/* Scroll sonrası veya subpage'de koyu renk */
header.reveal_header.headroom--not-top .lang-switcher > a {
    color: #333 !important;
    background: rgba(0, 0, 0, 0.08) !important;
}

header.reveal_header.headroom--not-top .lang-switcher > a:hover {
    background: rgba(0, 0, 0, 0.12) !important;
}

/* Hero booking form - arama butonu görünürlük */
.booking_form .btn_search,
.booking_form input.btn_search,
.booking_form input[type="button"].btn_search {
    background: #978667 !important;
    color: #fff !important;
    border: none !important;
    min-width: 100px;
    height: 50px;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.booking_form .btn_search:hover,
.booking_form input.btn_search:hover {
    background: #4b514d !important;
}

/* Hero form input görünürlük */
.home-search .booking_form input.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #333;
}

.home-search .booking_form input.form-control::placeholder {
    color: #666;
}

/* ============================================
   Mobil Hero Slider - Booking Form Düzeltmesi
   Yetişkin/Çocuk label'ları Giriş/Çıkış ile aynı renk
   ============================================ */
@media (max-width: 991px) {
    /* Mobilde qty-buttons label'ları koyu gri olsun */
    .booking_form .qty-buttons label {
        color: #6c757d !important;
    }

    .qty-buttons label {
        color: #6c757d !important;
    }
}

/* ============================================
   TinyMCE Content Styles (Frontend)
   ============================================ */
.content_page {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.content_page h1,
.content_page h2,
.content_page h3,
.content_page h4,
.content_page h5,
.content_page h6 {
    color: #333;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.4;
}

.content_page h1 { font-size: 2em; }
.content_page h2 { font-size: 1.6em; }
.content_page h3 { font-size: 1.4em; }
.content_page h4 { font-size: 1.2em; }
.content_page h5 { font-size: 1.1em; }
.content_page h6 { font-size: 1em; }

.content_page p {
    margin-bottom: 1em;
}

.content_page p.lead,
.content_page .lead {
    font-size: 1.2em;
    font-weight: 400;
    color: #444;
}

.content_page ul,
.content_page ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.content_page li {
    margin-bottom: 0.5em;
}

.content_page blockquote {
    border-left: 4px solid #978667;
    padding-left: 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    color: #666;
}

.content_page a {
    color: #978667;
    text-decoration: underline;
}

.content_page a:hover {
    color: #333;
}

.content_page img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

.content_page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.content_page table th,
.content_page table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.content_page table th {
    background: #f8f9fa;
    font-weight: 600;
}

.content_page hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

/* Intro section içindeki content_page */
.intro .content_page h1:first-child,
.intro .content_page h2:first-child,
.intro .content_page h3:first-child {
    margin-top: 0;
}

/* Hero text-center override - alt sayfalar için */
.hero .wrapper.text-center {
    text-align: center !important;
}

/* WhatsApp Widget - sağda, to-top butonunun üstünde */
.whatsapp-widget {
    position: fixed;
    bottom: 90px; /* progress-wrap (46px) + 30px bottom + 14px gap */
    right: 30px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-widget:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 991px) {
    /* Mobilde to-top gizli, whatsapp tek başına */
    .whatsapp-widget {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* ============================================
   Mobil Nav Panel - Dil Seçici
   ============================================ */
.lang-switcher-mobile {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.lang-switcher-mobile .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-switcher-mobile .lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lang-switcher-mobile .lang-btn.active {
    background: #978667;
    color: #fff;
}
