/* e-Randevu Ana Sayfa CSS */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
    --blue:#2563eb;--blue-dark:#1d4ed8;--blue-light:#eff6ff;
    --green:#059669;--green-light:#dcfce7;
    --gray:#6b7280;--gray-light:#e5e7eb;--text:#111827;
    --white:#ffffff;
}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{font-family:'DM Sans',sans-serif;background:var(--white);color:var(--text);overflow-x:hidden;width:100%;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;}

/* HEADER */
header{background:white;border-bottom:1px solid var(--gray-light);position:sticky;top:0;z-index:200;box-shadow:0 1px 8px rgba(0,0,0,0.06);}
.header-inner{max-width:1200px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between;}
.logo{display:flex;align-items:center;gap:10px;}
.logo-icon{font-size:28px;}
.logo-text{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--text);}
.logo-text span{color:var(--blue);}
.header-nav{display:flex;align-items:center;gap:20px;}
.nav-link{font-size:14px;font-weight:500;color:var(--gray);transition:color 0.2s;}
.nav-link:hover{color:var(--text);}
.btn-giris{padding:8px 20px;background:var(--blue);color:white;border-radius:10px;font-size:14px;font-weight:600;transition:background 0.2s;}
.btn-giris:hover{background:var(--blue-dark);}
.hasta-badge{background:var(--green-light);padding:7px 14px;border-radius:999px;font-size:13px;color:var(--green);font-weight:500;}

/* MOBİL MENÜ */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;background:none;border:none;}
.hamburger span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:all 0.3s;}
.mobile-menu{display:none;position:fixed;top:64px;left:0;right:0;background:white;padding:16px 24px;border-bottom:1px solid var(--gray-light);box-shadow:0 4px 12px rgba(0,0,0,0.1);z-index:199;}
.mobile-menu.open{display:flex;flex-direction:column;gap:12px;}
.mobile-menu a{font-size:15px;font-weight:500;color:var(--text);padding:10px 0;border-bottom:1px solid var(--gray-light);}
.mobile-menu a:last-child{border-bottom:none;}

