/* ==========================================================================
   1. PREMIUM TEMA DEĞİŞKENLERİ (High-End Luxury Spa)
   ========================================================================== */
:root {
    /* Renk Paleti - Keskin ve Lüks Kontrast */
    --bg-dark: #050505;           
    --bg-card: rgba(15, 15, 15, 0.65); /* Yarı saydam kart arka planı */
    
    --luxury-gold: #D4AF37;       
    --gold-light: #F3E5AB;        
    --gold-dark: #B5952F;         
    
    --text-pure: #FFFFFF;         
    --text-cream: #F8FAFC;        
    --text-muted: #94A3B8;        
    
    --whatsapp: #10B981;          
    --whatsapp-hover: #059669;
    
    /* Glassmorphism & Gölgeler */
    --glass-bg: rgba(5, 5, 5, 0.75);
    --glass-border: rgba(212, 175, 55, 0.15);
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --gold-glow: 0 10px 30px rgba(212, 175, 55, 0.15);
    
    /* UX & Animasyon */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-card: 16px;
    --radius-btn: 50px;           
    --nav-height: 85px;
}

/* ==========================================================================
   2. SIFIRLAMA & KESİN TAŞMA (OVERFLOW) KİLİDİ
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; 
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark); /* Fallback */
    color: var(--text-cream);
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word; 
    word-wrap: break-word;
}

/* ==========================================================================
   GENEL ARKA PLAN GÖRSELİ VE SİYAH OVERLAY (MOBİL UYUMLU SABİT KATMAN)
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Masaj görselinizi buraya bağladık */
    background: url('../img/massage-bg.png') center/cover no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Görselin üzerine hafif siyahlık (okunabilirlik için %88 karartma) */
    background: rgba(5, 5, 5, 0.645);
    z-index: -1;
}

/* ==========================================================================
   3. TİPOGRAFİ
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--text-pure);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h1 span, h2 span { 
    background: linear-gradient(135deg, var(--luxury-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

img { 
    display: block; 
    width: 100%; 
    max-width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: var(--radius-card); 
}

/* ==========================================================================
   4. PREMIUM BUTONLAR & CTA
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--luxury-gold); color: #000; }
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--gold-glow); }

.btn-outline { background: transparent; color: var(--luxury-gold); border: 1px solid var(--luxury-gold); }
.btn-outline:hover { background: var(--luxury-gold); color: #000; box-shadow: var(--gold-glow); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   5. HEADER & GLASSMORPHIC NAVİGASYON
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--glass-bg); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.logo { display: flex; align-items: center; gap: 12px; max-width: 70%; }
.logo-icon { color: var(--luxury-gold); font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; overflow: hidden; }
.logo-title { font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 600; color: var(--text-pure); line-height: 1.1; letter-spacing: 0.5px; white-space: nowrap; }
.logo-subtitle { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px; color: var(--luxury-gold); margin-top: 4px; white-space: nowrap; }

.nav-menu { display: flex; list-style: none; gap: 2.5rem; }
.nav-menu a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-cream); position: relative; padding: 0.5rem 0; opacity: 0.8; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--luxury-gold); transition: var(--transition-smooth); }
.nav-menu a:hover, .nav-menu a.active { opacity: 1; color: var(--luxury-gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.hamburger-line { display: block; width: 24px; height: 2px; margin: 6px 0; background-color: var(--luxury-gold); transition: var(--transition-smooth); }
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   6. ORTAK YAPILAR & GRID SİSTEMİ
   ========================================================================== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: clamp(5rem, 8vw, 8rem) 0; }

/* Arka plan görselinin görünmesi için bölümleri transparanlaştırıyoruz */
.section-bg-dark { background-color: transparent; }
.section-bg-anthracite { 
    background-color: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 700px; margin-left: auto; margin-right: auto; }
.section-subtitle { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(212, 175, 55, 0.1); color: var(--luxury-gold); border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; border: 1px solid var(--glass-border); }

