/* ========== 1. LAYOUT BİLEŞENLERİ (Header, Footer) ========== */
body { background: var(--bg-body); color: var(--text-main); overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
body.no-scroll { overflow: hidden; }

header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05); padding: 16px 5%;
    display: flex; justify-content: space-between; align-items: center; transition: 0.3s;
}
.brand { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--text-main); letter-spacing: -0.5px; }
.brand span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 15px; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

footer {
    margin-top: auto; background: var(--primary); color: white;
    padding: 15px 5%; display: flex; justify-content: space-between;
    align-items: center; font-size: 13px;
}

/* ========== 2. SAYFA BİLEŞENLERİ (Splash, Hero, Kartlar, Formlar) ========== */
/* --- SPLASH SCREEN --- */
.splash-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-body); z-index: 99999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.8s cubic-bezier(0.86, 0, 0.07, 1), transform 0.8s cubic-bezier(0.86, 0, 0.07, 1), visibility 0.8s;
}
.splash-screen.hidden { opacity: 0; visibility: hidden; transform: scale(1.05); }
.scene-3d { perspective: 1000px; margin-bottom: 40px; }
.lotus-3d { width: 100px; height: 100px; position: relative; transform-style: preserve-3d; animation: spin3D 6s infinite linear; }
.lotus-petal {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(212,165,165,0.4), rgba(181,132,132,0.05));
    border: 1px solid rgba(212,165,165,0.8); border-radius: 50% 0 50% 0;
    box-shadow: 0 0 20px rgba(212,165,165,0.2); backdrop-filter: blur(4px);
}
.lotus-petal:nth-child(1) { transform: rotateY(0deg) rotateZ(45deg); }
.lotus-petal:nth-child(2) { transform: rotateY(45deg) rotateZ(45deg); }
.lotus-petal:nth-child(3) { transform: rotateY(90deg) rotateZ(45deg); }
.lotus-petal:nth-child(4) { transform: rotateY(135deg) rotateZ(45deg); }
.lotus-core {
    position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary); transform: translate(-50%, -50%) translateZ(0);
    box-shadow: 0 0 30px var(--primary); animation: pulseCore 2s infinite alternate;
}
@keyframes spin3D { 0% { transform: rotateX(60deg) rotateZ(0deg); } 100% { transform: rotateX(60deg) rotateZ(360deg); } }
@keyframes pulseCore { from { box-shadow: 0 0 15px var(--primary); } to { box-shadow: 0 0 40px var(--primary-dark); } }
.splash-brand {
    font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700;
    color: var(--text-main); letter-spacing: 1px;
    opacity: 0; animation: fadeUp 1s forwards 0.5s;
}
.splash-brand span { color: var(--primary); }
.loading-bar { width: 200px; height: 3px; background: var(--border); border-radius: 3px; margin-top: 30px; overflow: hidden; opacity: 0; animation: fadeUp 1s forwards 1s; }
.loading-progress { width: 0%; height: 100%; background: var(--primary); animation: loadingFill 2.5s cubic-bezier(0.86, 0, 0.07, 1) forwards 1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loadingFill { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } }

