/**
 * ====================================================================
 * LUMÉ DENTAL CLINIC - PREMIUM FRONTEND STYLESHEET
 * ====================================================================
 * Apple / Swiss Medical Luxury Aesthetics
 * Clean Whitespace, Glassmorphism, Micro-Interactions, Mobile Responsive
 * ====================================================================
 */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --primary-rgb: 13, 148, 136;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #d97706;
    --accent-light: #fef3c7;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.07);
    --shadow-hover: 0 20px 40px -15px rgba(13, 148, 136, 0.2);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Temel Reset ve Gövde */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

/* Üst Bilgi Barı (Top Bar) */
.lume-topbar {
    background-color: var(--secondary);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lume-topbar a {
    color: #cbd5e1;
}
.lume-topbar a:hover {
    color: #ffffff;
}

/* Navigasyon / Header */
.lume-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.lume-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary) !important;
    letter-spacing: -0.03em;
}
.navbar-brand span {
    color: var(--primary);
}
.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary) !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    padding: 12px;
    animation: fadeInSlide 0.25s ease forwards;
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: var(--secondary);
    transition: var(--transition);
}
.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Butonlar */
.btn-primary-lume {
    background-color: var(--primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-lume:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-outline-lume {
    background: transparent;
    color: var(--secondary) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--secondary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-lume:hover {
    background: var(--secondary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Alanı (Lüks Banner) */
.lume-hero {
    position: relative;
    padding: 100px 0 120px 0;
    background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(217, 119, 6, 0.05) 0%, transparent 50%),
                #ffffff;
    overflow: hidden;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    margin-bottom: 22px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 35px;
}
.hero-image-wrap {
    position: relative;
}
.hero-image-main {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
    width: 100%;
    object-fit: cover;
    max-height: 520px;
}
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatAnim 4s ease-in-out infinite;
}
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* İstatistik Şeridi (Stats Strip) */
.lume-stats {
    background: var(--secondary);
    color: #ffffff;
    padding: 50px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Bölüm Başlıkları */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
}

/* Hizmet Kartları */
.service-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: var(--shadow-hover);
}
.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--transition);
}
.service-card:hover .service-icon-box {
    background: var(--primary);
    color: #ffffff;
}
.service-title {
    font-size: 20px;
    margin-bottom: 12px;
}
.service-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* BEFORE - AFTER SLIDER (Önce - Sonra Etkileşimli Kaydırıcı) */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    user-select: none;
    box-shadow: 0 25px 50px -15px rgba(15, 23, 42, 0.15);
    background: #e2e8f0;
    aspect-ratio: 16 / 10;
}
.before-after-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.before-after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}
.before-after-slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}
.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.before-tag, .after-tag {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
    z-index: 5;
}
.before-tag { left: 20px; }
.after-tag { right: 20px; }

/* Doktor Kartları */
.doctor-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.doctor-photo-wrap {
    height: 320px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-photo {
    transform: scale(1.04);
}
.doctor-body {
    padding: 24px;
}
.doctor-name {
    font-size: 20px;
    margin-bottom: 4px;
}
.doctor-specialty {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Yorum / Testimonial Kartları */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    height: 100%;
}
.stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 15px;
}
.testimonial-text {
    font-style: italic;
    color: #334155;
    margin-bottom: 20px;
}
.patient-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.patient-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #cbd5e1;
}

/* Sıkça Sorulan Sorular (Accordion) */
.lume-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
}
.lume-accordion .accordion-button {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary);
    padding: 20px 24px;
    background: #ffffff;
    box-shadow: none;
}
.lume-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--bg-light);
}
.lume-accordion .accordion-body {
    padding: 20px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

/* Randevu CTA Bölümü */
.appointment-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #0a0f1d 100%);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.appointment-section h2 {
    color: #ffffff;
}

/* Footer */
.lume-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.lume-footer h5 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 22px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 60px;
    font-size: 14px;
}

/* Kayan WhatsApp ve Acil Butonu */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}
.floating-btn:hover {
    transform: scale(1.1);
}
.btn-float-wa { background: #25d366; }
.btn-float-phone { background: var(--primary); }

/* Çerez Bildirimi (Cookie Consent Banner) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: none;
}