/* HERO */
.hero{background:linear-gradient(135deg,#1e40af 0%,#2563eb 40%,#3b82f6 70%,#60a5fa 100%);padding:80px 24px 100px;text-align:center;position:relative;overflow:visible;}
.hero::before{content:'';position:absolute;width:600px;height:600px;border-radius:50%;background:rgba(255,255,255,0.04);top:-200px;right:-200px;pointer-events:none;}
.hero::after{content:'';position:absolute;width:400px;height:400px;border-radius:50%;background:rgba(255,255,255,0.03);bottom:-100px;left:-100px;pointer-events:none;}
.hero-content{max-width:700px;margin:0 auto;position:relative;z-index:1;}
.hero-badge{display:inline-block;background:rgba(255,255,255,0.15);color:white;padding:6px 16px;border-radius:999px;font-size:13px;font-weight:500;margin-bottom:20px;border:1px solid rgba(255,255,255,0.2);}
.hero h1{font-family:'Playfair Display',serif;font-size:48px;font-weight:700;color:white;line-height:1.15;margin-bottom:16px;}
.hero h1 span{color:#93c5fd;}
.hero p{font-size:18px;color:rgba(255,255,255,0.85);margin-bottom:40px;line-height:1.6;}

/* ARAMA */
.search-form-wrap{position:relative;z-index:100;}
.search-box{background:white;border-radius:20px;padding:8px;box-shadow:0 8px 40px rgba(0,0,0,0.2);display:flex;gap:8px;max-width:680px;margin:0 auto;position:relative;}
.search-input{flex:1;min-width:0;padding:14px 20px;border:none;outline:none;font-size:16px;font-family:'DM Sans',sans-serif;color:var(--text);border-radius:14px;background:#f9fafb;}
.search-input::placeholder{color:var(--gray);}
.search-input:focus{background:white;}
.search-btn{padding:14px 28px;background:var(--blue);color:white;border:none;border-radius:14px;font-size:15px;font-weight:600;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background 0.2s;white-space:nowrap;flex-shrink:0;}
.search-btn:hover{background:var(--blue-dark);}

/* AUTOCOMPLETE */
.autocomplete-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,0.2);overflow-y:auto;max-height:320px;display:none;z-index:9999;}
.autocomplete-item{padding:14px 20px;cursor:pointer;border-bottom:1px solid var(--gray-light);transition:background 0.15s;}
.autocomplete-item:last-child{border-bottom:none;}
.autocomplete-item:hover{background:#f9fafb;}
.ac-name{font-size:14px;font-weight:600;color:var(--text);}
.ac-addr{font-size:12px;color:var(--gray);margin-top:2px;}

.hero-stats{display:flex;gap:32px;justify-content:center;margin-top:32px;flex-wrap:wrap;}
.hero-stat{color:white;text-align:center;}
.hero-stat .num{font-size:28px;font-weight:700;}
.hero-stat .lbl{font-size:13px;opacity:0.75;margin-top:2px;}

/* ŞEHİR FİLTRELERİ */
.sehir-section{background:#f8faff;padding:20px 24px;border-bottom:1px solid var(--gray-light);}
.sehir-inner{max-width:1200px;margin:0 auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.sehir-label{font-size:13px;font-weight:600;color:var(--gray);margin-right:4px;white-space:nowrap;}
.sehir-btn{padding:7px 16px;border:1.5px solid var(--gray-light);border-radius:999px;font-size:13px;background:white;cursor:pointer;transition:all 0.2s;font-family:'DM Sans',sans-serif;color:var(--gray);display:inline-block;}
.sehir-btn:hover,.sehir-btn.active{background:var(--blue);border-color:var(--blue);color:white;}

/* SONUÇLAR */
.results-section{max-width:1200px;margin:0 auto;padding:40px 24px;}
.results-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:8px;}
.results-title{font-size:20px;font-weight:600;color:var(--text);}
.results-count{font-size:14px;color:var(--gray);}

.klinik-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;}
.klinik-card{background:white;border-radius:20px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.07);border:1.5px solid var(--gray-light);transition:all 0.2s;display:flex;flex-direction:column;}
.klinik-card:hover{transform:translateY(-3px);box-shadow:0 8px 28px rgba(0,0,0,0.12);border-color:var(--blue);}
.klinik-header{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px;}
.klinik-avatar{width:52px;height:52px;border-radius:14px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;overflow:hidden;}
.klinik-avatar img{width:100%;height:100%;object-fit:cover;}
.klinik-name{font-size:17px;font-weight:700;color:var(--text);margin-bottom:3px;}
.klinik-city{font-size:13px;color:var(--blue);font-weight:500;}
.klinik-address{font-size:13px;color:var(--gray);margin-bottom:14px;display:flex;align-items:flex-start;gap:6px;}
.klinik-address::before{content:'📍';flex-shrink:0;}
.klinik-plan{display:inline-block;font-size:11px;font-weight:600;padding:3px 10px;border-radius:999px;margin-bottom:14px;}
.klinik-plan.pro{background:#dcfce7;color:var(--green);}
.klinik-plan.enterprise{background:#f3e8ff;color:#7c3aed;}
.klinik-plan.basic{background:var(--blue-light);color:var(--blue);}
.btn-randevu{display:block;padding:11px;background:var(--blue);color:white;border-radius:12px;font-size:14px;font-weight:600;text-align:center;transition:background 0.2s;margin-top:auto;}
.btn-randevu:hover{background:var(--blue-dark);}

/* ÖNE ÇIKAN */
.featured-section{background:linear-gradient(135deg,#f0f9ff,var(--blue-light));padding:60px 24px;}
.section-inner{max-width:1200px;margin:0 auto;}
.section-title{font-size:26px;font-weight:700;color:var(--text);margin-bottom:8px;}
.section-sub{font-size:15px;color:var(--gray);margin-bottom:32px;}

/* NASIL ÇALIŞIR */
.how-section{padding:60px 24px;background:white;}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:900px;margin:32px auto 0;}
.step-card{text-align:center;padding:32px 24px;}
.step-num{width:52px;height:52px;border-radius:50%;background:var(--blue-light);color:var(--blue);font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.step-title{font-size:16px;font-weight:600;margin-bottom:8px;}
.step-desc{font-size:14px;color:var(--gray);line-height:1.6;}

/* CTA */
.cta-section{background:linear-gradient(135deg,#1e40af,#2563eb);padding:48px 24px;text-align:center;}
.cta-inner{max-width:600px;margin:0 auto;}
.cta-icon{font-size:32px;margin-bottom:12px;}
.cta-title{font-family:'Playfair Display',serif;font-size:28px;color:white;margin-bottom:10px;}
.cta-desc{color:rgba(255,255,255,0.8);font-size:15px;margin-bottom:24px;}
.cta-btn{display:inline-block;background:white;color:#2563eb;padding:14px 32px;border-radius:14px;font-size:16px;font-weight:700;text-decoration:none;transition:transform 0.2s,box-shadow 0.2s;}
.cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.2);}

/* FOOTER */
footer{background:#111827;color:white;padding:40px 24px;text-align:center;}
.footer-inner{max-width:1200px;margin:0 auto;}
.footer-logo{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;margin-bottom:12px;}
.footer-logo span{color:#60a5fa;}
.footer-links{display:flex;gap:24px;justify-content:center;margin-bottom:16px;flex-wrap:wrap;}
.footer-links a{font-size:14px;color:rgba(255,255,255,0.6);transition:color 0.2s;}
.footer-links a:hover{color:white;}
.footer-copy{font-size:13px;color:rgba(255,255,255,0.4);}

.empty-state{text-align:center;padding:60px 20px;color:var(--gray);}
.empty-state .icon{font-size:48px;margin-bottom:12px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* MOBİL */
@media(max-width:768px){
    .header-nav{display:none;}
    .hamburger{display:flex;}
    .hero{padding:50px 16px 80px;}
    .hero h1{font-size:30px;}
    .hero p{font-size:15px;margin-bottom:28px;}
    .search-box{flex-direction:column;padding:10px;}
    .search-input{padding:12px 16px;}
    .search-btn{width:100%;text-align:center;padding:12px;}
    .hero-stats{gap:20px;margin-top:24px;}
    .hero-stat .num{font-size:22px;}
    .steps-grid{grid-template-columns:1fr;}
    .klinik-grid{grid-template-columns:1fr;}
    .results-section{padding:24px 16px;}
    .featured-section{padding:40px 16px;}
    .how-section{padding:40px 16px;}
    .cta-section{padding:40px 16px;}
    .cta-title{font-size:22px;}
    .footer-links{gap:16px;}
    .sehir-inner{gap:8px;}
    .section-title{font-size:22px;}
}
@media(max-width:480px){
    .hero h1{font-size:24px;}
    .hero-stats{flex-direction:column;gap:10px;}
    .header-inner{padding:0 16px;}
    .klinik-grid{grid-template-columns:1fr;}
}