/**
 * Sey Beach Hotel & Spa - Custom Styles
 * Tüm sayfalardaki özel CSS kodlarını içerir
 */

/* ============================================
   COMMON STYLES
   ============================================ */

.pageHero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 45, 0.45);
    z-index: 1;
    pointer-events: none;
}

.pageHero__bg {
    position: relative;
}

.pageHero__content {
    position: relative;
    z-index: 2;
}


/* ============================================
   ROOM DETAILS PAGE
   ============================================ */

.hero-weather-mobile {
    display: none;
}

@media (max-width: 991px) {
    .hero-weather-mobile {
        display: block;
        margin-top: 20px;
    }

    .hero-weather-mobile .weather-temp-hero {
        font-size: 48px;
        color: #fff;
        font-family: 'Cormorant Garamond', serif;
        line-height: 1.1;
    }

    .hero-weather-mobile .weather-condition-hero {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        font-family: 'Jost', sans-serif;
    }

    .pageHero__text {
        display: none !important;
    }

    .sidebar-weather {
        display: none !important;
    }
}

.sidebar-tripadvisor * {
    font-family: 'Jost', sans-serif !important;
}

.sidebar-tripadvisor h1,
.sidebar-tripadvisor h2,
.sidebar-tripadvisor h3,
.sidebar-tripadvisor h4,
.sidebar-tripadvisor .eapps-tripadvisor-reviews-header-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: #333 !important;
}

/* "Deneyiminizden memnun musunuz?" başlığı - Misafir Değerlendirmesi gibi */
.sidebar-tripadvisor .tripadvisor-main-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 34px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.sidebar-tripadvisor button,
.sidebar-tripadvisor a[class*="button"] {
    font-family: 'Jost', sans-serif !important;
    transition: all 0.3s ease !important;
}

.sidebar-tripadvisor p,
.sidebar-tripadvisor span,
.sidebar-tripadvisor div[class*="text"] {
    font-family: 'Jost', sans-serif !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

.sidebar-tripadvisor [class*="rating"],
.sidebar-tripadvisor [class*="reviews-count"],
.sidebar-tripadvisor [class*="reviews"] {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500 !important;
    color: #333 !important;
    font-size: 18px !important;
}

.sidebar-tripadvisor a[href*="tripadvisor"],
.sidebar-tripadvisor span:not([class*="star"]) {
    color: #333 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

.sidebar-tripadvisor div[class*="count"],
.sidebar-tripadvisor div[class*="total"] {
    color: #6d7c6a !important;
    font-weight: 600 !important;
    font-size: 20px !important;
}


/* ============================================
   BAR PAGE
   ============================================ */

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bar-modal { 
    scrollbar-width: thin; 
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent; 
}

.bar-modal::-webkit-scrollbar { width: 6px; }
.bar-modal::-webkit-scrollbar-track { background: transparent; }
.bar-modal::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); border-radius: 3px; }
.bar-modal::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.3); }

@media (max-width: 768px) {
    .bar-modal-content { margin: 0 !important; max-width: 100% !important; border-radius: 0 !important; min-height: 100vh; display: flex; flex-direction: column; }
    .bar-modal-header { padding: 20px !important; }
    .bar-modal-title { font-size: 20px !important; }
    .bar-modal-body { padding: 20px !important; flex: 1; }
    .bar-table-desktop { display: none !important; }
    .bar-table-mobile { display: block !important; }
}

@media (min-width: 769px) {
    .bar-table-desktop { display: block !important; }
    .bar-table-mobile { display: none !important; }
}

@media (max-width: 480px) {
    .bar-modal-header { padding: 18px 16px !important; }
    .bar-modal-title { font-size: 18px !important; }
    .bar-modal-body { padding: 16px !important; }
}


/* ============================================
   CONTACT PAGE
   ============================================ */

