/* ================================================================
   CZR FİBER — Premium Design System
   ================================================================ */

/* --- Design Tokens & Variables --- */
:root {
    /* Primary Palette — Electric Cyan → Indigo */
    --clr-cyan:       #00E5FF;
    --clr-cyan-dim:   #00B2CC;
    --clr-indigo:     #5C6BC0;
    --clr-violet:     #7C3AED;
    --clr-orange:     #F97316;

    /* Backgrounds */
    --bg-root:        #060810;
    --bg-surface:     #0E1120;
    --bg-elevated:    #141828;
    --bg-card:        #161b2e;

    /* Text */
    --text-100:       #FFFFFF;
    --text-200:       #CBD5E1;
    --text-muted:     #64748B;

    /* Borders */
    --border-subtle:  rgba(255,255,255,0.06);
    --border-mid:     rgba(255,255,255,0.12);
    --border-glow:    rgba(0,229,255,0.35);

    /* Shadows / Glows */
    --glow-cyan:      rgba(0,229,255,0.45);
    --glow-violet:    rgba(124,58,237,0.35);
    --shadow-card:    0 8px 32px rgba(0,0,0,0.45);
    --shadow-float:   0 16px 48px rgba(0,0,0,0.55);

    /* Radii */
    --r-sm:    8px;
    --r-md:    14px;
    --r-lg:    22px;
    --r-pill:  999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --t-fast:   0.25s;
    --t-base:   0.4s;
    --t-slow:   0.6s;

    /* Layout */
    --max-w:    1200px;
    --nav-h:    84px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-root);
    color: var(--text-100);
    line-height: 1.7;
    overflow-x: hidden;
}

ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.5px; margin-bottom: 1.2rem; }

section { padding: 120px 0; position: relative; }

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

/* ================================================================
   ANIMATED BACKGROUND — Multi-layer
   ================================================================ */

/* Subtle dot grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient colour orbs */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 8% 12%,  rgba(0,229,255,0.07)  0%, transparent 70%),
        radial-gradient(ellipse 55% 60% at 92% 88%, rgba(124,58,237,0.09) 0%, transparent 70%),
        radial-gradient(ellipse 45% 50% at 55% 45%, rgba(92,107,192,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: ambientPulse 12s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0%   { opacity: 0.6; }
    100% { opacity: 1;   }
}

/* Canvas particle layer (positioned by JS) */
#particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* All content above bg layers */
header, main, footer, .wa-modal,
.whatsapp-btn, .phone-btn {
    position: relative;
    z-index: 10;
}

/* ================================================================
   SCROLL PROGRESS BAR
   ================================================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-violet));
    z-index: 9999;
    box-shadow: 0 0 10px var(--glow-cyan);
    transition: width 0.1s linear;
}

/* ================================================================
   NAVBAR — Glassmorphic Premium
   ================================================================ */
/* ================================================================
   NAVBAR — Ultra Premium
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    /* Başlangıçta transparan cam */
    background: rgba(6, 8, 16, 0.25);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

/* Üstte neon şerit — marka imzası */
.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent    0%,
        var(--clr-cyan) 30%,
        var(--clr-violet) 70%,
        transparent    100%);
    opacity: 0.7;
    z-index: 1;
}

/* Scroll olunca koyulaşır + alt glow */
.navbar.scrolled {
    background: rgba(6, 8, 16, 0.92);
    border-color: rgba(0,229,255,0.1);
    box-shadow:
        0 1px 0 rgba(0,229,255,0.08),
        0 16px 48px rgba(0,0,0,0.6),
        inset 0 -1px 0 rgba(255,255,255,0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 92%;
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ---- LOGO ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    text-decoration: none;
}

/* Fiber sinyal ikonu — sol taraf */
.logo-icon {
    position: relative;
    width: 36px;
    height: 36px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.22);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--clr-cyan);
    box-shadow: 0 0 14px rgba(0,229,255,0.15), inset 0 0 8px rgba(0,229,255,0.05);
    flex-shrink: 0;
    transition: all var(--t-fast);
}

.logo:hover .logo-icon {
    background: var(--clr-cyan);
    color: #000;
    box-shadow: 0 0 22px rgba(0,229,255,0.5);
    transform: rotate(-5deg) scale(1.08);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-100);
}

