
/* ==========================================
   ÖZEL BATI TIP MERKEZİ - ANA STİL DOSYASI
   Tam Sürüm - Mobil Uyumlu - Sabit Alt Bar (Şeffaf Arka Plan)
   ========================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    width: 100%; max-width: 100vw; overflow-x: hidden !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff; color: #333; -webkit-font-smoothing: antialiased;
    /* padding-bottom: 70px; satırı SİLİNDİ, artık en altta boşluk kalmayacak */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

:root {
    --navy: #003366; --blue: #0878cf; --red: #ed1c24;
    --text: #4a5568; --bg-light: #f8fafc;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* =========================
   ÜST BAR (Top Bar)
   ========================= */
.top-bar {
    width: 100%; background: #ffffff; color: #333; padding: 8px 0;
    border-bottom: 1px solid #eee; font-size: 14px; font-weight: 600;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-phones { display: flex; gap: 20px; align-items: center; }
.contact-item { display: flex; align-items: center; gap: 8px; }
.top-right-group { display: flex; align-items: center; gap: 20px; }
.top-socials { display: flex; gap: 8px; }
.top-socials a {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; transition: 0.3s;
}
.bg-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.bg-fb { background: #1877F2; }
.top-socials a:hover { transform: translateY(-2px); opacity: 0.9; }
.lang-container a { padding: 4px 8px; margin-left: 5px; font-size: 13px; font-weight: bold; border-radius: 4px; transition: 0.3s; }
.lang-container a.active { background: var(--blue); color: white; }

/* =========================
   ANA MENÜ
   ========================= */
.main-nav { width: 100%; background: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px; }
.logo-img { height: 65px; width: auto; object-fit: contain; transition: height 0.3s ease; }
.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-links a { color: var(--navy); font-weight: 700; font-size: 15px; transition: 0.3s; }
.nav-links a:hover { color: var(--red); }
.btn-randevu { background: var(--red) !important; color: #fff !important; padding: 10px 20px !important; border-radius: 6px !important; display: flex; align-items: center; gap: 8px; }
.btn-randevu:hover { background: #d01820 !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; padding: 5px; }

/* =========================
   HERO 
   ========================= */
.hero { position: relative; width: 100%; height: 550px; margin-top: 0; background: #eef8ff; overflow: hidden; }
.hero-slider-track, .hero-slide { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: right center; background-repeat: no-repeat; opacity: 0; visibility: hidden; transition: 0.5s ease; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-overlay { width: 100%; height: 100%; display: flex; align-items: center; background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0) 100%); }
.hero-copy { max-width: 550px; padding: 20px 0; }
.eyebrow { letter-spacing: 2px; color: var(--navy); font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.hero h1 { font-size: 55px; line-height: 1.1; color: var(--red); font-weight: 900; margin: 0; }
.script { font: 40px cursive; color: var(--navy); margin-bottom: 15px; }
.hero p { font-size: 16px; color: var(--text); line-height: 1.6; margin-bottom: 25px; }
.buttons { display: flex; gap: 15px; }
.btn { padding: 12px 24px; border-radius: 30px; font-weight: 700; transition: 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn.red { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn.outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* =========================
   ÖZELLİKLER (Canlı Hover Efekti)
   ========================= */
.features { position: relative; z-index: 10; margin-top: -40px; }
.featuregrid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.feature {
    padding: 25px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    border-right: 1px solid #eee; font-size: 13px; color: var(--navy);
    position: relative; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff; cursor: pointer;
}
.feature:first-child { border-radius: 12px 0 0 12px; }
.feature:last-child { border-right: none; border-radius: 0 12px 12px 0; }

.feature-icon {
    width: 55px; height: 55px; border-radius: 50%;
    background: rgba(8,120,207,0.08); color: var(--blue);
    display: grid; place-items: center; font-size: 26px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    background: #f8fdff;
    box-shadow: 0 15px 35px rgba(8, 120, 207, 0.15);
    z-index: 2;
    border-radius: 10px;
    border-right-color: transparent;
}
.feature:hover .feature-icon {
    background: var(--red);
    color: #fff;
    transform: scale(1.15) rotate(-5deg);
}

/* =========================
   POLİKLİNİKLER (Sadece Görsel Slider)
   ========================= */
#poliklinikler { padding: 60px 0; overflow: hidden; background: #f8fafc; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.title { font-size: 24px; color: #ed1c24; letter-spacing: 2px; font-weight: 800; margin: 0; }
.view-all { color: var(--navy); font-weight: 700; font-size: 14px; }

.service-carousel { position: relative; width: 100%; }
.service-window { width: 100%; overflow: hidden; padding: 20px 0; }
.service-track { display: flex; gap: 20px; transition: transform 0.4s ease; width: max-content; }
.service-slide-item { flex: 0 0 calc((1200px - 100px) / 6); box-sizing: border-box; }

.birim-card-temiz {
    display: block; width: 100%; background: transparent !important;
    padding: 0; border: none; box-shadow: none; transition: transform 0.3s ease;
}
.birim-card-temiz img {
    width: 100%; height: auto; object-fit: contain; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: all 0.3s ease;
    background: #fff; 
}
.birim-card-temiz:hover { transform: translateY(-5px); }
.birim-card-temiz:hover img { box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

.slider-btn {
    position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
    width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #eee;
    color: var(--navy); box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-size: 20px; transition: 0.3s;
}
.slider-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.slider-prev { left: -20px; }
.slider-next { right: -20px; }

/* =========================
   KARTLAR & FOOTER
   ========================= */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0; }
.card { position: relative; border-radius: 16px; overflow: hidden; min-height: 250px; display: flex; align-items: center; padding: 40px; }
.blue-card { background: #eef8ff; }
.gray-card { background: #f5f5f5; }
.card-content { position: relative; z-index: 2; max-width: 60%; }
.card-image-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; background-size: cover; background-position: center; mask-image: linear-gradient(to right, transparent, black 40%); -webkit-mask-image: linear-gradient(to right, transparent, black 40%); }
.card h3 { font-size: 28px; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.smallbtn { display: inline-block; padding: 10px 20px; border-radius: 25px; font-weight: 700; margin-top: 15px; font-size: 13px; }
.outline-red { border: 2px solid var(--red); color: var(--red); background: transparent; }
.red-btn { background: var(--red); color: #fff; transition: 0.3s; }
.red-btn:hover { background: #d01820; box-shadow: 0 5px 15px rgba(237,28,36,0.3); }

.info-band { border-top: 1px solid #eee; padding: 40px 0; }
.info-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.info-item { display: flex; align-items: center; gap: 15px; }
.info-item strong { color: var(--navy); font-size: 16px; display: block; }
.info-item p { font-size: 13px; color: var(--text); margin-top: 3px; }

.site-footer { background: #f8fafc; padding-top: 50px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.logo-col img { max-width: 200px; margin-bottom: 15px; }
.footer-script { font: 24px cursive; color: var(--navy); }
.contact-col ul { list-style: none; padding: 0; line-height: 2; font-size: 14px; font-weight: 600; color: var(--navy); }
.social-col strong { color: var(--navy); margin-bottom: 15px; display: block; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ddd; color: #fff; font-size: 18px; transition: 0.3s; }
.footer-socials a:hover { transform: translateY(-3px); }

.footer-bottom { background: #002347; color: #fff; padding: 20px 0; font-size: 13px; }
.bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.bottom-links a { color: #ccc; margin: 0 5px; transition: 0.3s; }
.bottom-links a:hover { color: #fff; }
.bottom-script { font: 18px cursive; }

/* =========================================================
   SABİT ALT BAR: WHATSAPP, TELEFON, INSTAGRAM
   (Masaüstünde Sağ Alt, Mobilde Alt Tam Genişlik - ŞEFFAF)
   ========================================================= */

.fixed-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    background: transparent !important; /* Arka plan kaldırıldı */
    box-shadow: none !important;        /* Gölge kaldırıldı */
    z-index: 9999 !important;
    padding: 15px 25px !important;
}

.fixed-bar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bar-btn i { font-size: 20px; }

.bar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Buton Renkleri */
.btn-whatsapp { background: #25D366; }
.btn-phone { background: #FFC107; color: #000000 !important; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* =========================
   MOBİL UYUM (RESPONSIVE)
   ========================= */
@media (max-width: 992px) {
    .d-none-mobile { display: none; }
    .logo-img { height: 85px !important; } 
    .menu-toggle { display: block; font-size: 34px !important; color: var(--red); padding: 5px 10px; } 
    
    .nav-links { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); text-align: center; }
    .nav-links.active { display: flex; }
    
    .hero { height: auto; min-height: 450px; }
    .hero-slide-overlay { background: rgba(255,255,255,0.9); justify-content: center; text-align: center; padding: 40px 15px; }
    .hero-copy { margin: 0 auto; }
    .buttons { justify-content: center; }
    
    .featuregrid { grid-template-columns: repeat(3, 1fr); }
    .feature { border-bottom: 1px solid #eee; border-radius: 0 !important; }
    .feature:nth-child(3) { border-right: none; }
    
    .cards { grid-template-columns: 1fr; }
    .info-band-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-col ul li { justify-content: center; display: flex; gap: 10px; flex-direction: column; }
    .footer-socials { justify-content: center; }
    .bottom-inner { justify-content: center; text-align: center; }
    
    .service-slide-item { flex: 0 0 calc((100vw - 30px) / 4); }
}

@media (max-width: 768px) {
    body { padding-bottom: 70px; } 
    .hero h1 { font-size: 38px; }
    .featuregrid { grid-template-columns: repeat(2, 1fr); margin-top: 0; border-radius: 0; }
    .feature { padding: 15px 10px; }
    .feature:nth-child(even) { border-right: none; }
    .features { margin-top: 0; }
    
    .slider-prev, .slider-next { display: none; }
    .service-slide-item { flex: 0 0 calc(50vw - 20px); }
    .service-track { gap: 10px; }
    
    .card-content { max-width: 100%; position: relative; z-index: 5; text-align: center; }
    .card-image-bg { width: 100%; opacity: 0.15; mask-image: none; -webkit-mask-image: none; }
    .card { padding: 30px 20px; justify-content: center; }

    /* MOBİLDE ÇUBUK AYARLARI */
    .fixed-bottom-bar { 
        width: 100% !important; 
        left: 0 !important; 
        padding: 10px 15px !important; 
        background: transparent !important; /* Mobilde de şeffaf yapar */
        box-shadow: none !important; /* Mobilde gölgeyi kaldırır */
    }
    .fixed-bar-inner { 
        justify-content: center !important; 
        gap: 8px !important; 
    }
    .bar-btn { padding: 10px 12px; font-size: 13px; flex: 1; }
    .bar-btn i { font-size: 16px; }
}

@media (max-width: 480px) {
    .logo-img { height: 75px !important; } 
    .top-phones { flex-direction: column; gap: 5px; align-items: flex-start; }
    .top-bar-inner { flex-direction: column; align-items: center; }
    .hero h1 { font-size: 32px; }
}

@media (max-width: 400px) {
    .bar-btn { padding: 8px 6px; font-size: 11px; }
    .bar-btn i { font-size: 14px; }
}