/* ══════════════════════════════════════════════
   AKDENIZ EPILEPSI CERRAHISI DERNEGI
   Ana Stil Dosyası — Logo Renk Uyumlu (Mor/Altın)
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   CSS VARIABLES & THEME
   ══════════════════════════════════════════════ */
:root {
    --navy: #1A0A35;
    --navy-light: #2D1B55;
    --teal: #5B21B6;
    --teal-light: #7C3AED;
    --teal-pale: #EDE9FE;
    --gold: #C5933A;
    --gold-light: #E8C776;
    --coral: #D94F4F;
    --white: #FFFFFF;
    --off-white: #F7F6FA;
    --gray-50: #F9F8FC;
    --gray-100: #F3F0F9;
    --gray-200: #E5DFF0;
    --gray-300: #D1C8E1;
    --gray-400: #9C8FB0;
    --gray-500: #6B5F80;
    --gray-600: #4B4060;
    --gray-700: #372E4E;
    --gray-800: #1F1635;
    --gray-900: #110B22;
    --shadow-sm: 0 1px 2px rgba(26,10,53,0.06);
    --shadow-md: 0 4px 12px rgba(26,10,53,0.1);
    --shadow-lg: 0 12px 32px rgba(26,10,53,0.14);
    --shadow-xl: 0 20px 50px rgba(26,10,53,0.18);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="dark"] {
    --navy: #E8E0F2;
    --navy-light: #C4B5DC;
    --white: #0F0A1E;
    --off-white: #1A1030;
    --gray-50: #1A1030;
    --gray-100: #231545;
    --gray-200: #33255A;
    --gray-300: #463570;
    --gray-400: #9480B0;
    --gray-500: #C4B5DC;
    --gray-600: #DDD0F0;
    --gray-700: #EDE5F8;
    --gray-800: #F5F0FC;
    --gray-900: #FFFFFF;
    --teal-pale: #1E0A3C;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.5);
}

/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════ */
.top-bar {
    background: linear-gradient(135deg, #1A0A35 0%, #2D1B55 100%);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .top-bar {
    background: #08040F;
    color: rgba(255,255,255,0.7);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover { color: var(--gold-light); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.lang-switch a {
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.lang-switch a.active {
    background: var(--teal);
    color: white;
}

.lang-switch a:hover:not(.active) { color: white; }

.theme-toggle {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 4px;
    transition: var(--transition);
}

.theme-toggle:hover { color: var(--gold-light); }

.social-links-top {
    display: flex;
    gap: 10px;
}

.social-links-top a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links-top a:hover { color: var(--gold-light); }

/* ══════════════════════════════════════════════
   HEADER & NAV
   ══════════════════════════════════════════════ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 100%);
}

.logo-icon svg { width: 30px; height: 30px; fill: white; z-index: 1; }

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .logo-text h1 { color: var(--gray-900); }

.logo-text span {
    font-size: 0.72rem;
    color: var(--teal);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a, .nav-dropdown { position: relative; }

.main-nav > a, .nav-dropdown > a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav > a:hover, .nav-dropdown:hover > a {
    color: var(--teal);
    background: var(--teal-pale);
}

.main-nav > a.active, .nav-dropdown.active > a {
    color: var(--teal);
    background: var(--teal-pale);
    font-weight: 600;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background: var(--teal-pale);
    color: var(--teal);
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--teal);
    opacity: 0.7;
}

.nav-cta {
    margin-left: 12px;
    display: flex;
    gap: 8px;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(91,33,182,0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(91,33,182,0.4);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-pale);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(197,147,58,0.3);
}

.btn-gold:hover {
    box-shadow: 0 4px 16px rgba(197,147,58,0.4);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.btn-ghost-light {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost-light:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--gray-700);
    padding: 8px;
}

/* ══════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════ */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-close {
    font-size: 1.4rem;
    color: var(--gray-700);
    padding: 8px;
}

.mobile-nav-body {
    padding: 16px 24px;
    flex: 1;
}

.mobile-nav-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-body a:hover { color: var(--teal); }

.mobile-nav-body a i { width: 20px; text-align: center; color: var(--teal); }

.mobile-nav-footer {
    padding: 16px 24px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--gray-200);
}

.mobile-nav-footer .btn { flex: 1; justify-content: center; }

/* ══════════════════════════════════════════════
   AD SLOTS
   ══════════════════════════════════════════════ */
.ad-banner {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
    text-align: center;
}

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.ad-slot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.015) 10px, rgba(0,0,0,0.015) 20px);
}