.logo-title .logo-accent {
    color: var(--clr-cyan);
    text-shadow: 0 0 14px rgba(0,229,255,0.5);
    transition: text-shadow var(--t-base);
}

.logo:hover .logo-accent {
    text-shadow: 0 0 24px rgba(0,229,255,0.8), 0 0 60px rgba(0,229,255,0.2);
}

.logo-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-left: 2px;
}

/* Animasyonlu ışık noktası */
.logo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-cyan);
    box-shadow: 0 0 10px var(--glow-cyan), 0 0 20px rgba(0,229,255,0.3);
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    animation: blinkDot 2.5s ease-in-out infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1;   transform: scale(1); box-shadow: 0 0 10px var(--glow-cyan); }
    50%       { opacity: 0.3; transform: scale(0.6); box-shadow: none; }
}

/* ---- NAV LINKS ---- */
nav { display: flex; align-items: center; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 17px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-200);
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
    letter-spacing: 0.2px;
}

/* Hover alt çizgisi — sol'dan yayılır */
.nav-links li a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 17px;
    right: 17px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-violet));
    box-shadow: 0 0 8px var(--glow-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-links li a:not(.btn-nav-cta):hover,
.nav-links li a:not(.btn-nav-cta).active-link {
    color: var(--text-100);
    background: rgba(0,229,255,0.07);
}

.nav-links li a:not(.btn-nav-cta).active-link {
    color: var(--clr-cyan);
}

.nav-links li a:not(.btn-nav-cta):hover::after,
.nav-links li a:not(.btn-nav-cta).active-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* CTA Butonu */
.btn-nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 26px !important;
    background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-violet) 100%) !important;
    color: #fff !important;
    border-radius: var(--r-pill) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 20px rgba(0,229,255,0.25), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    transition: transform var(--t-fast), box-shadow var(--t-fast) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* İç parlama efekti */
.btn-nav-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: -100%; width: 60%; height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent) !important;
    transition: left 0.5s ease !important;
}

.btn-nav-cta:hover::before { left: 150% !important; }

.btn-nav-cta:hover {
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 10px 32px rgba(0,229,255,0.4), 0 0 20px rgba(124,58,237,0.2) !important;
}

/* Hamburger — Mobile */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(0,229,255,0.05);
    border: 1px solid rgba(0,229,255,0.15);
    border-radius: var(--r-md);
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-200);
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(0,229,255,0.12);
    color: var(--clr-cyan);
    border-color: rgba(0,229,255,0.35);
    box-shadow: 0 0 14px rgba(0,229,255,0.15);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,8,16,0.95) 0%, rgba(6,8,16,0.6) 60%, rgba(92,107,192,0.15) 100%);
}

/* Animated diagonal line decoration */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 56px,
        rgba(0,229,255,0.022) 56px,
        rgba(0,229,255,0.022) 57px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-top: 60px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.22);
    border-radius: var(--r-pill);
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--clr-cyan);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow span { width: 6px; height: 6px; background: var(--clr-cyan); border-radius: 50%; box-shadow: 0 0 8px var(--glow-cyan); }

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    line-height: 1.1;
    margin-bottom: 1.6rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--clr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--clr-cyan), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-200);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.75;
}

.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: floatUpDown 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll i {
    color: var(--clr-cyan);
    font-size: 1.1rem;
    opacity: 0.7;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-violet));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--r-pill);
    box-shadow: 0 8px 28px rgba(0,229,255,0.25);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.3px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-violet), var(--clr-cyan));
    opacity: 0;
    transition: opacity var(--t-fast);
}

.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,229,255,0.38); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: rgba(255,255,255,0.04);
    color: var(--text-100);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-mid);
    backdrop-filter: blur(10px);
    transition: all var(--t-fast);
}

.btn-secondary:hover {
    background: rgba(0,229,255,0.1);
    border-color: var(--border-glow);
    color: var(--clr-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,229,255,0.12);
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0,229,255,0.07);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--clr-cyan);
    border-radius: var(--r-pill);
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.section-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--clr-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--glow-cyan);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 70px;
}