/* --- HERO --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; color: white; text-align: center; padding: 0 20px;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 64px; margin-bottom: 20px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 20px; max-width: 600px; margin: 0 auto 40px; opacity: 0.9; }

/* --- SHOWCASE --- */
.showcase-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 42px; margin-bottom: 10px; color: var(--text-main); }
.section-title p { color: var(--text-light); font-size: 18px; }
.showcase-item { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.showcase-item:nth-child(even) { flex-direction: row-reverse; }
.showcase-img { flex: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.showcase-img img { width: 100%; height: 400px; object-fit: cover; transition: 0.5s; display: block; }
.showcase-img:hover img { transform: scale(1.05); }
.showcase-text { flex: 1; }
.showcase-text h3 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 20px; color: var(--text-main); }
.showcase-text p { color: var(--text-light); line-height: 1.7; margin-bottom: 30px; font-size: 16px; }
.feature-list li { list-style: none; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: var(--text-main); font-weight: 500; }
.feature-list li i { color: var(--primary); }

/* --- BOOKING --- */
.booking-wrapper { background: white; padding: 80px 5%; position: relative; }
.booking-container { max-width: 1000px; margin: 0 auto; background: var(--bg-surface); border-radius: 24px; padding: 40px; box-shadow: 0 0 50px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.booking-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.service-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.srv-card {
    border: 1px solid var(--border); border-radius: 12px; padding: 20px; cursor: pointer; transition: 0.3s;
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.srv-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.srv-card.active { border-color: var(--primary); background: #FFF5F5; }
.srv-icon { width: 40px; height: 40px; background: #F7FAFC; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); margin-bottom: 12px; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-top: 20px; max-height: 250px; overflow-y: auto; }
.time-slot { padding: 10px; text-align: center; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; transition: 0.2s; }
.time-slot.selected { background: var(--primary); color: white; border-color: var(--primary); }
.time-slot.disabled { background: #EDF2F7; color: #CBD5E0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.inp-group input { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 8px; outline: none; transition: 0.3s; }
.inp-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.2); }
.kvkk-area { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); }
.kvkk-area input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }
.summary-bar { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.total-price { font-size: 20px; font-weight: 700; color: var(--text-main); }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 20px 5%;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1); z-index: 9999; display: flex; justify-content: space-between; align-items: center;
    transform: translateY(100%); transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1); border-top: 1px solid var(--primary);
}
.cookie-banner.show { transform: translateY(0); }

/* --- TOAST (eski, modal ile değiştirilecek ama uyumluluk için) --- */
.toast {
    position: fixed; top: 20px; right: 20px; background: #48BB78; color: white; padding: 16px 24px;
    border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-100px);
    transition: 0.4s; z-index: 10000; display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); }

/* ========== 3. HAMBURGER MENÜ ========== */
.hamburger-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px; z-index: 1001;
}
.hamburger-line {
    width: 24px; height: 2px; background: var(--text-main);
    transition: 0.3s; border-radius: 2px;
}
.hamburger-btn.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 999; display: none; backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { display: block; opacity: 1; }
.mobile-nav {
    position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
    background: #fff; z-index: 1000; padding: 80px 30px 30px;
    display: flex; flex-direction: column; gap: 0;
    transform: translateX(100%); transition: transform 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.mobile-nav-overlay.active .mobile-nav { transform: translateX(0); }
.mobile-nav a {
    text-decoration: none; color: var(--text-main); font-weight: 600;
    font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--border);
    transition: 0.2s;
}
.mobile-nav a:hover { color: var(--primary); padding-left: 10px; }

/* ========== 4. MASAÜSTÜ STİLLERİ (>1024px) ========== */
/* Masaüstü varsayılan - yukarıdaki stiller zaten masaüstü için */

/* ========== 5. TABLET STİLLERİ (481px–1024px) ========== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    header .btn-main { display: none; }
    .hamburger-btn { display: flex; }
    .showcase-item { gap: 40px; }
    .showcase-img img { height: 300px; }
    .service-select-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ========== 6. MOBİL STİLLER (≤480px) ========== */
@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .section-title h2 { font-size: 28px; }
    .showcase-section { padding: 60px 5%; }
    .showcase-item { flex-direction: column !important; gap: 24px; margin-bottom: 50px; }
    .showcase-img img { height: 220px; }
    .showcase-text h3 { font-size: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .booking-container { padding: 24px 16px; }
    .service-select-grid { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
    .time-slot { min-height: 60px; display: flex; align-items: center; justify-content: center; }
    .cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
    footer { flex-direction: column; gap: 5px; text-align: center; }
    .summary-bar { flex-direction: column; gap: 16px; text-align: center; }
    .splash-brand { font-size: 32px; }
}
