/* ========================================
   MIER DENTAL CLINIC — CORPORATE IDENTITY
   Kurumsal Kimlik: #243A5B Lacivert
   Tipografi: Nexa
   ======================================== */

/* === Nexa Font (self-hosted fallback chain) === */
@font-face {
    font-family: 'Nexa';
    src: local('Nexa Bold'), local('Nexa-Bold');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: local('Nexa Regular'), local('Nexa-Regular');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: local('Nexa Light'), local('Nexa-Light');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* === CSS Variables === */
:root {
    /* Corporate Primary — Lacivert #243A5B */
    --primary: #243A5B;
    --primary-dark: #1A2B42;
    --primary-light: #3A5A80;
    --primary-lighter: #4A6E96;
    --primary-100: #E8EDF3;
    --primary-50: #F3F6F9;

    /* Accent — Gold */
    --accent: #C9A96E;
    --accent-dark: #A88B4A;
    --accent-light: #DBBF8A;
    --accent-100: #F7F0E3;

    /* White & Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Semantic */
    --success: #2D8A4E;
    --error: #C0392B;
    --warning: #E67E22;

    /* Typography — Nexa */
    --font-heading: 'Nexa', 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Nexa', 'Inter', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;

    /* Shadows — Navy-tinted */
    --shadow-sm: 0 1px 3px rgba(36, 58, 91, 0.06);
    --shadow-md: 0 4px 16px rgba(36, 58, 91, 0.08);
    --shadow-lg: 0 8px 32px rgba(36, 58, 91, 0.10);
    --shadow-xl: 0 20px 60px rgba(36, 58, 91, 0.12);
    --shadow-glow: 0 0 40px rgba(36, 58, 91, 0.12);

    /* Soft-corner borders (logo kavisine uygun) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-btn: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Tooth pattern (inline SVG) */
    --tooth-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 8c-4 0-7 1-9 3-2 2-3 5-3 8 0 2 0.5 4 1 6 0.8 2.5 1.5 5 1.5 7.5 0 4-1 7-2 10-1 3.5-1.5 6-1 8.5 0.5 2 2 3 3.5 3s2.5-1 3.5-3c1-2.5 2-5.5 2-9h6c0 3.5 1 6.5 2 9 1 2 2 3 3.5 3s3-1 3.5-3c0.5-2.5 0-5-1-8.5-1-3-2-6-2-10 0-2.5 0.7-5 1.5-7.5 0.5-2 1-4 1-6 0-3-1-6-3-8-2-2-5-3-9-3z' fill='%23243A5B' opacity='0.03'/%3E%3C/svg%3E");
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 116px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Utility Classes === */
.gradient-text {
    color: var(--primary);
}

.hero-section .gradient-text {
    color: var(--accent-light);
}

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(36, 58, 91, 0.08);
    box-shadow: var(--shadow-lg);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* Tooth pattern overlay for sections */
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--tooth-pattern);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.about-section::before,
.faq-section::before,
.blog-section::before {
    opacity: 1;
}

.section>.container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-btn);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* === Buttons (soft-corner, logo kavisine uygun) === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(36, 58, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 58, 91, 0.4);
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform var(--transition-normal);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    font-size: 0.95rem;
    color: var(--accent-light);
}

.top-bar-center a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.top-bar-center a:hover {
    color: var(--accent-light);
}

.top-bar-center i {
    font-size: 0.95rem;
    color: var(--accent-light);
}

.top-bar-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.top-bar-right a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-1px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(36, 58, 91, 0.08);
    padding: 8px 0;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-100);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary);
}

.navbar.scrolled .nav-logo svg text {
    fill: #243A5B;
}

.navbar.scrolled .nav-logo svg path {
    fill: #C9A96E;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo SVG */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo svg {
    height: 44px;
    width: auto;
}

.nav-logo svg text {
    transition: fill var(--transition-normal);
    fill: #FFFFFF !important;
}

.nav-logo svg path {
    transition: fill var(--transition-normal);
    fill: #FFFFFF !important;
    opacity: 0.9;
}

.navbar.scrolled .nav-logo svg text {
    fill: #243A5B !important;
}