.section-header h2, .about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    background: linear-gradient(135deg, #ffffff 40%, var(--text-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   STATS
   ================================================================ */
/* ================================================================
   STATS — Parallax + Full Premium
   ================================================================ */
.stats {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    /* Hizmetler bölümüyle aynı arka plan ama farklı açı */
    background-image: url('assets/contact-bg.webp');
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
}

/* Karartma + renk ışıltısı overlay */
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            var(--bg-root)            0%,
            rgba(6, 8, 16, 0.88)     15%,
            rgba(6, 8, 16, 0.80)     85%,
            var(--bg-root)           100%),
        linear-gradient(135deg,
            rgba(0,229,255,0.07)     0%,
            transparent              50%,
            rgba(124,58,237,0.08)    100%);
    z-index: 1;
    pointer-events: none;
}

/* Sinyaller gibi yatay ışık çizgileri */
.stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 120px,
        rgba(0,229,255,0.015) 120px,
        rgba(0,229,255,0.015) 121px
    );
    z-index: 2;
    pointer-events: none;
}

/* Üst neon çizgi */
.stats .neon-line-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.5) 50%, transparent 100%);
    z-index: 3;
}

.stats .container {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
}

/* Kart */
.stat-item {
    position: relative;
    padding: 48px 28px 40px;
    background: rgba(14, 17, 32, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

/* Kart iç glow — hover'da */
.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.1) 0%, transparent 65%);
    opacity: 0;
    transition: opacity var(--t-base);
    pointer-events: none;
}

.stat-item:hover::before { opacity: 1; }

/* Üst accent bar */
.stat-item::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-violet));
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 12px rgba(0,229,255,0.5);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
}

.stat-item:hover::after  { transform: scaleX(1); }

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0,229,255,0.28);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(0,229,255,0.1);
}

/* İkon rozeti */
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--clr-cyan);
    font-size: 1.4rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 16px rgba(0,229,255,0.1);
    transition: all var(--t-fast);
}

.stat-item:hover .stat-icon {
    background: var(--clr-cyan);
    color: #000;
    border-color: var(--clr-cyan);
    box-shadow: 0 0 24px rgba(0,229,255,0.5);
    transform: scale(1.1) rotate(-5deg);
}

.stat-number {
    display: block;
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--clr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(0,229,255,0.4));
}

.stat-label {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

/* ---- Responsive Stats ---- */
@media (max-width: 768px) {
    .stats .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item { padding: 38px 24px 32px; }
    .stat-number { font-size: 3rem; }
}

@media (min-width: 480px) and (max-width: 768px) {
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   ABOUT
   ================================================================ */
/* ================================================================
   ABOUT — Premium Redesign
   ================================================================ */
.about {
    position: relative;
    overflow: hidden;
    padding: 130px 0;

    /* Farklı arka plan — hero-bg yerine saf doku */
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center 70%;
    background-attachment: fixed;
}

/* Koyu overlay + renk tonları */
.about-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            var(--bg-root)               0%,
            rgba(6, 8, 16, 0.90)        18%,
            rgba(6, 8, 16, 0.85)        82%,
            var(--bg-root)              100%),
        linear-gradient(135deg,
            rgba(124, 58, 237, 0.08)    0%,
            transparent                 50%,
            rgba(0, 229, 255, 0.06)     100%);
    z-index: 1;
    pointer-events: none;
}

/* Çapraz çizgi doku */
.about::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 58px,
        rgba(124, 58, 237, 0.018) 58px,
        rgba(124, 58, 237, 0.018) 59px
    );
    z-index: 2;
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 3;
}

/* --- Üst Başlık --- */
.about-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.about-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    background: linear-gradient(135deg, #fff 30%, var(--clr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 20px;
}

p.about-intro {
    color: var(--text-200);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Ana Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Özellik Listesi --- */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    list-style: none;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px;
    background: rgba(14, 17, 32, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-md);
    transition: all var(--t-fast);
}

.about-features li:hover {
    background: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.22);
    transform: translateX(6px);
    box-shadow: inset 4px 0 0 var(--clr-cyan);
}

.af-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--clr-cyan);
    font-size: 1.15rem;
    transition: all var(--t-fast);
}

