/* assets/css/style.css */
:root { 
    --stone: #A68A56; --deep: #1A1613; --bg: #FDFBF7; 
    --m-stone: #D4B982; --m-gold: #A68A56; --m-dark-stone: #3D352A; 
    --m-deep-stone: #2B251D; --m-light-stone: #E2D8C1;
    --stone-light: rgba(166, 138, 86, 0.1);
}

body { font-family: 'Montserrat', sans-serif; background-color: var(--bg); color: var(--deep); overflow-x: hidden; padding-top: 85px; position: static !important; top: 0px !important; }
.cinzel { font-family: 'Cinzel', serif; }
.lora { font-family: 'Lora', serif; }
html, body { max-width: 100%; overflow-x: hidden; }
.transition { transition: all 0.3s ease; }

/* Navbar (Ortak Tasarım) */
.navbar { background: linear-gradient(to bottom, var(--m-dark-stone), var(--m-deep-stone)) !important; border-bottom: 3px solid var(--m-gold); padding: 5px 0; box-shadow: 0 10px 30px rgba(43, 37, 29, 0.7); position: fixed !important; top: 0; width: 100%; z-index: 1050; }
.navbar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('https://www.transparenttextures.com/patterns/sandpaper.png'); opacity: 0.1; pointer-events: none; }
.navbar-brand { display: flex !important; align-items: center !important; }
.brand-text-group { display: flex; flex-direction: column; line-height: 1.1; }
.btn-nav { position: relative; color: var(--m-light-stone) !important; font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 1px; text-transform: uppercase; padding: 10px !important; transition: all 0.3s ease; white-space: nowrap; }
.btn-nav:hover, .btn-nav.active { color: var(--m-stone) !important; transform: translateY(-2px); }
.btn-nav::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--m-stone); transition: all 0.3s ease; transform: translateX(-50%); }
.btn-nav:hover::after, .btn-nav.active::after { width: 60%; }

