/* ===== CSS Variables ===== */
:root {
    --banner-img: url('../img/hero-bg.jpg');
    --banner-zoom: cover;   /* cover = tam kaplama (orijinal); % değeri = zoom-out */
    --banner-fallback: #12303c;
    --primary: #3F9AAE;
    --primary-dark: #2D7A8C;
    --primary-light: #E8F4F7;
    --primary-lighter: #F2F9FB;
    --secondary: #1B3A4B;
    --accent: #2EC4B6;
    --text-dark: #1a2332;
    --text-body: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f7fafb;
    --border: #e2e8f0;
    --header-bg: #ffffff;
    --footer-bg: #1B3A4B;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-btn: 10px;
    --transition: 0.3s ease;
    --container: 1200px;
    --header-h: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header:not(.hero-mode) {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

.header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.header.hero-mode:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, transparent 100%);
}

.header.hero-mode:not(.scrolled) .nav-links a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.header.hero-mode:not(.scrolled) .nav-links a:hover,
.header.hero-mode:not(.scrolled) .nav-links a.active {
    color: var(--white);
    opacity: 1;
}

.header.hero-mode:not(.scrolled) .nav-links a::after {
    background: var(--white);
}

.header.hero-mode:not(.scrolled) .nav-dropdown-menu {
    border-color: rgba(255,255,255,0.15);
}

.header.hero-mode:not(.scrolled) .nav-cta {
    color: var(--white) !important;
    background: none;
}

.header.hero-mode:not(.scrolled) .nav-cta::after {
    background: var(--white);
}

.header.hero-mode:not(.scrolled) .nav-cta:hover {
    background: none;
    color: var(--white) !important;
}

.header.hero-mode:not(.scrolled) .hamburger span {
    background: var(--white);
}

.header.hero-mode:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown > .nav-dropdown-toggle .dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--white);
    border-top: 0;
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    color: var(--text-body) !important;
    text-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
}

.nav-dropdown-menu a.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ===== İkinci seviye açılır menü (Uzmanlık Alanları > Meme Kanseri) ===== */
.nav-sub {
    position: relative;
}

.nav-sub > .nav-sub-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.nav-sub > .nav-sub-toggle .sub-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-sub:hover > .nav-sub-toggle {
    background: var(--primary-light);
    color: var(--primary) !important;
}

.nav-sub:hover > .nav-sub-toggle .sub-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.nav-sub-menu {
    position: absolute;
    top: -8px;              /* üst dolguyu hizala */
    left: 100%;             /* ana menünün sağına aç */
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 190px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1002;          /* ana açılır menünün (1001) üstünde */
}

.nav-sub:hover > .nav-sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Dar masaüstünde (menü 768px'e kadar açık) sağa açılan menü ekrandan taşar;
   o genişliklerde sola aç. Yatay kaydırma sayfada asla olmamalı. */
@media (max-width: 1100px) {
    .nav-sub-menu {
        left: auto;
        right: 100%;
    }
    /* Ok, menünün açılacağı yönü göstermeli — hover'dan bağımsız olarak sola */
    .nav-sub > .nav-sub-toggle .sub-arrow {
        transform: rotate(180deg);
    }
    .nav-sub:hover > .nav-sub-toggle .sub-arrow {
        transform: rotate(180deg) translateX(2px);   /* dönmüş eksende: sola kayar */
    }
}

/* Mobile nav dropdown */
.mobile-nav .mobile-dropdown-items {
    display: none;
    padding-left: 20px;
    flex-direction: column;
}

.mobile-nav .mobile-dropdown-items.open {
    display: flex;
}

.mobile-nav .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-nav .mobile-dropdown-toggle .dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    background: none;
    color: var(--text-body) !important;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

.nav-cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-cta:hover {
    background: none;
    transform: none;
    color: var(--primary) !important;
}

.nav-cta:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 12px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-fallback) var(--banner-img) center center / var(--banner-zoom) no-repeat;
    z-index: 0;
}

/* WebP destekleyen tarayıcılarda daha küçük dosyayı kullan; desteklemeyen
   tarayıcı yukarıdaki --banner-img (jpg) ile sorunsuz çalışmaya devam eder. */