.about-features li:hover .af-icon {
    background: var(--clr-cyan);
    color: #000;
    border-color: var(--clr-cyan);
    box-shadow: 0 0 16px rgba(0,229,255,0.4);
}

.af-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.af-body strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-100);
}

.af-body span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Vizyon / Misyon / Değerler Kartları --- */
.vm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.vm-card {
    padding: 24px 18px;
    background: rgba(14, 17, 32, 0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-md);
    text-align: center;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-violet), var(--clr-cyan));
    transform: scaleX(0);
    transition: transform var(--t-base) var(--ease-out-expo);
}

.vm-card:hover::before { transform: scaleX(1); }

.vm-card:hover {
    border-color: rgba(0, 229, 255, 0.22);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 20px rgba(124,58,237,0.08);
}

.vm-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #a78bfa;
    font-size: 1.1rem;
    margin: 0 auto 14px;
    transition: all var(--t-fast);
}

.vm-card:hover .vm-icon {
    background: var(--clr-violet);
    color: #fff;
    box-shadow: 0 0 18px rgba(124,58,237,0.45);
}

.vm-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.vm-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Görsel Alanı --- */
.about-image {
    position: relative;
}

/* Arka glow */
.about-image::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse, rgba(0,229,255,0.15) 0%, transparent 65%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.img-placeholder {
    position: relative;
    z-index: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.img-placeholder img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--t-slow);
}

.about-image:hover .img-placeholder img {
    transform: scale(1.04);
}

/* Floating rozet — sol üst */
.about-img-badge {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-violet));
    border-radius: var(--r-md);
    box-shadow: 0 8px 24px rgba(0,229,255,0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

.about-img-badge i {
    font-size: 1.4rem;
    color: #fff;
}

.about-img-badge span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Alt mini stats bar */
.about-img-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 18px 24px;
    margin-top: -1px;
    background: rgba(14, 17, 32, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.aib-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.aib-num {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--clr-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.aib-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.aib-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .vm-cards { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .vm-card { padding: 20px 14px; }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image { order: -1; }
    .about-img-badge { top: -14px; left: -10px; }
    .vm-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .vm-cards { grid-template-columns: 1fr; gap: 12px; }
    .about-features li { padding: 14px 16px; }
    .img-placeholder img { height: 280px; }
    .about-img-badge { display: none; }
}

/* ================================================================
   SERVICES
   ================================================================ */
.services {
    position: relative;
    overflow: hidden;

    /* Paralaks arka plan — hero-bg kullanıyoruz, farklı bir his için */
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

/* Koyulaştırma + Cyan-Violet renk ışıltısı */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            var(--bg-root)             0%,
            rgba(6, 8, 16, 0.86)      20%,
            rgba(6, 8, 16, 0.82)      80%,
            var(--bg-root)            100%),
        linear-gradient(135deg,
            rgba(0, 229, 255, 0.06)   0%,
            transparent               45%,
            rgba(124, 58, 237, 0.07)  100%);
    z-index: 1;
    pointer-events: none;
}

/* Çapraz çizgi dokusu */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 58px,
        rgba(0, 229, 255, 0.02) 58px,
        rgba(0, 229, 255, 0.02) 59px
    );
    z-index: 2;
    pointer-events: none;
}

/* İçerik katmanları overlay'in üstünde */
.services .container {
    position: relative;
    z-index: 3;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-base) var(--ease-out-expo),
                border-color var(--t-base),
                box-shadow var(--t-base);
    cursor: default;
    display: flex;
    flex-direction: column;
}

/* Görsel alan */
.service-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

/* Metin ve buton padding */
.service-card h3 {
    padding: 22px 26px 0;
}

.service-card p {
    padding: 10px 26px 0;
    flex: 1;
    margin-bottom: 0;
}

.service-card .btn-service-wa {
    margin: 20px 26px 26px;
    align-self: flex-start;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
}

.service-card p {
    flex: 1; /* Açıklamayı esnet — buton alta gitsin */
    margin-bottom: 24px;
}

/* WhatsApp Teklif Al Butonu */
.btn-service-wa {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    border-radius: var(--r-pill);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    align-self: flex-start;
    margin-top: auto;
}

/* İçten ışık süpürme */
.btn-service-wa::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-service-wa:hover::before { left: 150%; }

