/* ═══════════════════════════════════════════════
   AKTAY FİZYOTERAPİ — ORTAK STİLLER
   ═══════════════════════════════════════════════ */

/* ─── CSS Değişkenler ─── */
:root {
    --bg-primary: #062b25;
    --bg-secondary: #0b3b32;
    --accent: #34d399;
    --accent-glow: rgba(52, 211, 153, 0.15);
    --white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1400px;
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ─── Scroll Progress ─── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ─── Custom Cursor (devre dışı — varsayılan sistem imleci kullanılıyor) ─── */
#cursor,
#cursor-follower {
    display: none !important;
}

/* ─── BG Gradient Orb ─── */
.bg-gradient-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08), transparent 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
    transform: translate(-50%, -50%);
}

/* ─── Top Bar ─── */
.top-bar {
    background: #059669;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.top-bar-left .hatt-text {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.top-bar-left a {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.top-bar-left a:hover {
    color: #fff;
}

.top-bar-left i {
    margin-right: 5px;
}

.top-bar-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.top-bar-right a {
    color: var(--text-dim);
    font-size: 1rem;
    transition: 0.3s;
}

.top-bar-right a:hover {
    color: var(--accent);
}

/* Referans Logoları — Küçük kare format, top-bar'a sığacak */
.ref-logos-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 10px;
}

.ref-logos-strip::-webkit-scrollbar {
    display: none;
}

.ref-logo-item {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.ref-logo-item:hover {
    opacity: 1;
    transform: scale(1.15);
}

.ref-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ─── Navbar ─── */
.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 6%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #10b981;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.4s, box-shadow 0.4s;
}

.main-header.scrolled-fixed {
    background: #10b981;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.logo-box {
    width: 40px;
    height: 40px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-premium {
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    background: #ffffff !important;
    border: none;
    color: #10b981 !important;
    transition: all 0.4s;
    letter-spacing: 0.5px;
}

.btn-premium:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.3);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--white);
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

/* ─── Text Utilities ─── */
.text-gradient {
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.15);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-badge i {
    font-size: 0.75rem;
}

.footer-main {
    background: #059669;
    border-top: none;
    padding: 80px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-desc {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 1rem;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.6rem;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact a,
.footer-contact p {
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

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

.footer-contact i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.footer-hours {
    list-style: none;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ─── WhatsApp Button + Tooltip ─── */
.wa-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #111;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
    opacity: 1;
    pointer-events: auto;
    border: 2px solid #25D366;
    animation: tooltipPulse 2s infinite;
}

@keyframes tooltipPulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.05);
    }
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 2px solid #25D366;
    border-right: 2px solid #25D366;
}

.wa-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
    animation: waPulse 2s infinite;
    flex-shrink: 0;
}

.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6);
    }
}

/* ─── Breadcrumb ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--text-dim);
    transition: 0.3s;
}

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

.breadcrumb i {
    font-size: 0.6rem;
}

/* ─── Page Hero (alt sayfalar) ─── */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.2;
    z-index: -1;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 5px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-glass);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
}

@media (max-width: 968px) {
    .top-bar-left .hatt-text {
        display: none;
    }

    .top-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .ref-logos-strip {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 4px 0;
    }

    .ref-logo-item {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wa-tooltip {
        display: block;
        font-size: 0.75rem;
        padding: 8px 12px;
        right: 65px;
    }

    .wa-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .wa-btn {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand span {
        font-size: 1rem;
    }

    .top-bar {
        font-size: 0.78rem;
        padding: 6px 0;
    }

    .ref-logo-item {
        width: 20px;
        height: 20px;
    }

    .wa-wrapper {
        bottom: 15px;
        right: 15px;
    }

    .wa-tooltip {
        display: none;
        /* Too small screen for tooltip */
    }

    .wa-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .page-hero {
        padding: 130px 0 50px;
    }
}