.ad-slot-leaderboard { max-width: 728px; height: 90px; margin: 0 auto; }
.ad-slot-sidebar { width: 100%; height: 250px; }
.ad-slot-inline { max-width: 100%; height: 120px; margin: 32px 0; }

.ad-slot span {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ad-slot span i { font-size: 1.2rem; opacity: 0.5; }

.ad-label {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.6rem;
    color: var(--gray-400);
    letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════════
   PAGE HERO (Sub-pages)
   ══════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, #1A0A35 0%, #2D1B55 50%, #5B21B6 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); font-size: 0.6rem; }
.breadcrumb .current { color: rgba(255,255,255,0.8); font-weight: 500; }

.page-hero h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   HERO SECTION (Homepage)
   ══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A0A35 0%, #2D1B55 50%, #5B21B6 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: float 20s infinite ease-in-out;
}

.hero-particle:nth-child(1) { width: 300px; height: 300px; top: -50px; right: -100px; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 200px; height: 200px; bottom: -80px; left: 10%; animation-delay: -5s; }
.hero-particle:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 20%; animation-delay: -10s; }
.hero-particle:nth-child(4) { width: 80px; height: 80px; top: 20%; left: 30%; animation-delay: -15s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h2 .highlight { color: var(--gold-light); font-style: italic; }

.hero-content p {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 460px;
}

.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-card-header h3 { color: white; font-size: 1.1rem; font-weight: 600; }
.hero-card-header span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.upcoming-event {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}

.upcoming-event:hover { background: rgba(255,255,255,0.1); }

.upcoming-event-date {
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.upcoming-event-title { color: white; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }

.upcoming-event-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}

.upcoming-event-meta i { font-size: 0.7rem; }

/* ══════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════ */
.ticker {
    background: var(--teal-pale);
    border-bottom: 1px solid rgba(91,33,182,0.15);
    padding: 10px 0;
    overflow: hidden;
}

[data-theme="dark"] .ticker { border-color: rgba(91,33,182,0.3); }

.ticker .container { display: flex; align-items: center; gap: 16px; }

.ticker-label {
    background: var(--teal);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content { overflow: hidden; flex: 1; min-width: 0; }

.ticker-track {
    display: flex;
    gap: 60px;
    animation: scroll-ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-track span { font-size: 0.85rem; color: #000; font-weight: 500; }
.ticker-track span::before { content: '◆'; margin-right: 8px; font-size: 0.5rem; vertical-align: middle; opacity: 0.5; }

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════ */
.section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--teal-pale);
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
.about-section { background: var(--off-white); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--teal-pale) 0%, var(--gray-100) 100%);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--teal);
}

.about-image-placeholder i { font-size: 3rem; opacity: 0.4; }
.about-image-placeholder span { font-size: 0.85rem; opacity: 0.6; }

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 18px;
    line-height: 1.3;
}

.about-content p { color: var(--gray-600); margin-bottom: 24px; font-size: 1rem; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    min-width: 0;
}

.about-feature:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.about-feature h4 { font-size: 0.88rem; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.about-feature p { font-size: 0.78rem; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* ══════════════════════════════════════════════
   BOARD CARDS — GÜNCELLENDİ
   ══════════════════════════════════════════════ */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.board-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 24px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.board-card:hover::before { transform: scaleX(1); }
.board-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Fotoğraf wrapper — ring efekti için */
.board-avatar-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 44px;   /* fotoğraf ile isim arası daha da açıldı */
    padding: 4px;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    transition: var(--transition);
    flex-shrink: 0;
}

.board-card:hover .board-avatar-wrap {
    box-shadow: 0 0 0 4px var(--teal-pale);
}

/* Placeholder avatar (fotoğraf yoksa) */
.board-avatar {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-pale), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 4.5rem;
    border: none;
}