.map-container {
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.map-iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

@media (max-width: 768px) {
    .map-container {
        position: relative;
        width: 100%;
        height: 400px;
    }
}


/* ============================================
   GALLERY PAGE
   ============================================ */

.isotope-wrapper {
    margin-top: 60px;
}

.item-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 300px;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.item-img:hover img {
    transform: scale(1.1);
}

.item-img .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-img:hover .content {
    opacity: 1;
}

.item-img .content a {
    color: #fff;
    font-size: 32px;
    text-decoration: none;
}

.item-img .content a:hover {
    color: #ccc1bd;
}

.item-img .content i {
    font-size: 32px;
}


/* ============================================
   RESTAURANT PAGE
   ============================================ */

.restaurant-video {
    width: 100%;
    max-width: 595px;
    height: 700px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .restaurant-video {
        max-width: 100%;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .restaurant-video {
        height: 300px;
    }
}


/* ============================================
   BEACH & SPA PAGES - Video Modals
   ============================================ */

@keyframes videoModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* ============================================
   HEADER LANGUAGE SELECTOR (Desktop)
   ============================================ */

.header-lang-selector {
    position: relative;
    display: inline-block;
}

.header-lang-selector__btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
}

.header-lang-selector__btn:hover {
    opacity: 0.8;
}

.header-lang-selector__btn i {
    font-size: 8px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.header-lang-selector__btn:hover i,
.header-lang-selector.is-open .header-lang-selector__btn i {
    transform: rotate(180deg);
}

.header-lang-selector__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
    margin-top: 8px;
}

/* Hover için (Desktop) */
@media (hover: hover) and (pointer: fine) {
    .header-lang-selector:hover .header-lang-selector__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* JavaScript ile açılma (mobil ve desktop) */
.header-lang-selector.is-open .header-lang-selector__dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.header-lang-selector__item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.header-lang-selector__item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header-lang-selector__item.active {
    color: #1a1a1a;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
}


/* ============================================
   HEADER LANGUAGE SELECTOR (Mobile Menu)
   ============================================ */

.header-lang-selector-mobile {
    position: relative;
    display: inline-block;
}

.header-lang-selector-mobile .header-lang-selector__btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
}

.header-lang-selector-mobile .header-lang-selector__btn:hover {
    opacity: 0.8;
}

.header-lang-selector-mobile .header-lang-selector__btn i {
    font-size: 8px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.header-lang-selector-mobile .header-lang-selector__btn:hover i,
.header-lang-selector-mobile.is-open .header-lang-selector__btn i {
    transform: rotate(180deg);
}

.header-lang-selector-mobile .header-lang-selector__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(10px);
    min-width: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
    margin-top: 8px;
}

/* JavaScript ile açılma (mobil menü) */
.header-lang-selector-mobile.is-open .header-lang-selector__dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.header-lang-selector-mobile .header-lang-selector__item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.header-lang-selector-mobile .header-lang-selector__item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header-lang-selector-mobile .header-lang-selector__item.active {
    color: #1a1a1a;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
}


/* ============================================
   HEADER FORM INPUTS
   ============================================ */

select, input:not([type="range"]), textarea {
    border: 0;
    outline: none;
    width: 100%;
    background-color: #edf5f3;
}


/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.whatsapp-button:hover span {
    color: #f9daba !important;
}

.whatsapp-button dotlottie-player {
    flex-shrink: 0;
}


/* ============================================
   SKYSCANNER FLIGHT SEARCH WIDGET
   ============================================ */

/* Widget Container */
.skyscanner-widget-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skyscanner-widget-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .skyscanner-widget-wrapper {
        padding: 24px 20px;
        border-radius: 12px;
    }
}

/* Skyscanner Widget Override Styles */
.skyscanner-widget-wrapper [data-skyscanner-widget] {
    font-family: 'Jost', sans-serif !important;
}

