.otel-tabs {
    background: #f5f7fb;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.otel-tabs ul {
    display: flex;
    gap: 40px;
    margin-left: 40px;
}
.otel-tabs li {
    list-style: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
}
.otel-tabs li.active {
    border-bottom: 3px solid #1a73e8;
    color: #1a73e8;
}

.otel-title {
    font-size: 30px;
    font-weight: 700;
}
.otel-address {
    font-size: 15px;
    color: #444;
}

.foto-large {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
}

.small-gallery img.foto-small {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.small-gallery .col-4 {
    padding: 5px;
}

.more-photos {
    width: 100%;
    height: 130px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otel-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 50px;
}

.otel-address {
    font-size: 14px;
    color: #555;
}

.rating-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
}

.rez-button {
    background: #0054ff;
    color: white;
    padding: 14px 25px;
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    border: none;
    font-size: 16px;
}

.rating-box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}
.rating-box .puan {
    background: #1a73e8;
    color: #fff;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 22px;
    font-weight: 700;
}
.rating-box .iyi {
    margin-left: 10px;
    font-size: 18px;
    font-weight: 600;
}

.rez-button {
    background: #1a73e8;
    color: #fff;
    border: 0;
    width: 100%;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.map-box {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.kosullar-box {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.gallery-wrapper img {
    border-radius: 10px;
    object-fit: cover;
}

.galeri-big {
    width: 100%;
    height: 420px;
}

.galeri-small {
    width: 100%;
    height: 200px;
}

.galeri-more {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.otel-galeri {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

/* Sol büyük */
.galeri-left img.big-photo {
    width: 100%;
    height: 530px;
    object-fit: cover;
    border-radius: 12px;
}

/* Sağ 4 küçük */
.galeri-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.galeri-right .small-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}
.otel-galeri {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.galeri-left img.big-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
}

.galeri-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.galeri-right .small-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

/* === ÜST GALERİ === */
.otel-galeri {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

/* Sol ana fotoğraf */
.galeri-left img.big-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
}

/* Sağdaki 4 küçük foto */
.galeri-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.galeri-right .small-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}
.galeri-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.galeri-bottom .bottom-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* === NEW BOOKING STYLE GALLERY === */
.otel-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 180px);
    gap: 10px;
}

.otel-gallery-grid .main-photo {
    grid-row: span 3;
}

.otel-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.side-photo img {
    border-radius: 10px;
}

.more-photos-box {
    position: relative;
}

.more-photos-box .more-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 10px;
    z-index: 2;
    pointer-events: none;
}



.booking-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.main-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 12px;
}

/* Sağ taraf 3x2 grid */
.right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
    gap: 10px;
}

.small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* +X Fotoğraf alanı */
.more-photo-box {
    position: relative;
}

.more-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 2;
}


/* ====== MOBIL RESPONSIVE AYAR ====== */
@media (max-width: 768px) {

    .booking-gallery {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Ana foto */
    .main-image img {
        height: 260px !important;
        border-radius: 10px;
    }

    /* 3×2 sağ grid → mobilde 2×3 olsun */
    .right-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 140px);
        gap: 8px;
    }

    .small-photo img {
        height: 100% !important;
        border-radius: 10px;
        object-fit: cover;
    }

    /* +X Fotoğraf overlay */
    .more-photo {
        font-size: 20px;
        font-weight: 700;
    }
}


/* ======= FOTO ÜSTÜ BAŞLIK ALANI ======= */
.otel-overlay {
    position: absolute;
    top: 110px;
    z-index: 9999;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
}

.otel-ov-left {

    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
}

.ov-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.ov-address {
    font-size: 14px;
    margin: 5px 0 0;
}

.ov-address i {
    margin-right: 6px;
    color: #ffd700;
}

.ov-map {
    color: #4ea3ff;
    margin-left: 10px;
    font-weight: 600;
}

.otel-ov-right .ov-rez-btn {
    background: #1a73e8;
    color: #fff;
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Mobil düzeltme */
@media (max-width: 768px) {
    .otel-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        top: 10px;
        left: 10px;
        right: 10px;
    }
}
.otel-detail-container {
    position: relative;
    padding-top: 160px;
}

.detail-box {

    border-radius: 12px;

    background: #fff;
}

