/**
 * mobile-fix.css — Giranotel Mobil Uyumluluk Düzeltmeleri
 * Eski Bootstrap 2.x tabanlı tema için responsive geliştirmeler
 * PHP 7+ / XAMPP uyumlu
 */

/* ================================================
   GENEL MOBİL DÜZELTMELER
================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   ÜSTTE BAR (TOP-HEADER)
================================================ */

@media (max-width: 767px) {
    #top-header {
        display: none; /* Telefonda yer kaplar, gizle */
    }
}

/* ================================================
   ANA HEADER & LOGO
================================================ */

#main-header {
    position: relative;
    z-index: 999;
}

#main-header .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 15px;
}

#top-logo img {
    max-height: 60px;
    width: auto;
    max-width: 180px;
}

@media (max-width: 767px) {
    #top-logo img {
        max-height: 50px;
        max-width: 140px;
    }

    #main-header .inner-container {
        padding: 8px 10px;
    }

    #main-header .left-sec,
    #main-header .right-sec {
        float: none;
        width: auto;
    }
}

/* ================================================
   HAMBURGER MENÜ
================================================ */

#main-menu-handle {
    display: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 22px;
    color: #fff;
    border-radius: 4px;
    transition: background 0.2s;
}

#main-menu-handle:hover {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 991px) {
    #main-menu-handle {
        display: block !important;
    }

    #main-menu {
        display: none;
    }

    #mobile-menu-container {
        display: block !important;
    }

    #mobile-menu-container ul {
        list-style: none;
        padding: 0;
        margin: 0;
        background: rgba(0,0,0,0.92);
        width: 100%;
    }

    #mobile-menu-container ul li {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #mobile-menu-container ul li a {
        display: block;
        padding: 14px 20px;
        color: #fff !important;
        font-size: 15px;
        text-decoration: none;
        transition: background 0.2s;
    }

    #mobile-menu-container ul li a:hover,
    #mobile-menu-container ul li.active a,
    #mobile-menu-container ul li a:active {
        background: #c9a84c;
        color: #fff !important;
    }

    /* Alt menü (dropdown) */
    #mobile-menu-container ul li ul {
        background: rgba(0,0,0,0.5);
    }

    #mobile-menu-container ul li ul li a {
        padding-left: 35px;
        font-size: 14px;
    }
}

/* ================================================
   ANA SLIDER
================================================ */

@media (max-width: 991px) {
    #main-slider, 
    #main-slider .owl-wrapper,
    #main-slider .owl-item,
    #main-slider .items {
        height: 250px !important;
        max-height: 250px !important;
        overflow: hidden !important;
    }
    #main-slider .items img {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }
}

/* ================================================
   ODA KUTULARI (ANASAYFA)
================================================ */

.room-boxes {
    overflow: hidden;
    margin-bottom: 20px;
}

.room-boxes .room-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .room-boxes .room-details,
    .room-boxes .price-container {
        width: 100% !important;
        float: none !important;
    }

    .room-boxes {
        margin-bottom: 30px;
    }

    .room-boxes .room-details {
        padding: 15px;
    }
}

/* ================================================
   ODA LİSTESİ (ODALARIMIZ SAYFASI)
================================================ */

.room-box.clearfix {
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.room-box .img-container,
.room-box .details {
    display: block;
}

@media (max-width: 480px) {
    .room-box .img-container,
    .room-box .details {
        width: 100% !important;
        float: none !important;
    }

    .room-box .img-container img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .room-box .details {
        padding: 15px !important;
    }
}

/* ================================================
   GALERİ
================================================ */

.image-main-box {
    margin: 0;
    padding: 0;
    list-style: none;
}

.image-main-box li {
    padding: 3px;
}

.image-main-box li img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

@media (max-width: 480px) {
    .image-main-box li {
        width: 50% !important;
    }

    .image-main-box li img {
        height: 130px;
    }
}

/* ================================================
   FOOTER
================================================ */

#top-footer .widget {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    #top-footer .widget {
        width: 100% !important;
        float: none !important;
        text-align: center;
    }

    #footer nav ul.list-inline li {
        display: block;
        margin-bottom: 5px;
    }
}

/* ================================================
   BUTONLAR (MOBİLDE BÜYÜK DOKUNMA ALANI)
================================================ */

.btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    .btn-sm {
        width: auto;
        min-height: 36px;
    }
}

/* ================================================
   FORM ALANLARI
================================================ */

.form-control {
    height: 44px;
    border-radius: 4px;
    font-size: 15px;
    padding: 8px 12px;
    width: 100%;
    border: 1px solid #ddd;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #c9a84c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.2);
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

select.form-control {
    appearance: auto;
}

.form-group {
    margin-bottom: 15px;
}

/* ================================================
   İÇ SAYFA BAŞLIĞI (Internal Page Title)
================================================ */

.internal-page-title {
    padding: 60px 20px 40px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.internal-page-title h1 {
    font-size: clamp(22px, 5vw, 42px);
    word-break: break-word;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .internal-page-title {
        padding: 40px 15px 30px;
    }

    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ================================================
   HARİTA
================================================ */

#map {
    width: 100%;
    height: 300px;
    border-radius: 6px;
}

@media (min-width: 768px) {
    #map {
        height: 400px;
    }
}

/* ================================================
   REZERVASYON FORMU
================================================ */

.input-daterange .booking-fields {
    padding: 5px;
}

@media (max-width: 767px) {
    .input-daterange .booking-fields {
        width: 100% !important;
    }

    #main-booking-form {
        padding: 15px !important;
    }
}

/* ================================================
   SAYFALAMA
================================================ */

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination li.active a,
.pagination li a:hover {
    background: #c9a84c;
    border-color: #c9a84c;
    color: #fff;
}

/* ================================================
   GENEL YARDIMCI SINIFLAR
================================================ */

@media (max-width: 767px) {
    .hidden-xs { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm { display: none !important; }
}

@media (min-width: 992px) {
    .hidden-md { display: none !important; }
    .hidden-lg { display: none !important; }
}

/* ================================================
   SMOOTH SCROLL VE ANİMASYONLAR
================================================ */

html {
    scroll-behavior: smooth;
}

.heading-box {
    text-align: center;
    margin-bottom: 30px;
}

.heading-box h2 {
    font-size: clamp(22px, 4vw, 38px);
    margin-bottom: 10px;
}

.heading-box .subtitle {
    font-size: 16px;
    color: #888;
}

/* Tawk.to chatbox z-index düzeltmesi */
#fc_frame, .fc-widget-normal {
    z-index: 999 !important;
}

/* ================================================
   PRINT STILI
================================================ */
@media print {
    #top-header, #main-header, #main-menu-handle,
    #mobile-menu-container, #top-footer, #footer,
    #go-up-box {
        display: none !important;
    }
}

/* ================================================
   WHATSAPP FLOATING BUTTON
================================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover, .whatsapp-float:focus {
    background-color: #1ebe57;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37,211,102,0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    .whatsapp-tooltip { display: none; }
}