/* Widget Form Elements */
.skyscanner-widget-wrapper input,
.skyscanner-widget-wrapper select,
.skyscanner-widget-wrapper button {
    font-family: 'Jost', sans-serif !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

/* Widget Buttons */
.skyscanner-widget-wrapper button {
    background-color: #6d7c6a !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

.skyscanner-widget-wrapper button:hover {
    background-color: #5a6a58 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 124, 106, 0.3) !important;
}

/* Widget Input Fields */
.skyscanner-widget-wrapper input[type="text"],
.skyscanner-widget-wrapper input[type="date"],
.skyscanner-widget-wrapper select {
    background-color: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #333 !important;
}

.skyscanner-widget-wrapper input[type="text"]:focus,
.skyscanner-widget-wrapper input[type="date"]:focus,
.skyscanner-widget-wrapper select:focus {
    background-color: #fff !important;
    border-color: #6d7c6a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(109, 124, 106, 0.1) !important;
}

/* Widget Labels */
.skyscanner-widget-wrapper label {
    font-family: 'Jost', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
}

/* Widget Headings */
.skyscanner-widget-wrapper h1,
.skyscanner-widget-wrapper h2,
.skyscanner-widget-wrapper h3,
.skyscanner-widget-wrapper h4 {
    font-family: 'Cormorant Garamond', serif !important;
    color: #122223 !important;
    font-weight: 400 !important;
}

/* Widget Text */
.skyscanner-widget-wrapper p,
.skyscanner-widget-wrapper span {
    font-family: 'Jost', sans-serif !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

/* Widget Links */
.skyscanner-widget-wrapper a {
    color: #6d7c6a !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.skyscanner-widget-wrapper a:hover {
    color: #5a6a58 !important;
    text-decoration: underline !important;
}

/* Widget Container Background */
.skyscanner-widget-wrapper > div {
    background: transparent !important;
}

/* Hide Skyscanner Branding/Logo - Comprehensive Selectors */
.skyscanner-widget-wrapper [class*="skyscanner"],
.skyscanner-widget-wrapper [class*="powered"],
.skyscanner-widget-wrapper [class*="branding"],
.skyscanner-widget-wrapper [class*="attribution"],
.skyscanner-widget-wrapper [class*="footer"],
.skyscanner-widget-wrapper [class*="logo"],
.skyscanner-widget-wrapper a[href*="skyscanner"],
.skyscanner-widget-wrapper a[href*="skyscanner.net"],
.skyscanner-widget-wrapper img[src*="skyscanner"],
.skyscanner-widget-wrapper img[alt*="Skyscanner"],
.skyscanner-widget-wrapper img[alt*="skyscanner"],
.skyscanner-widget-wrapper [id*="skyscanner"],
.skyscanner-widget-wrapper [id*="powered"],
.skyscanner-widget-wrapper [id*="branding"],
.skyscanner-widget-wrapper [data-skyscanner-widget] > div:last-child,
.skyscanner-widget-wrapper [data-skyscanner-widget] a[target="_blank"],
.skyscanner-widget-wrapper iframe[src*="skyscanner"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* Additional selectors for common Skyscanner widget patterns */
.skyscanner-widget-wrapper [class*="Widget"] [class*="footer"],
.skyscanner-widget-wrapper [class*="Widget"] [class*="attribution"],
.skyscanner-widget-wrapper [class*="Widget"] [class*="branding"],
.skyscanner-widget-wrapper [class*="Widget"] a[href*="skyscanner"],
.skyscanner-widget-wrapper [class*="Widget"] img[src*="skyscanner"],
.skyscanner-widget-wrapper [class*="Widget"] img[alt*="Skyscanner"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .skyscanner-widget-wrapper {
        padding: 20px 16px;
    }
    
    .skyscanner-widget-wrapper button {
        width: 100% !important;
        margin-top: 16px !important;
    }
    
    .skyscanner-widget-wrapper input,
    .skyscanner-widget-wrapper select {
        width: 100% !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .skyscanner-widget-wrapper {
        padding: 16px 12px;
        border-radius: 8px;
    }
    
    .skyscanner-widget-wrapper button {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   HOME SLIDER (HERO) – QR KODU & SKYSCANNER LOGOSU (AYRI BLOKLAR)
   ============================================ */

.hero__bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__qr-block img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.hero__logo-block {
    padding: 6px 10px;
}

.hero__logo-block .hero__skyscanner-logo {
    display: block !important;
    width: 288px !important;
    height: 74px !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .hero__bottom-left {
        bottom: 72px;
        left: 12px;
        gap: 10px;
    }
    .hero__qr-block {
        padding: 6px 8px;
        border-radius: 10px;
    }
    .hero__qr-block img {
        width: 48px;
        height: 48px;
    }
    .hero__logo-block {
        padding: 6px 10px;
        border-radius: 10px;
    }
    .hero__logo-block .hero__skyscanner-logo {
        height: 48px !important;
        width: auto !important;
        max-width: 300px;
    }
}
