/* ============================================================
   Physiotherapist Website — Design System
   ============================================================ */

:root {
    --primary-color: #1a4b8c;
    --primary-dark: #0f3460;
    --primary-light: #2d6cb5;
    --secondary-color: #4aabb8;
    --accent-color: #5ec4c4;
    --background-color: #ffffff;
    --background-alt: #f4f7fb;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(26, 75, 140, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 75, 140, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 75, 140, 0.14);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 50%, #f4f7fb 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --header-height: 80px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: 70px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

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

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

a:hover {
    color: var(--primary-light);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--background-alt) !important;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 75, 140, 0.08);
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 0;
}

.text-center .section-desc,
.section-header.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

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

.section-header > *:last-child {
    margin-bottom: 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 10px 24px;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--background-alt);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-appointment {
    white-space: nowrap;
}

/* Bootstrap 5 ships no responsive width utilities, so scope this manually. */
.btn-submit {
    width: 100%;
}

@media (min-width: 576px) {
    .btn-submit {
        width: auto;
    }
}

/* Header / Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-color);
}

.site-header .navbar {
    padding: 12px 0;
    min-height: var(--header-height);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1rem;
    color: var(--text-color);
}

.brand-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 12px !important;
    white-space: nowrap;
    position: relative;
    transition: color var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a4b8c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
}

/* Hero paddings (120px top + 60px bottom) are subtracted so the section
   fills exactly one viewport instead of overflowing it. */
.min-vh-hero {
    min-height: calc(100vh - var(--header-height) - 100px);
}

.hero-badge {
    display: inline-block;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.0625rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

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

.contact-metro-note {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-metro-hero-note {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.hero-image-wrapper {
    position: relative;
    display: block;
    max-width: 560px;
    margin-inline: auto;
}

/* Offset outside the photo so the accent block stays visible on all sizes. */
.hero-image-bg {
    position: absolute;
    inset: 24px -24px -24px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.15;
}

.hero-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Statistics */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    margin-top: -1px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-align: center;
    color: var(--white);
    padding: 20px 12px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
    font-weight: 500;
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.about-image {
    box-shadow: var(--shadow-lg);
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-profile-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    max-width: 420px;
    margin-inline: auto;
}

.about-bio {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-subheading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.about-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.about-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.expertise-tag {
    background: rgba(26, 75, 140, 0.08);
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.credential-item a {
    color: inherit;
    text-decoration: none;
}

.credential-item a:hover {
    color: var(--accent-color);
}

.about-detail-block {
    margin-bottom: 32px;
}

.about-detail-block h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.philosophy-quote {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 0;
}

/* Bootstrap's .sticky-top ships z-index 1020, which would slide the photo
   over the fixed header (z-index 1000) while scrolling. */
.about-sticky {
    top: calc(var(--header-height) + 20px);
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 75, 140, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.service-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

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

/* Treatment Areas */
.treatment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    height: 100%;
    min-height: 160px;
}

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

.treatment-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(94, 196, 196, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.25rem;
    color: var(--secondary-color);
    transition: all var(--transition);
}

.treatment-card:hover .treatment-icon {
    background: var(--secondary-color);
    color: var(--white);
}

.treatment-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
}

/* Why Choose */
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all var(--transition);
}

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

.why-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.why-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Treatment Process */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

/* Line must start/end at the centre of the outer circles. With 4 columns and
   3 gaps of 24px, that centre sits at (100% - 72px) / 8. */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc((100% - 72px) / 8);
    right: calc((100% - 72px) / 8);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.process-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials */
.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 16px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

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

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.gallery-filter-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 75, 140, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-category {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-overlay i {
    font-size: 1.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox[hidden] {
    display: none;
}

.lightbox:not([hidden]).active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(90vw, 900px);
    max-height: 85vh;
    padding: 0 72px;
    text-align: center;
}

.lightbox-content img {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 16px;
    font-size: 0.9375rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background var(--transition);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.faq-icon {
    transition: transform var(--transition);
    flex-shrink: 0;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

/* Hizmet sayfalarındaki daha uzun yanıtların kırpılmaması için pay bırakıldı. */
.faq-item.active .faq-answer {
    max-height: 480px;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Appointment CTA */
.appointment-cta-section {
    padding: 60px 0;
}

.appointment-cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    color: var(--white);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0;
    color: var(--white);
}

/* Contact */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item:last-of-type {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(26, 75, 140, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-info-icon.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-info-item h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 0.9375rem;
    color: var(--text-color);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    display: block;
}

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

.contact-map-metro-note {
    flex: 1 1 260px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Forms */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-color);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.15);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

/* Page Hero (inner pages) */
.page-hero {
    background: var(--gradient-hero);
    padding: calc(var(--header-height) + 60px) 0 60px;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.875rem;
}

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

/* Service Detail */
.service-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.service-detail-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
}

.service-detail-content h3 {
    font-size: 1.25rem;
    margin: 24px 0 16px;
}

.service-detail-content p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefits-list li i {
    color: var(--accent-color);
    font-size: 1.125rem;
    line-height: 1.7;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-card h2,
.sidebar-card h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color var(--transition);
}

.sidebar-links a i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.5;
    color: var(--primary-color);
}

.sidebar-links a:hover {
    color: var(--primary-color);
}

.appointment-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.appointment-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.footer-title {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9375rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 6px;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding: 24px 0;
}

.copyright {
    font-size: 0.875rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal:hover {
    color: var(--white);
}

/* Mobile Action Bar */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    z-index: 999;
    border-top: 1px solid var(--border-color);
}

.mobile-action-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    color: var(--text-color);
    font-size: 0.6875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition);
    gap: 4px;
}

.mobile-action-item i {
    font-size: 1.125rem;
}

.mobile-action-item:hover {
    background: var(--background-alt);
    color: var(--primary-color);
}

.mobile-action-whatsapp {
    color: #25d366;
}

.mobile-action-appointment {
    background: var(--primary-color);
    color: var(--white);
}

.mobile-action-appointment:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .back-to-top {
        bottom: 24px;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* 404 */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.error-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding: 0;
    margin: 32px 0 0;
    font-size: 0.9375rem;
}

/* ============================================================
   SEO çalışması kapsamında eklenen bölümler
   (mevcut tasarım sistemi değişkenleriyle kurgulanmıştır)
   ============================================================ */

/* Tedavi alanı kartları — ilgili hizmet sayfasına bağlanan hâli */
.treatment-card-link {
    color: inherit;
    text-decoration: none;
}

.treatment-card-link:hover,
.treatment-card-link:focus-visible {
    color: inherit;
}

.treatment-link-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    transition: color var(--transition);
}

.treatment-card-link:hover .treatment-link-hint {
    color: var(--primary-color);
}

/* Hakkımda — uzmanlık etiketlerinin bağlantılı hâli */
.expertise-tag-link {
    text-decoration: none;
    transition: all var(--transition);
}

.expertise-tag-link:hover,
.expertise-tag-link:focus-visible {
    background: var(--primary-color);
    color: var(--white);
}

.about-expertise-note {
    margin: 16px 0 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Ana sayfa SSS altındaki yönlendirme satırı */
.faq-footnote {
    max-width: 800px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Hizmetler sayfası */
.services-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.services-intro p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin: 0;
}

.services-process-list,
.service-process-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.services-process-list li,
.service-process-list li {
    counter-increment: step;
    position: relative;
    padding: 0 0 20px 56px;
}

.services-process-list li::before,
.service-process-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 700;
}

.services-process-list li h3,
.service-process-list li h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 8px 0 6px;
}

