/* hotels-page.css temizlendi. Yeni otel stilleri buraya eklenecek. */

.hotels-page {
    padding-top: 135px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.03), rgba(39, 174, 96, 0.03));
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.winter-hotels-list,
.summer-hotels-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.hotel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: unset;
    max-width: 400px;
    margin: 0 auto;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: none;
    position: relative;
}

.hotel-card:hover {
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.2);
    transform: translateY(-7px);
}

.hotel-image-main {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
    position: relative;
}

.hotel-card:hover .hotel-image-main {
    transform: scale(1.05);
}

.hotel-info {
    flex: 1;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, #ffffff, #f9fdfb);
}

.hotel-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
    word-break: break-word;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    display: inline-block;
}

.hotel-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    border-radius: 2px;
}

.hotel-location {
    color: #27AE60;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.hotel-features {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    color: #444;
    font-size: 0.95rem;
    font-weight: 400;
}

.hotel-features li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 0.2rem;
}

.hotel-features li i {
    color: #27AE60;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.hotel-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.7rem;
}

.hotel-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.3rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2);
}

.hotel-btn:hover {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.35);
}

.hotel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.8s ease;
}

.hotel-btn:hover::before {
    left: 100%;
}

.hotel-info > div[style] {
    font-size: 0.93rem;
    margin-bottom: 0.4rem !important;
    color: #444;
}

/* Modern Modal Galeri */
.hotel-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hotel-modal.active {
    display: flex;
}

.hotel-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 95vw;
    max-height: 95vh;
    width: 95vw;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Ana görsel alanı */
.hotel-modal-main-image {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background-color: #1a1a1a;
    position: relative;
    cursor: zoom-in;
}

.hotel-modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Tam ekran modu */
.hotel-modal-content.fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    padding: 0.5rem;
    gap: 0.5rem;
}

.hotel-modal-content.fullscreen .hotel-modal-main-image {
    flex: 1;
    height: auto;
    border-radius: 0;
    cursor: zoom-out;
}

.hotel-modal-content.fullscreen .hotel-modal-thumbnails {
    max-height: 90px;
}

/* Tam ekran butonu */
.hotel-modal-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.hotel-modal-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Navigasyon butonları */
.hotel-modal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.hotel-modal-nav-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
    transition: all 0.2s ease;
}

.hotel-modal-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.3);
}

.hotel-modal-counter {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background-color: rgba(240, 240, 240, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Thumbnail'lar */
.hotel-modal-thumbnails {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #27AE60 #f0f0f0;
}

.hotel-modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.hotel-modal-thumbnails::-webkit-scrollbar-thumb {
    background-color: #27AE60;
    border-radius: 6px;
}

.hotel-modal-thumbnails::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 6px;
}

.thumbnail {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #2ECC71;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.thumbnail:hover {
    transform: translateY(-3px);
}

/* Kapatma butonu */
.hotel-modal-close {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10000;
}

.hotel-modal-close:hover {
    transform: rotate(90deg);
    background: linear-gradient(135deg, #27AE60, #2ECC71);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .hotel-modal-content {
        padding: 1.2rem;
        max-width: 95vw;
        width: 95vw;
    }
    
    .hotel-modal-main-image {
        height: 40vh;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .hotel-modal-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .hotel-modal-counter {
        font-size: 1rem;
    }
}

/* Sol tarafta filtreleme ve sağ tarafta oteller için ana konteyner */
.hotels-with-filters {
    display: flex;
    gap: 2rem;
    width: 100%;
}

/* Filtreleme Stilleri */
.hotel-filters {
    width: 300px;
    flex-shrink: 0;
}

.filter-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem;
    position: sticky;
    top: 120px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.filter-group {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.filter-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background-color 0.2s;
    border-bottom: 1px solid transparent;
}

.filter-header:hover {
    background: #f9f9f9;
}

.filter-group.active .filter-header {
    border-bottom: 1px solid #f0f0f0;
}

.filter-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #2ECC71;
    background: rgba(46, 204, 113, 0.1);
}

.filter-title {
    flex: 1;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.filter-arrow {
    transition: transform 0.3s;
    color: #777;
}

/* Grup kapalıyken içindeki seçim sayısını göster: gizli filtre yüzünden
   liste sebepsiz boşalmış gibi durmasın. */
.filter-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-right: 8px;
    border-radius: 10px;
    background: #2ECC71;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.filter-no-results {
    grid-column: 1 / -1;
    width: 100%;
    padding: 2.5rem 1.5rem;
    border: 1px dashed rgba(46, 204, 113, 0.45);
    border-radius: 16px;
    background: #fafffb;
    text-align: center;
    color: #444;
}

.filter-no-results i {
    font-size: 1.8rem;
    color: #2ECC71;
    margin-bottom: 0.75rem;
}

.filter-no-results p {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}

.filter-no-results span {
    font-size: 0.92rem;
    color: #666;
}

.filter-group.active .filter-arrow {
    transform: rotate(180deg);
}

.filter-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}