.btn-service-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}

.btn-service-wa i {
    font-size: 1rem;
}

/* Gradient top accent */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease-out-expo);
}

/* Inner glow layer */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 50% 0%, rgba(0,229,255,0.05), transparent 60%);
    opacity: 0;
    transition: opacity var(--t-base);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,229,255,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 25px rgba(0,229,255,0.08);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }

.service-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.18);
    font-size: 1.6rem;
    color: var(--clr-cyan);
    margin-bottom: 22px;
    transition: all var(--t-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-violet));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0,229,255,0.3);
    transform: rotate(5deg) scale(1.08);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: var(--text-100);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* ================================================================
   REFERENCES
   ================================================================ */
.references {
    background: var(--bg-root);
    position: relative;
    background-image: url('assets/contact-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.references::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        var(--bg-root)      0%,
        rgba(6,8,16,0.88)  50%,
        var(--bg-root)     100%);
    z-index: 1;
}

.references .container { position: relative; z-index: 2; }

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.ref-card {
    background: rgba(14,17,32,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 44px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    cursor: default;
}

.ref-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff, var(--text-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ref-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-mid);
    box-shadow: 0 20px 44px rgba(0,0,0,0.35);
}

.ref-card.active-partner {
    border-color: rgba(0,229,255,0.28);
    background: linear-gradient(145deg, rgba(0,229,255,0.05), rgba(14,17,32,0.8));
    box-shadow: 0 0 28px rgba(0,229,255,0.1);
}

.ref-card.active-partner:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 44px rgba(0,0,0,0.35), 0 0 30px rgba(0,229,255,0.15);
}

.ref-link-sm {
    font-size: 0.85rem;
    color: var(--clr-cyan);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(0,229,255,0.08);
    border-radius: var(--r-pill);
    border: 1px solid rgba(0,229,255,0.18);
    transition: all var(--t-fast);
    margin-top: 4px;
}

.ref-link-sm:hover {
    background: var(--clr-cyan);
    color: #000;
    transform: scale(1.06);
}

/* ================================================================
   TESTIMONIAL
   ================================================================ */
.testimonial-card {
    background: var(--bg-elevated);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-subtle);
    border-top-color: var(--border-mid);
    border-radius: var(--r-lg);
    padding: 60px;
    margin-top: 80px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 32px 64px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.testimonial-logo {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all var(--t-fast);
}

.testimonial-link:hover .testimonial-logo {
    opacity: 1;
    transform: scale(1.06);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

.testimonial-title h4 {
    font-size: 1.35rem;
    color: var(--text-100);
    margin-bottom: 6px;
}

.testimonial-title span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    color: var(--text-200);
    line-height: 1.9;
    font-size: 1.02rem;
    padding-top: 10px;
}

.testimonial-content p { margin-bottom: 20px; }

.quote-icon {
    position: absolute;
    top: -20px; left: -15px;
    font-size: 5rem;
    color: var(--clr-cyan);
    opacity: 0.08;
    transform: rotate(-10deg);
    z-index: -1;
}

.testimonial-footer {
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.btn-netspeed {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-mid);
    color: var(--text-100);
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.93rem;
    transition: all var(--t-fast);
}

.btn-netspeed:hover {
    background: var(--clr-cyan);
    border-color: var(--clr-cyan);
    color: #000;
    transform: translateX(6px);
    box-shadow: 0 10px 24px rgba(0,229,255,0.22);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
    position: relative;
    overflow: hidden;
    background-image: url('assets/contact-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Multi-layer gradient overlay */
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            var(--bg-root)              0%,
            rgba(6, 8, 16, 0.82)       30%,
            rgba(6, 8, 16, 0.78)       70%,
            var(--bg-root)              100%),
        linear-gradient(135deg,
            rgba(0, 229, 255, 0.07)    0%,
            transparent                50%,
            rgba(124, 58, 237, 0.08)   100%);
    z-index: 1;
    pointer-events: none;
}

/* Diagonal stripe texture on top of image */
.contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 58px,
        rgba(0, 229, 255, 0.018) 58px,
        rgba(0, 229, 255, 0.018) 59px
    );
    z-index: 2;
    pointer-events: none;
}

