/* 
 * Uzman PSK Gülsüm Özkara - Orijinal Tasarım Dili (#212124 Koyu Sidebar & #c48858 Taba/Bakır Vurgu)
 * Modern, Responsive, SEO ve Klinik Psikoloji Odaklı Stil Dosyası
 */

:root {
    --sidebar-bg: #212124;
    --sidebar-border: #2e2e33;
    --accent: #c48858;
    --accent-hover: #ad7244;
    --accent-soft: rgba(196, 136, 88, 0.12);
    --bg-main: #fcfbf9;
    --bg-section-alt: #f4f1ec;
    --bg-card: #ffffff;
    --text-dark: #1f1f23;
    --text-body: #4a4a52;
    --text-muted: #767680;
    --border-light: #e6e1da;
    --sidebar-width: 290px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 30px rgba(25, 22, 18, 0.06);
    --shadow-hover: 0 16px 40px rgba(25, 22, 18, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

/* SOL SABİT SIDEBAR MENÜ (Orijinal Site Düzeni) */
.site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 28px 26px;
    z-index: 1000;
    border-right: 1px solid var(--sidebar-border);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-brand {
    text-align: center;
}

.sidebar-logo-wrap {
    width: 132px;
    height: 132px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent), rgba(255,255,255,0.15));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.sidebar-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
}

.sidebar-brand-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.4px;
    display: block;
}

.sidebar-brand-sub {
    font-size: 13px;
    color: var(--accent);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.sidebar-nav {
    margin: 28px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 6px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    color: #d4d4d8;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: var(--accent);
}

.sidebar-footer {
    border-top: 1px solid var(--sidebar-border);
    padding-top: 18px;
    font-size: 12.5px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

.sidebar-contact-quick {
    margin-bottom: 12px;
    font-size: 13px;
}

.sidebar-contact-quick a {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* MOBİL ÜST BAR */
.mobile-topbar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--sidebar-bg);
    color: #ffffff;
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sidebar-border);
}

.mobile-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-topbar-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
}

.mobile-menu-btn {
    background: transparent;
    border: 1px solid #3f3f46;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

/* ANA İÇERİK ALANI */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 36px;
}

/* HERO SLIDER BÖLÜMÜ */
.hero-slider {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: #1c1b1f;
    color: #ffffff;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease-in-out, transform 6s ease;
    transform: scale(1.03);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 24, 0.86) 0%, rgba(20, 20, 24, 0.65) 55%, rgba(20, 20, 24, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 36px;
}

.hero-badge {
    display: inline-block;
    background: rgba(196, 136, 88, 0.22);
    border: 1px solid rgba(196, 136, 88, 0.55);
    color: #f3d2b8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 8px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-contact-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 850px;
}

.hero-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #e4e4e7;
}

.hero-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(196, 136, 88, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.hero-slider-controls {
    position: absolute;
    right: 36px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-btn {
    background: rgba(33, 33, 36, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* GENEL BÖLÜM STİLLERİ */
.section {
    padding: 84px 0;
}

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

.section-header {
    margin-bottom: 44px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 36px);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

.section-divider {
    width: 64px;
    height: 3px;
    background: var(--accent);
    margin-top: 14px;
    border-radius: 2px;
}

/* HAKKIMDA VE UZMANLIK ALANLARI */
.about-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.about-text p {
    margin-bottom: 18px;
    font-size: 16.5px;
    color: var(--text-body);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.specialty-card {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.specialty-card h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.specialty-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* SERTİFİKA VE EĞİTİM PROGRAMLARI LİSTESİ */
.education-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.edu-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.edu-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.edu-year {
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 13px;
    padding: 5px 11px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.edu-info h4 {
    font-size: 15.5px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.edu-info p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* TERAPİ EKOLLERİ KARTLARI */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-card p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--accent-hover);
}

/* BLOG KARTLARI */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card-thumb {
    height: 200px;
    overflow: hidden;
    background: #222;
    position: relative;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 12.5px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.blog-card-body p {
    font-size: 14.5px;
    color: var(--text-body);
    margin-bottom: 18px;
    flex: 1;
}

/* TEKİL SAYFA / TERAPİ EKOLÜ / BLOG DETAY DÜZENİ */
.page-banner {
    background: linear-gradient(135deg, #212124 0%, #2c2826 100%);
    color: #ffffff;
    padding: 56px 0;
    border-bottom: 3px solid var(--accent);
}

.breadcrumb {
    font-size: 13.5px;
    color: #a1a1aa;
    margin-bottom: 12px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 36px;
    align-items: start;
}

.detail-article {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.detail-article h2, .detail-article h3 {
    color: var(--text-dark);
    margin: 26px 0 12px;
    line-height: 1.3;
}

.detail-article p, .detail-article li {
    font-size: 16.5px;
    color: var(--text-body);
    margin-bottom: 14px;
}

.detail-article ul, .detail-article ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.detail-article blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-section-alt);
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    margin: 22px 0;
    color: var(--text-dark);
}

.detail-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.detail-sidebar-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-body);
    background: var(--bg-main);
    border: 1px solid transparent;
}

.sidebar-list a:hover,
.sidebar-list a.active {
    border-color: var(--accent);
    color: var(--accent-hover);
    background: var(--accent-soft);
}

/* İLETİŞİM BÖLÜMÜ VE FORMU */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
}

.contact-info-card, .contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.contact-info-list {
    list-style: none;
    margin-top: 20px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-list .icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

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

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

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-main);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.alert-box {
    padding: 15px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14.5px;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* FOOTER */
.site-footer {
    background: #18181b;
    color: #a1a1aa;
    padding: 32px 0;
    margin-top: auto;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #d4d4d8;
    margin-left: 16px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* GDPR / KVKK ÇEREZ BANNER & MODAL (Orijinal Siteyle Birebir Uyumlu) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: calc(var(--sidebar-width) + 20px);
    max-width: 680px;
    background: #212124;
    color: #f4f4f5;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    z-index: 1100;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 6px;
}

.cookie-banner p {
    font-size: 13.5px;
    color: #d4d4d8;
    margin-bottom: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-btn-reject {
    background: #3f3f46;
    color: #fff;
}

.cookie-btn-custom {
    background: transparent;
    border-color: #71717a;
    color: #e4e4e7;
}

.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-backdrop.show {
    display: flex;
}

.cookie-modal {
    background: #212124;
    color: #f4f4f5;
    border: 1px solid #3f3f46;
    border-radius: 14px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
}

.cookie-cat-item {
    border: 1px solid #323238;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #18181b;
}

/* RESPONSIVE KURALLAR */
@media (max-width: 1024px) {
    .site-sidebar {
        transform: translateX(-100%);
    }
    .site-sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay.open {
        display: block;
    }
    .mobile-topbar {
        display: flex;
    }
    .main-wrapper {
        margin-left: 0;
    }
    .specialties-grid,
    .services-grid,
    .blog-grid,
    .education-timeline,
    .contact-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        left: 20px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    .hero-content {
        padding: 56px 20px;
    }
    .about-box, .detail-article, .contact-info-card, .contact-form-card {
        padding: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