.filter-group.active .filter-content {
    padding: 10px 16px;
    max-height: 300px;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #444;
    position: relative;
    padding-left: 28px;
    transition: all 0.2s ease;
}

.filter-option:hover {
    color: #27AE60;
    transform: translateX(2px);
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.filter-option label {
    cursor: pointer;
    user-select: none;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    transition: all 0.2s;
    padding: 2px 0;
    width: 100%;
}

.filter-option label::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
    background-color: white;
}

.filter-option input[type="checkbox"]:checked + label {
    color: #27AE60;
    font-weight: 500;
}

.filter-option input[type="checkbox"]:checked + label::before {
    background-color: #2ECC71;
    border-color: #27AE60;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.1);
}

.filter-option input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark 0.2s ease-in-out;
}

@keyframes checkmark {
    0% { opacity: 0; transform: rotate(45deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.filter-option:hover label::before {
    border-color: #2ECC71;
}

.filter-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.filter-clear-btn {
    width: 100%;
    padding: 14px;
    background: #f9f9f9;
    color: #333;
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
}

.filter-clear-btn:hover {
    background: #f1f1f1;
    border-color: rgba(46, 204, 113, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-button-active {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.filter-change {
    animation: filterHighlight 0.3s ease;
}

@keyframes filterHighlight {
    0% { background-color: #fff; }
    50% { background-color: rgba(46, 204, 113, 0.1); }
    100% { background-color: #fff; }
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .hotels-with-filters {
        flex-direction: column;
    }
    
    .hotel-filters {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .filter-container {
        padding: 0.8rem;
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .filter-header {
        padding: 12px;
    }
    
    .filter-title {
        font-size: 0.95rem;
    }
    
    .filter-group.active .filter-content {
        padding: 8px 12px;
    }
    
    .filter-option {
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        flex-direction: row;
    }
    
    .filter-clear-btn, .filter-apply-btn {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .filter-buttons {
        flex-direction: column;
    }

    .filter-clear-btn, .filter-apply-btn {
        width: 100%;
    }
}

/* ==================== Otel rozetleri (yeni 2026) ==================== */
.hotel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.hotel-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(30, 132, 73, 0.1);
    color: #1A6B3D;
    border: 1px solid rgba(30, 132, 73, 0.3);
    white-space: nowrap;
}

.hotel-badge-new {
    background: linear-gradient(135deg, #1E8449, #145A30);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(30, 132, 73, 0.35);
}

/* ==================== Bölge bölümü (Yurt Dışı vb.) ==================== */
.region-section {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px dashed rgba(31, 97, 141, 0.25);
}

.region-section-title {
    color: #154869;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.region-section-title i {
    color: #1F618D;
}

.region-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .region-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== Antrenman Tesisleri Bölümü ==================== */
.facilities-section {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px dashed rgba(52, 152, 219, 0.25);
}

.facilities-section-title {
    color: #2980B9;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    text-align: center;
}

.facilities-section-title i {
    color: #3498DB;
}

.facilities-section .section-description {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
}

.facilities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .facilities-list {
        grid-template-columns: 1fr;
    }
}

.facility-card {
    border-top: 3px solid #3498DB;
    max-width: none;
}

.facility-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(31, 97, 141, 0.1);
    color: #154869;
    border: 1px solid rgba(31, 97, 141, 0.35);
    margin-bottom: 0.6rem;
}

/* Henüz fotoğrafı olmayan oteller: kart görseli katalog sayfasının kendisi.
   Kırpmak yerine sayfanın tamamı görünsün. */
.hotel-image-main.catalog-only {
    object-fit: contain;
    background: #ffffff;
}