.grid-2, .grid-3, .grid-4 { min-width: 0; }
.grid-2 > div, .grid-3 > div, .grid-4 > div { min-width: 0; width: 100%; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.about-image-wrapper { width: 100%; max-width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   7. HERO ALANI
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Kendi özel arka planı olduğu için burası korunur */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.95)), url('../img/hero-bg.webp') center/cover no-repeat;
    padding: calc(var(--nav-height) + 2rem) 5% 2rem;
}

.hero-inner { max-width: 900px; z-index: 2; width: 100%; }
.hero-cta-group { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }

/* ==========================================================================
   8. PREMIUM KARTLAR & ÖZELLİKLER (GLASSMORPHISM)
   ========================================================================== */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-card);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--luxury-gold);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--gold-glow); background: rgba(20, 20, 20, 0.85); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--luxury-gold);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon { background: var(--luxury-gold); color: #000; }
.service-card p { flex-grow: 1; }
.service-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--luxury-gold); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; margin-top: 2rem; }
.service-link:hover { color: var(--text-pure); gap: 0.8rem; }

.feature-box { 
    text-align: center; 
    padding: 3rem 2rem; 
    background: var(--bg-card); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-card); 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: var(--transition-smooth); 
}
.feature-box:hover { background: rgba(20, 20, 20, 0.85); border-color: var(--glass-border); }
.feature-box i { font-size: 2.2rem; color: var(--luxury-gold); margin-bottom: 1.5rem; }
.feature-box h4 { margin-bottom: 1rem; }
.feature-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ==========================================================================
   9. SSS (AKORDİYON)
   ========================================================================== */
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 0.5rem; }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: var(--text-pure); font-family: 'Lora', serif; font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 400; padding: 1.5rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition-smooth); gap: 1rem; }
.faq-question:hover { color: var(--luxury-gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-smooth); }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); margin-bottom: 0; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--luxury-gold); }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer { background-color: rgba(2, 2, 2, 0.9); border-top: 1px solid var(--glass-border); padding: 5rem 5% 2rem; backdrop-filter: blur(10px); }
.seo-text-block { text-align: center; max-width: 100%; margin: 0 auto 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.seo-text-block h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 1.5rem; }
.footer-bottom { text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   11. KUSURSUZ RESPONSIVE YAPISI
   ========================================================================== */
.sticky-bottom-bar { display: none; }

/* Tablet Kırılımı (992px) */
@media (max-width: 992px) {
    .grid-2 { 
        grid-template-columns: 1fr; 
        gap: 3rem;
        text-align: center;
    }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .about-image-wrapper { margin-bottom: 2rem; }
    .about-image-wrapper img { margin: 0 auto; }
}

/* Mobil Kırılımı (Telefonlar & Küçük Tabletler) */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .header-cta { display: none; }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height)); 
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--glass-border);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active { left: 0; }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-menu a { display: block; padding: 1.5rem; font-size: 1.1rem; }
    
    .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .hero-cta-group { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-cta-group .btn { width: 100%; } 
    
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

    /* Mobil Uygulama Tarzı Sabit Alt Bar */
    .sticky-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95); 
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--glass-border);
        z-index: 9999;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom)) 0;
        justify-content: space-around;
    }

    .bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        gap: 0.3rem;
        flex: 1;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-height: 48px; 
        transition: var(--transition-smooth);
    }

    .bar-item:active { transform: scale(0.95); } 
    .bar-item i { font-size: 1.3rem; margin-bottom: 2px; }
    
    .bar-item.call { color: var(--luxury-gold); }
    .bar-item.wp { color: var(--whatsapp); }
    .bar-item.map { color: #3B82F6; } 
    .bar-item:hover { color: var(--text-pure); }
}

/* Ekstra Küçük Cihazlar İçin Optimizasyon */
@media (max-width: 380px) {
    .logo-title { font-size: 1.1rem; }
    .logo-icon { font-size: 1.5rem; }
    .bar-item { font-size: 0.55rem; padding: 0 2px; }
    .bar-item i { font-size: 1.15rem; }
    .section-padding { padding: 4rem 0; }
}