.navbar.scrolled .nav-logo svg path {
    fill: #C9A96E !important;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-text .logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    border-radius: var(--radius-btn);
    transition: var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    margin-left: 12px;
    box-shadow: 0 4px 15px rgba(36, 58, 91, 0.25);
    border-radius: var(--radius-btn) !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(36, 58, 91, 0.35) !important;
    background: var(--primary-light) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 116px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 5;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    top: -150px;
    right: -150px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent), transparent);
    bottom: -100px;
    left: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 40%;
    left: 45%;
    animation: float 14s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-100);
    color: var(--accent-dark);
    border-radius: var(--radius-btn);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-section .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    border: 3px solid white;
    margin-right: -10px;
}

.trust-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.trust-stars {
    color: var(--accent);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.trust-stars span {
    margin-left: 4px;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Visual — Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

/* Decorative frame behind hero image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.4;
}

.hero-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.hero-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(36, 58, 91, 0.25);
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hero-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.3rem;
    color: var(--accent);
}

.badge-1 {
    top: 20px;
    right: -10px;
    animation-delay: 0.5s;
}

.badge-2 {
    bottom: 30px;
    left: -20px;
    animation-delay: 1s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
    z-index: 1;
}

.hero-scroll-indicator a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--gray-50);
}

.about-image-banner {
    width: 100%;
    margin-bottom: 50px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform var(--transition-slow);
}

.about-image-banner:hover .about-img {
    transform: scale(1.03);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.about-card:hover .about-card-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.mv-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.mv-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: white;
}

.mv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.mv-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Team */
.team-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.team-card {
    flex: 1 1 210px;
    max-width: 340px;
    text-align: center;
    background: var(--white);
    padding: 16px 16px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-avatar {
    width: calc(100% + 32px);
    margin: -16px -16px 20px -16px;
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

.team-card h4 {
    font-size: 1.25rem;
    /* Increased font size for better proportionality */
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

/* Service card image area */
.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card>p,
.service-card-body>p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-features {
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 4px 0;
}

.service-features li i {
    color: var(--success);
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* Service card without image (icon-based) */
.service-card--icon {
    padding: 32px 24px;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-section {
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: var(--transition-fast);
}

.blog-card:hover h3 {
    color: var(--accent-dark);
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(36, 58, 91, 0.15);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(36, 58, 91, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.93rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: white;
}

.contact-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-note {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-dark);
    margin-top: 4px;
    font-weight: 600;
}

.map-placeholder {
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray-400);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-light);
}

.map-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
}

.map-placeholder span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ========================================
   APPOINTMENT SECTION
   ======================================== */
.appointment-section {
    background: linear-gradient(170deg, var(--white) 0%, var(--primary-50) 100%);
}

.appointment-container {
    max-width: 800px;
    margin: 0 auto;
}

.appointment-form {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: var(--error);
}

.char-count {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-400);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    font-size: 1.1rem;
    color: var(--gray-400);
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.input-wrapper select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23243A5B' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    resize: vertical;
    min-height: 100px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.textarea-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(36, 58, 91, 0.08);
}

.input-wrapper input.error,
.input-wrapper select.error,
.textarea-wrapper textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.input-wrapper input.valid,
.input-wrapper select.valid {
    border-color: var(--success);
}

.error-message {
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 4px;
    min-height: 18px;
    display: block;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.kvkk-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px 36px;
    font-size: 1.05rem;
    margin-top: 8px;
    position: relative;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.loading span {
    visibility: hidden;
}

.btn-loader {
    display: none;
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-content {
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    animation: fadeInUp 0.5s ease;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-content p {
    color: var(--gray-600);
    margin-bottom: 28px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 60px 0;
    background: var(--white);
}

.cta-content {
    padding: 48px;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: var(--primary) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

/* Tooth pattern in CTA */
.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--tooth-pattern);
    background-size: 50px 50px;
    opacity: 0.15;
    filter: invert(1);
    pointer-events: none;
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.cta-content .btn-primary {
    background: var(--primary-light) !important;
    color: var(--white) !important;
    border-color: var(--primary-light) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.cta-content .btn-primary:hover {
    background: var(--primary-lighter) !important;
    color: var(--white) !important;
    border-color: var(--primary-lighter) !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--tooth-pattern);
    background-size: 60px 60px;
    opacity: 0.08;
    filter: invert(1);
    pointer-events: none;
}

.footer>.container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--accent);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact ul li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(36, 58, 91, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(36, 58, 91, 0.4);
    background: var(--primary-light);
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.cookie-content p i {
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.cookie-content p a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cookie-banner .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVBAR DROPDOWN
   ======================================== */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-dropdown i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-link-dropdown i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: var(--primary-100);
    color: var(--primary);
}

/* ========================================
   PAGE BANNER
   ======================================== */
.page-banner {
    padding: 140px 0 60px;
    background: linear-gradient(170deg, var(--white) 0%, var(--primary-50) 50%, var(--primary-100) 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--tooth-pattern);
    background-size: 70px 70px;
    pointer-events: none;
    opacity: 1;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-banner-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 12px;
}

.page-banner-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--accent-dark);
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-btn);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: block;
    /* Override default grid down below for pure masonry */
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-image,
.gallery-item img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-image img,
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(36, 58, 91, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1rem;
}

.gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.gallery-zoom:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-item.hidden {
    display: none;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content {
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   TREATMENTS (TABS)
   ======================================== */
.treatment-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.treatment-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-btn);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.treatment-tab i {
    font-size: 1.1rem;
}

.treatment-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.treatment-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.treatment-content {
    display: none;
}

.treatment-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.treatment-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-100);
}

.treatment-hero-icon {
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.treatment-hero h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.treatment-tagline {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.treatment-detail-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.treatment-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.treatment-detail-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.treatment-detail-card h3 i {
    font-size: 1.2rem;
    color: var(--accent);
}

.treatment-detail-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 12px;
}

.treatment-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.treatment-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.treatment-step strong {
    display: block;
    color: var(--primary);
    font-size: 0.93rem;
    margin-bottom: 4px;
}

.treatment-step p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.treatment-advantages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treatment-advantages li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.treatment-advantages li i {
    font-size: 1.1rem;
    color: var(--success);
    flex-shrink: 0;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-box {
    background: var(--primary-50);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--primary-100);
}

.price-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.price-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.price-note i {
    color: var(--accent);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form-section {
    margin-top: 60px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group.full-width {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .top-bar {
        display: none;
    }

    .navbar {
        top: 0 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 8px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        color: var(--gray-800);
        text-shadow: none;
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background: var(--primary-100);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
        display: inline-flex;
        width: auto;
    }

    /* Mobile dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        display: none;
        text-align: center;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: var(--gray-700);
        padding: 8px 16px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .treatment-tabs {
        gap: 6px;
    }

    .treatment-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .treatment-hero {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 6px;
    }

    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .appointment-form {
        padding: 24px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

.agency-signature {
    text-align: center;
    padding: 12px 0;
    margin-top: -10px;
    font-size: 0.85rem;
    color: var(--gray-400);
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.agency-signature a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.agency-signature a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-banner {
        padding: 120px 0 40px;
    }

    .page-banner-title {
        font-size: 1.8rem;
    }

    .price-box {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ========================================
   GOOGLE REVIEWS SECTION
   ======================================== */
.google-reviews-section {
    background: var(--gray-50);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--gray-900);
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.review-platform {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.review-platform img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-stars {
    color: #FABB05;
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    left: 24px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 34px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== MASONRY GALLERY ===== */
.gallery-section {
    padding: 80px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border: none;
    background: #E8EDF3;
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: #FFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 40px;
    align-items: start;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Ekip filtresi aktifken muntazam (masonry olmayan) grid düzeni */
.gallery-grid.ekip-active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    column-count: auto;
}
.gallery-grid.ekip-active .gallery-item {
    margin-bottom: 0;
}
@media (max-width: 1200px) {
    .gallery-grid.ekip-active { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .gallery-grid.ekip-active { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .gallery-grid.ekip-active { grid-template-columns: 1fr; }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 3 / 4;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay-zoom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(36, 58, 91, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
    color: #FFF;
    font-size: 2.5rem;
}

.gallery-item:hover .overlay-zoom {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 23, 38, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img-wrapper {
    position: relative;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #FFF;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    display: none !important;
    /* using simple masonry lightbox for now */
}

/* ===== GOOGLE TRANSLATE OVERRIDES ===== */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#goog-gt-tt {
    display: none !important;
    box-shadow: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Multilang Dropdown specific tweaks */
.lang-dropdown .dropdown-menu {
    min-width: 150px;
    padding: 10px 0;
}

.lang-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-dropdown .ph-globe {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFF;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(36, 58, 91, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.1, 1, 0.2, 1);
    background: #FFF;
}

.faq-answer p {
    padding: 0 30px 24px 30px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

/* Active State */
.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* arbitrary large value */
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BEFORE/AFTER SLIDER ===== */
.before-after-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.ba-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .ba-slider-container {
        aspect-ratio: 4/3;
    }
}

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

/* Better responsive approach for slider images */
.ba-img-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.ba-slider input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
}

.ba-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    background: rgba(14, 23, 38, 0.7);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    z-index: 10;
    pointer-events: none;
}

.ba-label.before {
    left: 20px;
}

.ba-label.after {
    right: 20px;
}

/* ===== MIER KIDS MENU BADGE ===== */
@keyframes kidsRainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.nav-menu .kids-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #1dd1a1, #48dbfb, #ff9ff3);
    background-size: 300% 300%;
    animation: kidsRainbow 6s ease infinite;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(254, 202, 87, 0.4);
}

.nav-menu .kids-nav:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(72, 219, 251, 0.5);
}

.nav-menu .kids-nav i {
    font-size: 1.2rem;
    color: white;
}

.nav-menu .kids-nav::after {
    display: none !important;
}

/* Ekip Gorselleri Fix */
.gallery-item[data-category="ekip"] {
    aspect-ratio: 4 / 5;
    background: transparent;
}
.gallery-item[data-category="ekip"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
}


.about-text { margin-bottom: 20px; color: var(--gray-600); line-height: 1.8; }

/* ===== ABOUT SLIDER ===== */
.about-slider-container {
    width: 100%;
    margin-bottom: 50px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.about-slider {
    position: relative;
    width: 100%;
    height: 480px;
}

.about-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.about-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.about-slider-btn i {
    font-size: 1.4rem;
}

.about-slider-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.about-slider-btn.prev {
    left: 20px;
}

.about-slider-btn.next {
    right: 20px;
}

.about-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-normal);
}

.about-slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .about-slider { height: 320px; }
    .about-slider-btn { width: 36px; height: 36px; }
    .about-slider-btn.prev { left: 10px; }
    .about-slider-btn.next { right: 10px; }
}

/* ========================================
   TEAM MODAL
   ======================================== */
.team-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.team-modal-overlay.active { opacity: 1; visibility: visible; }
.team-modal-content {
    background: var(--white); width: 90%; max-width: 600px;
    border-radius: var(--radius-xl); position: relative; padding: 40px;
    transform: translateY(50px); transition: all 0.4s ease;
    max-height: 90vh; overflow-y: auto; text-align: left;
}
.team-modal-overlay.active .team-modal-content { transform: translateY(0); }
.team-modal-close {
    position: absolute; top: 20px; right: 20px;
    background: var(--gray-100); border: none;
    width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--gray-700); transition: var(--transition-fast);
}
.team-modal-close:hover { background: var(--error); color: var(--white); }
.team-modal-header { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--gray-200); padding-bottom: 24px; }
.team-modal-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-100); flex-shrink: 0; }
.team-modal-title h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }
.team-modal-title span { display: block; font-size: 0.95rem; color: var(--accent-dark); font-weight: 700; }
.team-modal-body { font-size: 0.95rem; color: var(--gray-700); line-height: 1.8; }
.team-modal-body p { margin-bottom: 16px; }

.team-card { cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.team-card:hover .btn-read-more { background: var(--primary); color: var(--white); }
.btn-read-more {
    display: inline-flex; align-items: center; gap: 6px; justify-content: center;
    font-size: 0.85rem; font-weight: 700; color: var(--primary);
    background: var(--primary-100); padding: 8px 16px; border-radius: var(--radius-btn);
    margin-top: auto; transition: var(--transition-fast);
}
.team-short-desc {
    font-size: 0.85rem; line-height: 1.5; color: var(--gray-600);
    margin-bottom: 16px; margin-top: 8px;
}
.d-none { display: none !important; }
@media (max-width: 576px) { .team-modal-header { flex-direction: column; text-align: center; } }

/* Footer Logo White */
.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