/* Fotoğraf varsa */
.board-avatar-img {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: none;
    transition: var(--transition);
}

.board-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
    padding-top: 10px;
    line-height: 1.3;
    width: 100%;
}

/* İsim altına ince ayraç çizgi */
.board-card h4::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    border-radius: 2px;
    margin: 6px auto 0;
}

.board-card .board-title {
    font-size: 0.78rem;
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-top: 0;
    width: 100%;
}

.board-card .board-inst {
    font-size: 0.82rem;
    color: var(--gray-400);
    line-height: 1.4;
    width: 100%;
    padding: 4px 8px;
    background: var(--gray-50);
    border-radius: 4px;
    display: inline-block;
}

/* ══════════════════════════════════════════════
   PATIENT INFO
   ══════════════════════════════════════════════ */
.patient-section { background: linear-gradient(180deg, var(--white) 0%, var(--teal-pale) 100%); }

.patient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.patient-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
    min-width: 0;
}

.patient-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }

.patient-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.patient-card:nth-child(1) .patient-card-icon { background: #EEF2FF; color: #4F46E5; }
.patient-card:nth-child(2) .patient-card-icon { background: #FEF3C7; color: #D97706; }
.patient-card:nth-child(3) .patient-card-icon { background: #ECFDF5; color: #059669; }
.patient-card:nth-child(4) .patient-card-icon { background: #FFF1F2; color: #E11D48; }
.patient-card:nth-child(5) .patient-card-icon { background: #F0F9FF; color: #0284C7; }
.patient-card:nth-child(6) .patient-card-icon { background: #FDF4FF; color: #A855F7; }

.patient-card h4 { font-size: 1.08rem; font-weight: 600; color: var(--gray-800); margin-bottom: 10px; }
.patient-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 18px; }

.patient-card-link { font-size: 0.84rem; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.patient-card-link i { font-size: 0.7rem; transition: var(--transition); }
.patient-card:hover .patient-card-link i { transform: translateX(4px); }

.patient-disclaimer {
    margin-top: 32px;
    padding: 16px 24px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #92400E;
}

.patient-disclaimer i { font-size: 1.1rem; color: #D97706; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   CONTENT WITH SIDEBAR
   ══════════════════════════════════════════════ */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }

/* ══════════════════════════════════════════════
   EVENTS
   ══════════════════════════════════════════════ */
.events-section { background: var(--off-white); }

.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.event-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    min-width: 0;
}

.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.event-card-image { height: 160px; position: relative; overflow: hidden; }

.event-card-image-inner {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3); font-size: 3rem;
}

.event-type-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    color: white;
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
}

.event-date-badge {
    position: absolute; top: 12px; right: 12px;
    background: white;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.event-date-badge .day { font-size: 1.3rem; font-weight: 700; color: var(--teal); line-height: 1; }
.event-date-badge .month { font-size: 0.65rem; text-transform: uppercase; color: var(--gray-500); letter-spacing: 0.05em; }

.event-card-body { padding: 20px; }
.event-card-body h4 { font-size: 1.05rem; font-weight: 600; color: var(--gray-800); margin-bottom: 10px; line-height: 1.35; }

.event-card-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.event-card-meta span { font-size: 0.82rem; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.event-card-meta span i { width: 14px; text-align: center; color: var(--teal); font-size: 0.75rem; }

.event-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; border-top: 1px solid var(--gray-100);
}

.event-capacity { font-size: 0.78rem; color: var(--gray-400); }

.event-register-btn {
    padding: 6px 16px;
    background: var(--teal-pale); color: var(--teal);
    border-radius: var(--radius-sm);
    font-size: 0.82rem; font-weight: 600;
    transition: var(--transition);
}

.event-register-btn:hover { background: var(--teal); color: white; }

/* ══════════════════════════════════════════════
   LIBRARY
   ══════════════════════════════════════════════ */
.library-grid { display: flex; flex-direction: column; gap: 16px; }

.article-row {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
    min-width: 0;
}

.article-row:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.article-year {
    font-family: var(--font-mono);
    font-size: 0.82rem; color: var(--teal); font-weight: 500;
    background: var(--teal-pale);
    padding: 4px 12px; border-radius: 4px;
    white-space: nowrap;
}

.article-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; line-height: 1.4; }
.article-authors { font-size: 0.8rem; color: var(--gray-500); }
.article-journal { font-size: 0.78rem; color: var(--gray-400); font-style: italic; margin-top: 2px; }

.article-actions { display: flex; gap: 8px; }

.article-action-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; transition: var(--transition);
    border: 1px solid var(--gray-200); color: var(--gray-500);
}

.article-action-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

.article-access-badge {
    font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; padding: 2px 8px; border-radius: 3px; margin-left: 8px;
}

.access-open { background: #ECFDF5; color: #059669; }
.access-member { background: #EDE9FE; color: #5B21B6; }

/* ══════════════════════════════════════════════
   MEMBERSHIP
   ══════════════════════════════════════════════ */
.membership-section {
    background: linear-gradient(135deg, #1A0A35 0%, #2D1B55 50%, #5B21B6 100%);
    position: relative; overflow: hidden;
}

.membership-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath fill-rule='evenodd' d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.membership-section .section-title { color: white; }
.membership-section .section-subtitle { color: rgba(255,255,255,0.6); }
.membership-section .section-badge { background: rgba(255,255,255,0.1); color: var(--gold-light); }

.membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }

.membership-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    min-width: 0;
}

.membership-card.featured { background: rgba(255,255,255,0.12); border-color: var(--gold); position: relative; }

.membership-card.featured::before {
    content: 'Önerilen';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white; font-size: 0.72rem; font-weight: 700;
    padding: 4px 16px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.06em;
    white-space: nowrap;
}

.membership-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }

.membership-card-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.3rem;
}

.membership-card:nth-child(1) .membership-card-icon { background: rgba(124,58,237,0.3); color: #C4B5FD; }
.membership-card:nth-child(2) .membership-card-icon { background: rgba(197,147,58,0.3); color: var(--gold-light); }
.membership-card:nth-child(3) .membership-card-icon { background: rgba(217,79,79,0.2); color: #FCA5A5; }

.membership-card h4 { color: white; font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }

.membership-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-light); margin-bottom: 20px; }
.membership-price span { font-size: 0.85rem; color: rgba(255,255,255,0.4); font-family: var(--font-body); font-weight: 400; }

.membership-features { text-align: left; margin-bottom: 28px; }

.membership-features li {
    padding: 8px 0; font-size: 0.88rem; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.membership-features li:last-child { border: none; }
.membership-features li i { color: #C4B5FD; font-size: 0.75rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-section { background: var(--off-white); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.faq-question {
    padding: 18px 24px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: var(--gray-800);
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover { color: var(--teal); }
.faq-question i { font-size: 0.8rem; color: var(--gray-400); transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--teal); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-info-icon {
    width: 44px; height: 44px;
    background: var(--teal-pale); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1rem; flex-shrink: 0;
}

.contact-info-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.85rem; color: var(--gray-500); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }

.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem; font-family: var(--font-body);
    color: var(--gray-800); background: var(--white);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(91,33,182,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
    background: linear-gradient(135deg, #1A0A35 0%, #221246 50%, #1A0A35 100%);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
}

[data-theme="dark"] .footer { background: #040209; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }

.footer-brand h3 { font-family: var(--font-display); font-size: 1.2rem; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover { background: var(--teal); color: white; }

.footer-col h4 {
    color: white; font-size: 0.9rem; font-weight: 600;
    margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--gold-light); }

.footer-ad { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; }
.footer-ad .ad-slot { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: linear-gradient(135deg, #1A0A35, #2D1B55);
    color: white; padding: 18px 0; z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(0); transition: var(--transition);
}

.cookie-banner.hidden { transform: translateY(100%); }

.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.cookie-text { font-size: 0.85rem; color: rgba(255,255,255,0.8); flex: 1; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn { padding: 8px 20px; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600; transition: var(--transition); }
.cookie-btn-accept { background: var(--teal); color: white; }
.cookie-btn-accept:hover { background: var(--teal-light); }
.cookie-btn-settings { border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.cookie-btn-settings:hover { border-color: white; color: white; }

/* ══════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════ */
.scroll-top {
    position: fixed; bottom: 90px; right: 24px;
    width: 42px; height: 42px;
    background: var(--teal); color: white;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 100;
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--teal-light); transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   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); }

/* ══════════════════════════════════════════════
   POLICY PAGES (KVKK, Gizlilik, Çerez)
   ══════════════════════════════════════════════ */
.policy-content { padding: 60px 0; }

.policy-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-update {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.policy-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 32px 0 14px;
}

.policy-card h3:first-of-type { margin-top: 0; }

.policy-card p { color: var(--gray-600); margin-bottom: 14px; line-height: 1.75; }

.policy-card ul {
    margin-bottom: 14px;
    padding-left: 20px;
    list-style: disc;
}

.policy-card ul li {
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.65;
}

.contact-box {
    margin-top: 40px;
    padding: 24px;
    background: var(--teal-pale);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--teal);
}

.contact-box h4 { color: var(--gray-800); font-size: 1rem; margin-bottom: 8px; }
.contact-box p { color: var(--gray-600); margin: 0; }
.contact-box a { color: var(--teal); font-weight: 600; }

/* ══════════════════════════════════════════════
   CARD (Generic)
   ══════════════════════════════════════════════ */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    min-width: 0;
}

.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }

/* ══════════════════════════════════════════════
   ALERTS & BADGES
   ══════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-success { background: #ECFDF5; color: #059669; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-danger { background: #FEF2F2; color: #DC2626; }
.badge-info { background: #EDE9FE; color: #5B21B6; }
.badge-teal { background: var(--teal-pale); color: var(--teal); }

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #EDE9FE; color: #3730A3; border: 1px solid #C7D2FE; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* Grid taşma önlemi — tüm grid öğelerine min-width:0 */
.about-grid > *,
.about-features > *,
.board-grid > *,
.patient-grid > *,
.events-grid > *,
.membership-grid > *,
.contact-grid > *,
.footer-grid > *,
.hero .container > *,
.content-with-sidebar > *,
.article-row > * {
    min-width: 0;
}

/* Metin taşmasını engelle */
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ══════════════════════════════════════════════
   1024px — Tablet büyük
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content h2 { font-size: 2.4rem; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { display: none; }

    /* 4 → 2 sütun */
    .board-grid      { grid-template-columns: repeat(2, 1fr); }

    /* 3 → 2 sütun */
    .patient-grid    { grid-template-columns: repeat(2, 1fr); }
    .events-grid     { grid-template-columns: repeat(2, 1fr); }
    .membership-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer 4 → 2 sütun */
    .footer-grid     { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   768px — Tablet / büyük telefon
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Top bar */
    .top-bar-left { display: none; }

    /* Nav */
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }

    /* Logo küçültme */
    .logo-icon { width: 42px; height: 42px; }
    .logo-text h1 { font-size: 1rem; }

    /* Hero */
    .hero { min-height: auto; }
    .hero .container { padding-top: 40px; padding-bottom: 40px; }
    .hero-content h2 { font-size: 1.9rem; }
    .hero-stats { display: none; }

    /* ── Board: 2 sütun grid ── */
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .board-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 16px 22px;
    }

    .board-card::before { display: block; }

    .board-avatar-wrap {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        margin: 0 auto 16px;
    }

    .board-avatar {
        width: 92px;
        height: 92px;
        font-size: 2.8rem;
    }

    .board-avatar-img {
        width: 92px;
        height: 92px;
    }

    .board-card h4 {
        font-size: 0.88rem;
        margin-bottom: 8px;
        width: 100%;
    }

    .board-card h4::after {
        margin: 6px auto 0;
    }

    .board-card .board-title {
        font-size: 0.72rem;
        margin-bottom: 5px;
        width: 100%;
    }

    .board-card .board-inst {
        font-size: 0.7rem;
        width: 100%;
    }

    /* ── Tüm kart grid'leri tek sütuna düş ── */
    .about-grid      { grid-template-columns: 1fr; }
    .about-features  { grid-template-columns: 1fr; }
    .patient-grid    { grid-template-columns: 1fr; }
    .events-grid     { grid-template-columns: 1fr; }
    .membership-grid { grid-template-columns: 1fr; }
    .contact-grid    { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; gap: 28px; }

    /* Genel */
    .section { padding: 50px 0; }
    .section-title { font-size: 1.7rem; }
    .page-hero h2 { font-size: 1.7rem; }
    .page-hero p  { font-size: 0.9rem; }
    .page-hero { padding: 36px 0 32px; }

    /* Ad banner */
    .ad-slot-leaderboard { height: 60px; max-width: 100%; }

    /* Cookie */
    .cookie-banner .container { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }

    /* Makale satırları */
    .article-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .article-actions { justify-content: flex-start; }

    /* Policy */
    .policy-card { padding: 28px 20px; }

    /* Hero kart */
    .hero-card { padding: 24px; }

    /* Membership featured etiket kaymasını önle */
    .membership-card.featured { margin-top: 20px; }

    /* Contact form */
    .contact-form { padding: 24px 20px; }

    /* Patient disclaimer */
    .patient-disclaimer { flex-direction: column; text-align: center; }
    .patient-disclaimer i { align-self: center; }
}

/* ══════════════════════════════════════════════
   480px — Küçük telefon
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Container padding azalt */
    .container { padding: 0 16px; }

    /* Hero */
    .hero-content h2 { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Sayfa hero */
    .page-hero { padding: 28px 0 24px; }
    .page-hero h2 { font-size: 1.4rem; }

    /* Bölüm */
    .section-title { font-size: 1.5rem; }
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 36px; }

    /* Board — küçük telefon 2 sütun korunur, wrap küçülür */
    .board-avatar-wrap {
        width: 130px;
        height: 130px;
    }

    .board-avatar {
        width: 72px;
        height: 72px;
        font-size: 2rem;
    }

    .board-avatar-img {
        width: 121px;
        height: 121px;
    }

    .board-card h4 { font-size: 0.8rem; }
    .board-card .board-title { font-size: 0.82rem; }
    .board-card .board-inst { font-size: 0.82rem; padding: 2px 5px; }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links { justify-content: center; }

    /* Contact form */
    .contact-form { padding: 20px 16px; }

    /* Scroll to top */
    .scroll-top { bottom: 80px; right: 16px; }

    /* Hero kart */
    .hero-card { padding: 20px 16px; }

    /* Membership card */
    .membership-card { padding: 28px 20px; }

    /* Ad slot inline */
    .ad-slot-inline { height: 90px; margin: 20px 0; }
}

