﻿/* X sadece mobilde görünür */
body {
    font-size: 12px;
}
#closeBookingBtn {
    display: none;
}

@media (max-width: 992px) {
    #closeBookingBtn {
        display: inline-flex;
    }
}

/* Hero */
.tour-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .tour-hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .tour-hero .hero-content {
        position: relative;
        z-index: 2;
    }

/* Galeri */
.gallery-thumbs img.thumb {
    width: 110px;
    height: 90px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

    .gallery-thumbs img.thumb:hover {
        border-color: #007bff;
    }

/* Rezervasyon */
.booking-box {
    background: #fff;
    border: 1px solid #eee;
}

.counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.count-input {
    width: 45px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.price-box {
    background: #f8f9fa;
    border-radius: 8px;
}

.calendar-container {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px;
    background: #fafafa;
}

/* Mobil panel */
.fixed-booking-btn {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    border-radius: 30px;
    padding: 10px 22px;
}

.booking-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 1000;
}

    .booking-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

#bookingBox {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
    transition: bottom .35s ease;
}

    #bookingBox.open {
        bottom: 0;
    }

    #bookingBox.dragging {
        transition: none;
    }

@media (min-width: 992px) {
    #bookingBox {
        position: static;
        bottom: auto;
        max-height: none;
        box-shadow: none;
    }

    .fixed-booking-btn, .booking-overlay {
        display: none;
    }
}
#calendarContainer .flatpickr-input {
    display: none !important;
    visibility: hidden !important;
}