.detail-box h3,
.detail-box h4 {
    font-weight: 700;
}

.detail-box p {
    font-size: 15px;
    line-height: 1.6;
}

.kosullar-box {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

.map-big-box .btn {
    height: 50px;
    font-size: 17px;
    font-weight: 600;
}

.detail-box ul {
    margin-top: 8px;
    margin-bottom: 15px;
}


.kosul-baslik {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.rule-title {
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 3px;
    font-size: 15px;
}

.rule-text {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.rule-list {
    margin-left: 0;
    padding-left: 18px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.rule-list li {
    font-size: 15px;
    line-height: 1.5;
}

.payment-img {
    max-width: 230px;
    margin-top: 8px;
}
.map-preview-box {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 250px;
}

.map-preview-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.map-preview-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1a73e8;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.room-box {
    display: grid;
    grid-template-columns: 200px 1fr 180px;
    gap: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
}

.room-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.room-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.room-tags span {
    display: inline-block;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
}

.room-conditions p {
    margin: 0;
    font-size: 14px;
}

.cond-free {
    color: green;
    font-weight: 600;
}

.room-right {
    text-align: right;
}

.room-price .price {
    color: #1a73e8;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none !important;
}

.room-price .price,
.room-price .price * {
    text-decoration: none !important;
}

.room-rez-btn {
    margin-top: 10px;
    background: #1a73e8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.oda-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    transition: 0.4s ease;
    z-index: 99999;
    overflow-y: auto;
    padding: 20px;
}
.oda-panel.active {
    right: 0;
}
.oda-panel-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}
.oda-panel-content img {
    width: 100%;
    border-radius: 10px;
}
@media(max-width:768px){
    .oda-panel{width:100%;}
}
/* === ODA DETAY POPUP GALLERY === */
.popup-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.popup-gallery .popup-photo {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
}
@media(max-width:768px){
    .popup-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .popup-gallery .popup-photo{
        height:130px;
    }
}

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    overflow-y: auto;
}

.gallery-content {
    width: 95%;
    margin: 40px auto;
    text-align: center;
    color: #fff;
}

.gallery-title {
    font-size: 26px;
    margin-bottom: 20px;
}

.gallery-close {
    position: fixed;
    right: 40px;
    top: 20px;
    font-size: 36px;
    cursor: pointer;
    color: white;
}

.gallery-main {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.gallery-main-img {
    width: 100%;
    border-radius: 10px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 20px;
}

.gallery-arrow.left { left: -50px; }
.gallery-arrow.right { right: -50px; }

.gallery-thumbs {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumbs img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .6;
    transition: .3s;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    border: 2px solid #fff;
}
/* === BOOKING STYLE ODA POPUP === */
.oda-booking-modal {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.oda-booking-content {
    width:90%;
    max-width:1100px;
    background:#fff;
    border-radius:14px;
    padding:20px;
    display:flex;
    gap:25px;
}

.oda-booking-left {
    width:65%;
}

.booking-main-img {
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:10px;
}

.booking-thumbs {
    display:flex;
    gap:10px;
    margin-top:15px;
    overflow-x:auto;
}

.booking-thumbs img {
    width:110px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    opacity:.6;
    cursor:pointer;
}

.booking-thumbs img.active,
.booking-thumbs img:hover {
    opacity:1;
    border:2px solid #1a73e8;
}

.oda-booking-right {
    width:35%;
}

.oda-booking-close {
    position:absolute;
    top:20px;
    right:30px;
    font-size:38px;
    font-weight:700;
    cursor:pointer;
}

.booking-rez-btn {
    background:#1a73e8;
    color:#fff;
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    margin-top:25px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

@media(max-width:768px){
    .oda-booking-content { flex-direction:column; }
    .oda-booking-left, .oda-booking-right { width:100%; }
    .room-box {
        grid-template-columns: 1fr; /* Üstte resim, altta bilgiler */
    }

    .room-left {
        width: 100%;
    }

    .room-photo {
        width: 100%;
        height: auto;           /* Sabit yükseklik kaldırılır */
        aspect-ratio: 16/10;    /* Oran korur */
        object-fit: cover;      /* Foto taşmadan doldurur */
        border-radius: 10px;
    }
}