/* ══════════════════════════════════════════════
   INLINE GRID OVERRİDES (Misyon, Değerler vb.)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* 4 sütunlu inline grid → 2 sütun (tablet) */
    div[style*="grid-template-columns:repeat(4"],
    div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Tüm inline grid'ler → tek sütun */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ══════════════════════════════════════════════
   360px — Çok küçük telefon
   ══════════════════════════════════════════════ */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .page-hero h2 { font-size: 1.25rem; }
    .hero-content h2 { font-size: 1.35rem; }
    .logo-text h1 { font-size: 0.9rem; }
    .logo-text span { font-size: 0.6rem; }
    .logo-icon { width: 38px; height: 38px; }
    .mobile-nav-body a { font-size: 0.9rem; }
    .section-title { font-size: 1.3rem; }
    .cookie-btn { padding: 7px 14px; font-size: 0.78rem; }

    .board-avatar-wrap { width: 70px; height: 70px; }
    .board-avatar, .board-avatar-img { width: 62px; height: 62px; font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════
   NEWS — Manşet Düzeni
   ══════════════════════════════════════════════ */
.news-section { background: var(--off-white); }

/* Ana wrapper: sol manşet + sağ liste */
.news-manshet {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ── Manşet (sol) ── */
.news-manshet-main {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid var(--gray-100);
    transition: var(--transition);
}

.news-manshet-main:hover { background: var(--gray-50); }

.news-manshet-img {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.news-manshet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-manshet-main:hover .news-manshet-img img { transform: scale(1.03); }

.news-manshet-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-light), var(--teal));
    color: rgba(255,255,255,.3);
    font-size: 3.5rem;
}

