/*
Theme Name: Orange Spa Ultimate
Theme URI: https://volkanevcumen.com
Author: Volkan Evcümen
Description: %100 Yönetilebilir, Satış Odaklı Premium Tema.
Version: 8.0
License: GNU General Public License v2 or later
*/

:root {
    --primary: #E65100;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

body.dark-mode { --bg-color: #121212; --text-color: #e0e0e0; --card-bg: #1e1e1e; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-color); color: var(--text-color); line-height: 1.7; transition: 0.3s; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text-color); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; }

/* COMPONENTS */
.btn { padding: 12px 30px; background: var(--primary); color: #fff; border-radius: 50px; font-weight: bold; display: inline-block; border: 2px solid var(--primary); cursor: pointer; }
.btn:hover { background: transparent; color: var(--primary); }
header { background: var(--card-bg); box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a { font-size: 28px; font-weight: bold; font-family: var(--font-heading); }
.logo span { color: var(--primary); }
.main-menu ul { display: flex; gap: 20px; list-style: none; }

/* HERO & VIDEO */
.hero { height: 85vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #333; overflow: hidden; }
.hero video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); z-index: 0; opacity: 0.6; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 4rem; color: #fff; margin-bottom: 10px; }

/* SERVICES 3D */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: var(--card-bg); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.1s; transform-style: preserve-3d; perspective: 1000px; }
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-info { padding: 20px; }

/* MOOD SELECTOR */
.mood-selector { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.mood-btn { padding: 10px 25px; border-radius: 30px; border: 1px solid #ccc; background: var(--card-bg); cursor: pointer; color: var(--text-color); }
.mood-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* WIZARD */
.booking-wizard { background: var(--card-bg); padding: 40px; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; text-align: center; border: 1px solid #eee; }
.wizard-step { display: none; animation: fadeIn 0.5s; }
.wizard-step.active { display: block; }
.wizard-opt { display: inline-block; padding: 15px 25px; margin: 5px; border: 2px solid #eee; border-radius: 10px; cursor: pointer; transition:0.3s; }
.wizard-opt:hover, .wizard-opt.selected { border-color: var(--primary); color: var(--primary); font-weight: bold; }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

/* EXTRAS */
.promo-bar { background: #FFD700; color: #000; text-align: center; padding: 5px 0; font-size: 13px; font-weight: bold; }
.owner-dashboard-bar { position: fixed; top: 0; left: 0; width: 100%; height: 45px; background: #1a1a1a; color: #fff; z-index: 99999; display: flex; align-items: center; justify-content: space-around; font-family: monospace; border-bottom: 3px solid var(--primary); font-size: 13px; }
.fomo-popup { position: fixed; bottom: 20px; left: 20px; background: var(--card-bg); padding: 15px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 15px; z-index: 9990; transform: translateY(100px); opacity: 0; transition: 0.5s; border-left: 4px solid var(--primary); max-width: 300px; }
.fomo-popup.show { transform: translateY(0); opacity: 1; }
.fomo-img img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.fomo-text { font-size: 12px; line-height: 1.3; color: var(--text-color); }
@media(max-width:768px){ .fomo-popup { display:none; } }

.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: var(--card-bg); border-top: 1px solid #eee; z-index: 9998; justify-content: space-around; align-items: center; }
.mobile-nav-item { text-align: center; font-size: 10px; color: var(--text-color); display: flex; flex-direction: column; width: 25%; }
.mobile-nav-item i { font-size: 18px; margin-bottom: 3px; color: var(--primary); }
.mobile-nav-item.cta { background: var(--primary); color: #fff; height: 100%; justify-content: center; }
.mobile-nav-item.cta i { color: #fff; }
@media (max-width: 768px) { .mobile-bottom-nav { display: flex; } footer { padding-bottom: 70px; } }
#preloader { position: fixed; top:0; left:0; width:100%; height:100%; background: var(--bg-color); z-index:999999; display:flex; justify-content:center; align-items:center; }
/* --- RANDEVU MODAL (POPUP) STİLLERİ --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 99999;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(5px); /* Arkayı bulanıklaştırır */
}
.modal-content {
    background: var(--card-bg); width: 90%; max-width: 500px;
    padding: 30px; border-radius: 15px; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid var(--primary);
    max-height: 90vh; overflow-y: auto;
}
.close-modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 30px; cursor: pointer; color: #999; line-height: 1;
}
.close-modal:hover { color: var(--primary); }

/* Modal İçindeki Sihirbazın Görünümü */
.modal-wizard-step { display: none; animation: fadeIn 0.3s; text-align: center; }
.modal-wizard-step.active { display: block; }
/* --- SAYFA BAŞLIKLARI (PAGE HEADER) --- */
.page-header {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.page-header .overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); z-index: 1;
}
.page-header-content {
    position: relative; z-index: 2;
}
.page-header h1 {
    font-size: 3.5rem; color: #fff; margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.page-header p {
    font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto;
}
.btn-text {
    color: var(--primary); font-weight: bold; font-size: 0.9rem;
    display: inline-block; margin-top: 10px;
}
/* --- MOBİL MENÜ STİLLERİ --- */

/* Varsayılan olarak Hamburger ikonunu gizle (Masaüstü için) */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobil Cihazlar (Tablet ve Telefon) */
@media (max-width: 992px) {
    
    /* İkonu Göster */
    .menu-toggle {
        display: block;
    }

    /* Menüyü Gizle ve Şekillendir */
    .main-menu {
        display: none; /* Başlangıçta gizli */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 999;
        border-top: 2px solid var(--primary);
    }

    /* Menü Linklerini Alt Alta Diz */
    .main-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .main-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

}
	/* --- HİZMET DETAY SAYFASI TASARIMI --- */

/* 1. Hero Alanı */
.service-single-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff !important;
    margin-bottom: 20px;
}
.service-single-hero .overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5); z-index: 1;
}
.service-single-hero .hero-content { position: relative; z-index: 2; }
.service-tag {
    background: var(--primary); color: #fff; padding: 5px 15px;
    border-radius: 20px;font-weight: bold; text-transform: uppercase;
    margin-bottom: 10px; display: inline-block;
}

/* 2. Sayfa Düzeni (Layout) */
.service-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol taraf geniş, sağ taraf dar */
    gap: 50px;
    align-items: start;
}

/* Sol Taraf (İçerik) */
.content-box { font-size: 1.1rem; color: var(--text-color); line-height: 1.8; }
.content-box h2, .content-box h3 { margin-top: 30px; margin-bottom: 15px; color: var(--primary); }
.content-box ul { margin-bottom: 20px; list-style: disc inside; }
.post-navigation { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }

/* Sağ Taraf (Sticky Sidebar) */
.service-sidebar { position: relative; }
.sticky-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    position: sticky;
    top: 120px; /* Header yüksekliğine göre ayarlanır */
}
.sticky-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.info-list { list-style: none; margin: 20px 0; padding: 0; }
.info-list li { margin-bottom: 10px; font-size: 14px; color: #666; display: flex; align-items: center; gap: 10px; }
.info-list li i { color: #25d366; }

.btn-full { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.or-divider { text-align: center; margin: 10px 0; font-size: 12px; color: #999; text-transform: uppercase; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .service-layout { grid-template-columns: 1fr; } /* Mobilde tek kolon */
    .sticky-card { position: static; margin-top: 30px; }
    .service-single-hero { height: 300px; }
}
/* --- İKON DÜZELTME YAMASI (MOBİL İÇİN) --- */

/* 1. İkonların Font Ailesini Zorla */
.fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}
.far, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
}

/* 2. İkonların boyutlarını ve hizalamasını sabitle */
.fa, .fas, .fab, .far {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased; /* iOS için netleştirme */
    line-height: 1; /* Satır yüksekliği hatasını önler */
}

/* 3. Menü ikonu (Hamburger) özel ayarı */
.menu-toggle i {
    font-size: 26px !important; /* Mobilde ikonun yeterince büyük olmasını sağlar */
    display: block !important;
}
/* --- İKONLARI KURTARMA YAMASI (ZORUNLU) --- */

/* 1. Tüm 'i' etiketlerinin fontunu sıfırla */
i, .fas, .fab, .far, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal;
    font-weight: 900; /* Solid ikonlar için kalınlık şart */
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1 !important;
}

/* 2. Marka İkonları (WhatsApp vb.) için özel ayar */
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* 3. Menü İkonu (Hamburger) Görünürlük Ayarı */
.menu-toggle i {
    font-size: 28px !important;
    color: var(--primary) !important;
    display: inline-block !important;
    width: 30px;
    height: 30px;
    text-align: center;
}

/* 4. Eğer mobil menü açılmazsa */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}
/* --- MODERN GALERİ TASARIMI (DÜZELTİLMİŞ) --- */
.gallery-section {
    background: #fff;
    position: relative;
    z-index: 2;
}

.gallery-wrapper {
    display: grid;
    /* Masaüstünde en az 300px genişliğinde kolonlar oluştur, sığdığı kadar yan yana koy */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Resimler arası boşluk */
    margin-top: 40px;
}

.gallery-item-wrap {
    position: relative;
    height: 300px; /* Tüm resimler AYNI yükseklikte olacak */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdırır, uzatıp büzmez */
    transition: transform 0.5s ease;
}

.gallery-item-wrap:hover .gallery-img {
    transform: scale(1.1); /* Hoverda hafif yakınlaşma */
}

/* Resmin üzerindeki ikon katmanı */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(230, 81, 0, 0.4); /* Hafif turuncu filtre */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-item-wrap:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 32px;
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
}

/* LIGHTBOX (Büyütme Ekranı) */
.lightbox-overlay {
    display: none;
    position: fixed; z-index: 999999;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
}
.lightbox-content {
    max-width: 90%; max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}
.close-lightbox {
    position: absolute; top: 30px; right: 40px;
    color: #fff; font-size: 50px; cursor: pointer;
    transition: 0.3s;
}
.close-lightbox:hover { color: var(--primary); transform: rotate(90deg); }

@media (max-width: 768px) {
    .gallery-wrapper {
        grid-template-columns: repeat(2, 1fr); /* Mobilde 2'li diz */
        gap: 10px;
    }
    .gallery-item-wrap { height: 200px; } /* Mobilde yükseklik daha az olsun */
}
@media (max-width: 480px) {
    .gallery-wrapper {
        grid-template-columns: 1fr; /* Çok küçük ekranda tekli diz */
    }
}