@supports (background-image: image-set(url('../img/hero-bg.webp') type('image/webp'))) {
    .hero::before,
    .page-header::before {
        background-image: image-set(url('../img/hero-bg.webp') type('image/webp'), var(--banner-img) 1x);
    }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 75, 0.88) 0%,
        rgba(63, 154, 174, 0.75) 50%,
        rgba(27, 58, 75, 0.85) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-content h1 {
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: 0.03em;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 520px;
    color: rgba(255,255,255,0.85);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.hero .btn-primary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63,154,174,0.35);
    color: var(--white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero'da yan kutu ızgarası yoksa (hero-solo) metin iki kolona bölünmesin;
   tek kolona geçip okunabilir bir genişlikte kalsın. */
.hero.hero-solo .container {
    grid-template-columns: 1fr;
    /* .hero bir flex kapsayıcı, .container onun flex öğesi. Flex öğesi
       içeriğe göre büzülür: yan kutular varken içerik 1200px'e dayanıyordu,
       kutular kalkınca öğe ~690px'e düştü ve .container'daki "margin: 0 auto"
       onu sayfanın ortasına aldı. width:100% olmadan metin sola dayanmaz —
       asıl sorun text-align değil, kapsayıcının genişliğiydi. */
    width: 100%;
    /* 1024px altındaki genel kural hero metnini ortalıyor; iki kolon
       çöktüğünde mantıklıydı. hero-solo zaten tek kolon olduğu için
       metin masaüstü/tablette sola dayalı kalsın. */
    text-align: left;
}
.hero.hero-solo .hero-content p {
    max-width: 640px;
    margin-left: 0;
    margin-right: 0;
}
.hero.hero-solo .hero-buttons {
    justify-content: flex-start;
}
/* Mobilde ortalı kalsın (masaüstü ve tablette sola dayalı).
   Yukarıdaki hero-solo kurallarıyla aynı özgüllükte ama daha sonra
   geldiği için mobilde onları ezer. */
@media (max-width: 768px) {
    .hero.hero-solo .container { text-align: center; }
    .hero.hero-solo .hero-content p { margin-left: auto; margin-right: auto; }
    .hero.hero-solo .hero-buttons { justify-content: center; }
}

.hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-highlight-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 24px;
    transition: background var(--transition);
}

/* İçeriği olmayan yer tutucu kutu: ızgara dengesi için durur, dolgusu yoktur.
   Yüksekliği aynı satırdaki dolu kutudan gelir (grid varsayılanı: stretch). */
.hero-highlight-card.is-empty {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(255,255,255,0.08);
}

.hero-highlight-card:hover {
    background: rgba(255,255,255,0.18);
}

.hero-highlight-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-highlight-card .icon svg {
    width: 22px;
    height: 22px;
}

.hero-highlight-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-highlight-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
    max-width: none;
}


/* ===== Section common ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* ===== Specialization Cards ===== */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spec-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.spec-card:hover::before {
    transform: scaleX(1);
}

.spec-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.spec-card .card-icon svg {
    width: 28px;
    height: 28px;
}

.spec-card h3 {
    margin-bottom: 10px;
}

.spec-card p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}

.spec-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}

.spec-card:hover .card-link {
    gap: 10px;
}

/* ===== Stats ===== */
.stats-section {
    background: var(--secondary);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

/* ===== Info Cards (Hastalar icin) ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card .card-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.info-card p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    opacity: 0.3;
    min-height: 400px;
}

.about-content .section-label {
    margin-bottom: 8px;
}

.about-content h2 {
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-highlight-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-card:last-child {
    border-bottom: none;
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-info-card a {
    color: var(--primary);
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.contact-form h3 {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(63,154,174,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Map ===== */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
    border: 1px solid var(--border);
    height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tam genişlik harita (iletişim sayfası): .container dışında durur,
   kenardan kenara uzanır; yuvarlak köşe ve yan çerçeve yok. */
.map-wrapper.map-full {
    border-radius: 0;
    border-left: none;
    border-right: none;
    height: 420px;
}

@media (max-width: 768px) {
    .map-wrapper.map-full { height: 320px; }
}

/* ===== Footer ===== */
.footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo img {
    height: 44px;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

/* ===== Scroll to top ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
    position: relative;
    padding: 160px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-fallback) var(--banner-img) center center / var(--banner-zoom) no-repeat;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 75, 0.88) 0%,
        rgba(63, 154, 174, 0.75) 50%,
        rgba(27, 58, 75, 0.85) 100%
    );
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary-lighter);
}

/* ===== About Page Detail ===== */
.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.about-sidebar {
    position: sticky;
    top: 100px;
}

.about-photo {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    margin-bottom: 24px;
    aspect-ratio: 3/4;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    opacity: 0.3;
    min-height: 350px;
}

.about-info-box {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 24px;
}

.about-info-box h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.about-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(63,154,174,0.15);
}

.about-info-list li:last-child {
    border-bottom: none;
}

.about-info-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-body h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.about-body h3:first-child {
    margin-top: 0;
}

.about-body p {
    margin-bottom: 14px;
}

.about-body ul {
    margin-bottom: 14px;
    padding-left: 0;
}

.about-body ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.95rem;
}