/* Navbar Araçları */
.nav-tools { display: flex; align-items: center; gap: 12px; border-left: 1px solid rgba(212, 185, 130, 0.2); margin-left: 10px; padding-left: 15px; }
.btn-reservation { background: linear-gradient(145deg, var(--m-gold), #846D42) !important; color: #fff !important; font-weight: 700 !important; font-size: 0.75rem !important; padding: 8px 16px !important; border-radius: 0 !important; border: 1px solid var(--m-stone) !important; box-shadow: 3px 3px 10px rgba(0,0,0,0.2); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; }
.btn-reservation:hover { filter: brightness(1.2); box-shadow: 0 0 15px rgba(166, 138, 86, 0.4); transform: scale(1.05); letter-spacing: 1px; }
.wa-nav-link i { color: #25D366; font-size: 1.4rem; transition: 0.3s; }
.wa-nav-link:hover i { color: var(--m-stone); transform: scale(1.2) rotate(10deg); }

/* --- DİL VE AÇILIR MENÜ TEMEL AYARLARI --- */
.btn-as-link { background: transparent; border: none; text-align: left; padding: 0; outline: none; }
#langDropdown { transition: all 0.3s ease; }
#langDropdown:hover { background-color: rgba(166, 138, 86, 0.1); border-color: #fff !important; }

/* Dil Butonları İçin Satır İçi (Inline) Düzenlemeler */
.lang-btn { width: 100%; border: none; background: transparent; text-align: left; transition: all 0.2s ease-in-out; }
.lang-btn:hover { background-color: rgba(166, 138, 86, 0.1); color: var(--m-stone); padding-left: 10px; /* Hover'da hafif sağa kayma efekti ile şıklık katar */ }

/* Sliders & Headers */
.main-slider .carousel-item { height: 100vh; min-height: 500px; position: relative; }
.main-slider img { width: 100%; height: 100%; object-fit: cover; }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.page-header { background-size: cover; background-position: center; padding: 120px 0 60px; color: #fff; text-align: center; }
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; visibility: hidden !important; }

/* ODALAR STİLLERİ */
#odalar { background-color: #FDFBF7 !important; }
.filter-btn { border: 1px solid var(--m-gold); color: var(--m-gold); border-radius: 50px; padding: 10px 25px; font-weight: 700; font-size: 11px; letter-spacing: 1px; transition: all 0.3s ease; background: transparent; text-transform: uppercase; margin: 5px; }
.filter-btn:hover, .filter-btn.active { background-color: var(--m-gold); color: #fff; box-shadow: 0 5px 15px rgba(166, 138, 86, 0.3); }
.custom-card { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease; border-radius: 0; overflow: hidden; border: 1px solid rgba(212, 185, 130, 0.2) !important; background: #fff; height: 100%; display: flex; flex-direction: column; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.custom-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important; }
.card-img-container { position: relative; overflow: hidden; }
.room-card-img { transition: transform 0.6s ease; }
.custom-card:hover .room-card-img { transform: scale(1.1); }
.room-swiper { width: 100%; height: 280px; position: relative; }
.room-swiper img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
/* Fiyat Etiketi (Anasayfa ve Odalar Sayfası ile Tam Uyumlu) */
.price-badge { 
    background-color: var(--m-gold); 
    color: #ffffff !important; 
    font-weight: 800; 
    font-size: 1.1rem; 
    padding: 8px 22px; 
    position: absolute; 
    z-index: 10; 
    font-family: 'Cinzel', serif; 
    border-radius: 50px; /* Oval tasarım geri eklendi */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Anasayfada HTML içinden 'bottom-0' (alta yasla) komutu geldiği için onu ezer. 
   Eğer bottom-0 yoksa (odalar.php), sağ üstte gösterir. */
.price-badge:not(.bottom-0) {
    top: 15px;
    right: 15px;
}
.room-features-container { min-height: 100px; display: flex; flex-direction: column; justify-content: center; }
.item-icon-type { width: 35px; height: 35px; background: var(--stone-light); border: 1px solid #eee; border-radius: 10px; color: var(--m-gold); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; font-size: 1.1rem; cursor: help; }
.item-icon-type:hover { background: var(--m-gold); color: #fff; transform: translateY(-3px); }
.item-text-type { background: #fff; border: 1px solid var(--m-gold); padding: 4px 12px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; color: var(--m-gold); display: inline-flex; align-items: center; gap: 5px; text-transform: uppercase; }
.gold-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--m-gold), transparent); opacity: 0.5; }
.inner-room-label { background: var(--m-gold); color: #fff !important; padding: 4px 10px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.capacity-badge { background-color: #f8f4eb; color: #856404; border: 1px solid #ffeeba; font-size: 0.75rem; }

/* REHBER */
#rehber { background-color: #fcfaf7; }
.spot-list-item { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 10px; transition: all 0.3s ease; border: 1px solid #eee; height: 100%; }
.spot-list-img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; margin-right: 15px; flex-shrink: 0; }
.spot-list-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 700; color: var(--m-deep-stone); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-list-link { font-size: 0.7rem; color: var(--m-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.spot-list-item:hover { transform: translateX(5px); border-color: var(--m-gold); box-shadow: 0 5px 15px rgba(166, 138, 86, 0.1); }

/* KONUM / İLETİŞİM */
.contact-item { transition: all 0.2s ease; padding: 10px; border-radius: 12px; }
.contact-item:hover { background-color: rgba(166, 138, 86, 0.08); transform: translateX(5px); }
.social-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; border-radius: 50%; border: 1px solid #ddd; color: #333; }
.social-icon:hover { background-color: var(--m-gold) !important; border-color: var(--m-gold) !important; color: white !important; transform: translateY(-3px); }
.map-container iframe { width: 100%; height: 100%; min-height: 450px; border: 0; }

/* REFERANSLAR & POLİTİKALAR */
.reference-card { transition: all 0.3s ease; border: 1px solid transparent; background: #fff; }
.reference-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important; border-color: var(--m-gold); }
.grayscale-logo { filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; max-height: 45px; }
.reference-card:hover .grayscale-logo { filter: grayscale(0%); opacity: 1; }
.ls-1 { letter-spacing: 1px; }
.policy-card:hover { transform: translateY(-5px); border-color: var(--stone) !important; }

/* FOOTER */
footer { background-color: #1a1a1a; color: rgba(255,255,255,0.7); border-top: 3px solid var(--stone); }
.footer-link, .footer-contact-link { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; font-size: 0.85rem; display: block; margin-bottom: 8px; }
.footer-link:hover, .footer-contact-link:hover { color: var(--stone); padding-left: 5px; }
.footer-contact-link { display: flex; align-items: center; justify-content: center; }
.footer-social-icon { width: 35px; height: 35px; line-height: 35px; text-align: center; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: inline-block; color: #fff; transition: 0.3s; margin-right: 10px; }
.footer-social-icon.ig:hover { background: #e4405f; border-color: #e4405f;}
.footer-social-icon.fb:hover { background: #1877f2; border-color: #1877f2;}
.footer-social-icon.yt:hover { background: #ff0000; border-color: #ff0000;}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); background: #151515; }

/* RESPONSIVE YAPI (Media Queries) */
@media (min-width: 992px) { 
    .footer-contact-link { justify-content: flex-end; } 
}

/* --- ORTAK BUTON VE LİNK STİLLERİ --- */
.btn-as-link { background: transparent; border: none; text-align: left; padding: 0; outline: none; }
.lang-btn { width: 100%; border: none; background: transparent; text-align: left; transition: all 0.2s ease; }
.lang-btn:hover { background-color: rgba(166, 138, 86, 0.1); color: var(--m-stone); padding-left: 10px; }

/* --- 1. 14/15 İNÇ LAPTOPLAR İÇİN SIKIŞTIRMA (992px - 1400px arası) --- */
@media (min-width: 992px) and (max-width: 1400px) {
    .navbar-brand .flex-column { display: none !important; } /* Sadece logoyu bırakıp OTEL&CAFE yazısını gizler, yer kazandırır */
    .navbar .px-lg-5 { padding-left: 1rem !important; padding-right: 1rem !important; } /* Yan boşlukları kısar */
    .navbar-nav .nav-item { margin-left: 2px !important; margin-right: 2px !important; } /* Linkler arası boşluğu kısar */
    .btn-nav { font-size: 0.72rem !important; padding: 10px 5px !important; letter-spacing: 0.5px; }
    .btn-reservation { padding: 6px 12px !important; font-size: 0.7rem !important; }
}

/* --- 2. MASAÜSTÜ EKRANLARDA DİL MENÜSÜNÜN SAĞA TAŞMASINI KESİN ENGELLEME --- */
@media (min-width: 992px) {
    li.dropdown #langDropdown + .dropdown-menu {
        right: 0 !important; /* Menüyü sağ kenara yaslar */
        left: auto !important; /* Sola doğru açılmasını sağlar */
        transform: none !important; /* Bootstrap'in hatalı hesaplama yapmasını engeller */
        top: 100% !important; 
        margin-top: 10px;
    }
}

/* --- 3. MOBİL GÖRÜNÜM KESİN ÇÖZÜM --- */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: auto !important; 
        margin: 0 auto !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
    }
    
    #langDropdown {
        margin: 10px auto !important;
        width: max-content !important;
    }
    
    .lang-btn {
        justify-content: center !important;
        text-align: center !important;
        color: var(--m-stone) !important;
    }
}