.contact-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
}

.contact-info { max-width: 680px; }

.contact-info p {
    color: var(--text-200);
    margin-bottom: 48px;
    font-size: 1.12rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    transition: all var(--t-base);
}

.info-item:hover {
    border-color: rgba(0,229,255,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(0,229,255,0.06);
    transform: translateY(-5px);
}

.info-item i {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--clr-cyan);
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.22);
    box-shadow: 0 0 20px rgba(0,229,255,0.08);
    transition: all var(--t-fast);
}

.info-item:hover i {
    background: var(--clr-cyan);
    color: #000;
    border-color: var(--clr-cyan);
    box-shadow: 0 10px 28px rgba(0,229,255,0.35);
    transform: scale(1.1);
}

.info-item span, .info-item div { font-size: 1.05rem; color: var(--text-200); line-height: 1.7; }
.info-item a { color: var(--text-200); transition: color var(--t-fast); }
.info-item a:hover { color: var(--clr-cyan); }

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.social-links a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    font-size: 1.15rem;
    color: var(--text-200);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--clr-cyan);
    color: #000;
    border-color: var(--clr-cyan);
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 12px 24px rgba(0,229,255,0.28);
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    padding: 48px 0 32px;
    background: var(--bg-root);
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    flex-wrap: wrap; /* İki satıra geçmesine izin ver */
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    color: var(--text-200); /* Daha yüksek kontrast için açık griye çekildi */
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #94A3B8; /* Muted yerine daha okunaklı bir gri */
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--t-fast);
}

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

/* Footer Developer Link */
.footer-dev {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-200) !important; /* Made with ❤️ kısmında yüksek kontrast */
}

.footer-dev .heart {
    color: #ff3366;
    animation: heartBeat 2s infinite ease-in-out;
    display: inline-block;
}

.footer-dev a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color var(--t-fast), text-shadow var(--t-fast);
}

.footer-dev a:hover {
    color: var(--clr-cyan);
    text-shadow: 0 0 8px var(--glow-cyan);
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
}

/* Legal Modals (Gizlilik, KVKK, Çerez) */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000; /* Sidebar vb her şeyin üstünde */
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(6, 8, 16, 0.85); /* Koyu overlay */
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.active {
    display: flex;
    opacity: 1;
}

.legal-modal-content {
    background: var(--bg-root);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 700px;
    max-height: 85vh; /* Ekrana sığma limiti */
    padding: 40px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    overflow-y: auto; /* Scroll çubuğu */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-200);
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.legal-close:hover {
    background: var(--clr-cyan);
    color: #000;
    border-color: var(--clr-cyan);
    transform: rotate(90deg);
}

.legal-modal-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--clr-cyan);
    margin-bottom: 30px;
    font-weight: 500;
}

.legal-modal-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 24px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-modal-content p {
    color: var(--text-200);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Container click engellemesi yapmasın */
}