.about-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}

/* ===== Specialization Page ===== */
.spec-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 24px;
    transition: box-shadow var(--transition);
}

.spec-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.spec-detail-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.spec-detail-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-detail-card .card-icon svg {
    width: 28px;
    height: 28px;
}

.spec-detail-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 12px;
}

/* Kart içi ara başlık (ör. "Neden olur?" / "Baş etmek için") */
.spec-detail-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 22px 0 8px;
}

.spec-detail-card ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 0.93rem;
}

.spec-detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ===== Patient Info Page ===== */
.patient-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.patient-tab {
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
    color: var(--text-body);
    transition: all var(--transition);
}

.patient-tab.active,
.patient-tab:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.patient-content {
    display: none;
}

.patient-content.active {
    display: block;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--primary-lighter);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Mobile Menu Overlay ===== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27,58,75,0.5);
    /* .header fixed + z-index:1000 olduğu için mobil menü onun ÜSTÜNDE olmalı;
       aksi halde header, panelin üst 80px'ini kapatıp kapatma butonunun
       tıklamasını yutuyor (buton görünür ama tepki vermez). */
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 1101;   /* overlay (1100) ve header (1000) üstünde */
    padding: 0 24px 24px;
    transition: right var(--transition);
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
}

/* Kapatma butonunu taşıyan şerit: menü kaydırılsa da üstte sabit kalır
   (panel overflow-y:auto olduğu için position:absolute yukarı kayıyordu). */
.mobile-nav-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    /* panelin yan boşluğunu taşarak kenardan kenara beyaz zemin */
    margin: 0 -24px 4px;
    padding: 10px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;              /* dokunma hedefi */
    height: 44px;
    margin-right: -10px;      /* ikonu panel kenarıyla optik hizala */
    padding: 0;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.mobile-nav-close:hover,
.mobile-nav-close:active {
    background: var(--bg-light);
    color: var(--primary);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-highlights { max-width: 480px; margin: 0 auto; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-detail-grid { grid-template-columns: 1fr; }
    .about-sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    .spec-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-group input,
    .form-group textarea,
    .form-group select { font-size: 16px; }
    .about-highlights { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { min-height: 500px; }
    .hero-highlights { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    /* Dar ekranda geniş harf aralığı başlığı iki satıra bölüp "Yaşar"ı tek başına
       bırakıyordu; aralığı azalt, bölünürse satırları dengele. */
    .hero-content h1 { letter-spacing: 0.01em; text-wrap: balance; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    /* İletişim formu: reCAPTCHA kutusu 304px sabit genişlikte; 36px iç boşlukla birlikte
       375px telefonda form 378px oluyor ve sayfa yana kayıyordu. */
    .contact-grid > * { min-width: 0; }
    .contact-form { padding: 24px 16px; }
    .recaptcha-wrap { overflow: hidden; }
}
@media (max-width: 400px) {
    .recaptcha-wrap .g-recaptcha { transform: scale(0.88); transform-origin: 0 0; height: 70px; }
}

/* ===== Menü sekmesi ikonları ===== */
.nav-ico { width: 17px; height: 17px; flex-shrink: 0; }
.nav-links > a:not(.nav-cta) { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown > .nav-dropdown-toggle { gap: 6px; }
/* İletişim dahil tüm mobil sekmeler aynı hizada: ikon + metin, sola dayalı */
.mobile-nav > a { display: flex; align-items: center; gap: 10px; }
.mobile-nav .mobile-dropdown-toggle .m-label { display: inline-flex; align-items: center; gap: 10px; }

/* ===== SSS: diğerleriyle aynı kart çerçevesi içinde düz metin (akordeon değil) ===== */
.qa-item { margin-bottom: 24px; padding-left: 16px; border-left: 3px solid var(--primary-light); }
.qa-item:last-child { margin-bottom: 0; }
.qa-item h3 { color: var(--secondary); font-size: 1.12rem; margin-bottom: 8px; }
.qa-item p { color: var(--text-body); line-height: 1.85; margin-bottom: 0; }

/* ===== Erişilebilirlik ===== */
/* Klavye ile gezinti için görünür odak halkası (fare tıklamasında görünmez) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* "Hareketi azalt" sistem tercihine saygı: animasyon/geçişleri kapat */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in { opacity: 1 !important; transform: none !important; }
}