.news-manshet-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--teal);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
}

.news-manshet-body {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-manshet-date {
    font-size: .78rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-manshet-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.news-manshet-summary {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-manshet-link {
    font-size: .84rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap .2s;
}

.news-manshet-main:hover .news-manshet-link { gap: 10px; }

/* ── Yan haberler (sağ) ── */
.news-manshet-side {
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
}

.news-side-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    transition: var(--transition);
    position: relative;
}

.news-side-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--teal);
    transform: scaleY(0);
    transition: transform .2s ease;
    border-radius: 0 2px 2px 0;
}

.news-side-item:last-child { border-bottom: none; }
.news-side-item:hover { background: var(--white); }
.news-side-item:hover::before { transform: scaleY(1); }

.news-side-thumb {
    width: 86px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.news-side-item:hover .news-side-thumb img { transform: scale(1.06); }

.news-side-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-light), var(--teal));
    color: rgba(255,255,255,.3);
    font-size: 1.4rem;
}

.news-side-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-side-date {
    font-size: .72rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-side-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.news-side-item:hover .news-side-title { color: var(--teal); }

.news-side-link {
    font-size: .75rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    transition: gap .2s;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s, gap .2s;
}

.news-side-item:hover .news-side-link {
    opacity: 1;
    transform: translateX(0);
    gap: 7px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .news-manshet { grid-template-columns: 3fr 2fr; }
}

@media (max-width: 768px) {
    .news-manshet {
        grid-template-columns: 1fr;
    }
    .news-manshet-main { border-right: none; border-bottom: 1px solid var(--gray-200); }
    .news-manshet-img { height: 280px; }
    .news-side-item { padding: 14px 16px; }
}

@media (max-width: 480px) {
    .news-manshet-title { font-size: 1.1rem; }
    .news-side-thumb { width: 60px; height: 60px; }
}

/* ── Eski news-grid (haberler.php liste için hâlâ kullanılıyor) ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card-featured { border-color: var(--teal); }

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.news-card-image img { width:100%;height:100%;object-fit:cover;transition:transform .35s ease; }
.news-card:hover .news-card-image img { transform:scale(1.04); }

.news-card-image-placeholder {
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,var(--navy-light),var(--teal));
    color:rgba(255,255,255,.35);font-size:3rem;
}

.news-card-date {
    position:absolute;bottom:12px;left:12px;
    background:rgba(0,0,0,.55);color:#fff;
    font-size:.75rem;font-weight:500;padding:4px 10px;border-radius:20px;
    backdrop-filter:blur(6px);display:flex;align-items:center;gap:5px;
}

.news-card-body { padding:20px 22px;flex:1;display:flex;flex-direction:column;gap:10px; }
.news-card-body h4 { font-size:1rem;font-weight:700;line-height:1.4;color:var(--navy);margin:0; }
.news-card-body h4 a { color:inherit;text-decoration:none;transition:color .2s; }
.news-card-body h4 a:hover { color:var(--teal); }

.news-card-summary {
    font-size:.86rem;color:var(--gray-500);line-height:1.65;flex:1;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;
}

.news-card-link {
    font-size:.84rem;font-weight:700;color:var(--teal);text-decoration:none;
    display:inline-flex;align-items:center;gap:6px;margin-top:auto;transition:gap .2s;
}

.news-card:hover .news-card-link { gap:10px; }

@media (max-width:1024px) { .news-grid,.news-grid-full { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px)  { .news-grid,.news-grid-full { grid-template-columns:1fr; } }

/* ══════════════════════════════════════════════
   FOOTER LOGO — Logo + Yazı Yan Yana
   ══════════════════════════════════════════════ */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 100px;
    max-width: 270px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-name {
    color: white;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    transition: var(--transition);
}

.footer-logo-wrap:hover .footer-logo-name {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .footer-logo-wrap {
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════
   FOOTER MOBİL — Ortalama
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col ul li {
        justify-content: center;
        display: flex;
    }
}

/* ─── Reklam alanı yer ayırma ─── */
.ad-slot-sidebar     { min-height: 250px; }
.ad-slot-leaderboard { min-height: 90px; }
.ad-slot-inline      { min-height: 120px; }
@media (max-width: 768px) {
    .ad-slot-leaderboard { min-height: 60px; }
    .ad-slot-inline      { min-height: 90px; }
}