.services-process-list li p,
.service-process-list li p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hizmet detay sayfası ek blokları */
.service-detail-lead {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-top: 32px;
}

.service-faq {
    max-width: none;
    margin: 0;
}

.service-local-note {
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 40px;
}

.service-local-note h2 {
    font-size: 1.25rem;
    margin: 0 0 12px;
}

.service-local-note p {
    margin: 0;
    font-size: 0.9375rem;
}

.sidebar-facts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-facts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.sidebar-facts li:last-child {
    margin-bottom: 0;
}

.sidebar-facts i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    margin-top: 5px;
    flex-shrink: 0;
}

.sidebar-all-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* İletişim — ulaşım ve hizmet bölgesi */
.location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* Blog */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

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

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-category {
    background: rgba(26, 75, 140, 0.08);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
}

.blog-card-time {
    color: var(--text-light);
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-color);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-summary {
    font-size: 0.9375rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-content {
    margin-top: 8px;
}

.post-content h2 {
    font-size: 1.375rem;
    margin: 32px 0 16px;
}

.post-content p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.post-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    background: var(--background-alt);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 40px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.post-disclaimer i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Hukuki sayfalar */
.legal-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-address {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive */

/* Navbar collapses at xl because the Turkish menu needs more room. */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: var(--white);
        padding: 8px 16px 16px;
        border-radius: var(--radius-md);
        margin-top: 12px;
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - var(--header-height) - 32px);
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 10px 4px !important;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        font-weight: 700;
    }

    .btn-appointment {
        display: block;
        width: 100%;
        margin-top: 12px;
        text-align: center;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link {
        padding: 8px 9px !important;
        font-size: 0.9375rem;
    }

    .navbar-nav .nav-link.active::after {
        left: 9px;
        right: 9px;
    }
}

@media (max-width: 991.98px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .hero-image-wrapper {
        margin-top: 40px;
        max-width: 400px;
    }

    .about-sticky {
        position: static !important;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .location-links,
    .error-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .location-links .btn,
    .error-actions .btn {
        width: 100%;
        text-align: center;
    }

    .service-local-note {
        padding: 24px 20px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .appointment-cta-card {
        padding: 32px 24px;
    }

    .form-card {
        padding: 24px;
    }

    .about-credentials {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .lightbox-content {
        padding: 0 16px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 575.98px) {
    .stat-card {
        padding: 12px 8px;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .treatment-card {
        min-height: 140px;
        padding: 20px 12px;
    }

    /* Küçük ekranlarda iki sütunluk ızgarayı derli toplu tutmak için gizlenir;
       kart bağlantısı çalışmaya devam eder. */
    .treatment-link-hint {
        display: none;
    }

    .services-process-list li,
    .service-process-list li {
        padding-left: 48px;
    }

    .testimonial-slide {
        padding: 0 4px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .contact-info-card,
    .sidebar-card {
        padding: 24px 20px;
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.gallery-item:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