.cookie-banner-inner {
    background: rgba(14, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--clr-cyan);
    border-radius: var(--r-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,255,0.15);
    pointer-events: auto; /* İçerik tıklanabilir */
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner-inner p {
    color: var(--text-200);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-inner a {
    color: var(--clr-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-actions button {
    padding: 10px 24px;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-200);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.cookie-btn-accept {
    background: var(--clr-cyan);
    border: 1px solid var(--clr-cyan);
    color: #000;
    box-shadow: 0 4px 15px rgba(0,229,255,0.3);
}

.cookie-btn-accept:hover {
    background: #00b3cc;
    border-color: #00b3cc;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   FLOATING BUTTONS
   ================================================================ */
.whatsapp-btn, .phone-btn {
    cursor: pointer;
    position: fixed;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.whatsapp-btn {
    bottom: 30px; right: 30px;
    background: linear-gradient(135deg, #25D366, #1a9e4e);
    box-shadow: 0 10px 24px rgba(37,211,102,0.3);
}

.phone-btn {
    bottom: 30px; left: 30px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-violet));
    box-shadow: 0 10px 24px rgba(0,229,255,0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 18px 38px rgba(37,211,102,0.45);
    border-color: rgba(255,255,255,0.2);
}

.phone-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 18px 38px rgba(0,229,255,0.45);
    border-color: rgba(255,255,255,0.2);
}

/* Pulse ring on floating btns */
.whatsapp-btn::after, .phone-btn::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: pulseRing 2.5s ease-out infinite;
}

.whatsapp-btn::after { color: #25D366; animation-delay: 0.5s; }
.phone-btn::after    { color: var(--clr-cyan); }

@keyframes pulseRing {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.7); }
}

/* ================================================================
   MODALS
   ================================================================ */
.wa-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
}

.wa-modal-content {
    background: var(--bg-elevated);
    padding: 52px 44px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border-mid);
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 32px 64px rgba(0,0,0,0.6);
    animation: modalBounceIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalBounceIn {
    from { opacity: 0; transform: scale(0.85) translateY(24px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.wa-close {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}

.wa-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    transform: rotate(90deg);
}

.wa-modal-content h3 { margin-bottom: 8px; font-size: 1.4rem; }
.wa-modal-content p  { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }

.wa-options { display: flex; flex-direction: column; gap: 14px; }

.wa-opt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 17px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid transparent;
    transition: all var(--t-fast);
}

#whatsapp-modal .wa-opt-btn {
    background: rgba(37,211,102,0.07);
    border-color: rgba(37,211,102,0.22);
    color: #25D366;
}

#whatsapp-modal .wa-opt-btn:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(37,211,102,0.25);
}

#phone-modal .wa-opt-btn {
    background: rgba(0,229,255,0.07);
    border-color: rgba(0,229,255,0.22);
    color: var(--clr-cyan);
}

#phone-modal .wa-opt-btn:hover {
    background: var(--clr-cyan);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,229,255,0.25);
}

.wa-opt-btn i { font-size: 1.3rem; }

#whatsapp-modal h3 { color: #25D366; }
#phone-modal    h3 { color: var(--clr-cyan); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .testimonial-card { padding: 44px; }
    .about-grid { gap: 44px; }
}

@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-image { margin-top: 20px; }
    .references-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 72px; }

    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(6,8,16,0.97);
        backdrop-filter: blur(24px);
        padding: 24px 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border-subtle);
        z-index: 999;
    }

    .nav-links.active li a {
        display: block;
        padding: 14px 20px;
        border-radius: var(--r-md);
        font-size: 1rem;
    }

    .stats .container { flex-direction: column; align-items: center; gap: 20px; }
    .stat-item { width: 100%; max-width: 100%; }

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

    .testimonial-card   { padding: 28px 22px; }
    .testimonial-header { flex-direction: column; text-align: center; gap: 14px; }
    .testimonial-footer { justify-content: center; }
    .quote-icon { font-size: 3.5rem; top: -10px; left: -8px; }

    .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }

    .whatsapp-btn { right: 18px; bottom: 18px; width: 56px; height: 56px; font-size: 1.5rem; }
    .phone-btn    { left:  18px; bottom: 18px; width: 56px; height: 56px; font-size: 1.3rem; }
}

@media (max-width: 480px) {
    section { padding: 80px 0; }
    .hero h1 { font-size: 2.6rem; }
    .hero p  { font-size: 1rem; }
    .btn-primary, .btn-secondary { padding: 13px 26px; font-size: 0.95rem; }
    .services-grid { grid-template-columns: 1fr; }
}

/* ===================== GALLERY SECTION ===================== */
.gallery {
    padding: 100px 0;
    background: var(--bg-root);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: none;
}

.gallery-item.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 229, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

.gallery-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: transparent;
    color: var(--clr-cyan);
    border: 1px solid var(--clr-cyan);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover, .btn-load-more:active {
    background: var(--clr-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0,229,255,0.4);
}

/* ================================================================
   MOBILE BACKGROUND FIX
   ================================================================ */
/* Disable background-attachment: fixed on mobile and iOS devices to prevent blurriness/performance issues */
@media (max-width: 1024px) {
    .hero, .about, .stats, .services, .references, .contact {
        background-attachment: scroll !important;
    }
}

@supports (-webkit-touch-callout: none) {
    /* specifically target iOS devices */
    .hero, .about, .stats, .services, .references, .contact {
        background-attachment: scroll !important;
    }
}
