/* --- TEMEL DEĞİŞKENLER VE KURUMSAL RENK GEÇİŞLERİ --- */
:root {
    --primary: #0b192c;
    --primary-light: #1e3e62;
    --accent: #00adb5;
    --accent-hover: #008c93;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --section-bg: #f8fafc;
    --border: #e2e8f0;
    --border-focus: #cbd5e1;

    --grad-hero-overlay: linear-gradient(180deg, rgba(11, 25, 44, 0.85) 0%, rgba(30, 62, 98, 0.70) 100%);
    --grad-stats: linear-gradient(135deg, #0b192c 0%, #162a45 50%, #0b192c 100%);
    --grad-accent-btn: linear-gradient(135deg, #00adb5 0%, #008c93 100%);
    --grad-card-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --grad-badge-bg: linear-gradient(135deg, rgba(0, 173, 181, 0.12) 0%, rgba(11, 25, 44, 0.05) 100%);
    --grad-divider: linear-gradient(90deg, rgba(0, 173, 181, 0) 0%, rgba(0, 173, 181, 0.4) 50%, rgba(0, 173, 181, 0) 100%);

    --shadow-sm: 0 4px 10px -2px rgba(11, 25, 44, 0.04), 0 2px 4px -2px rgba(11, 25, 44, 0.02);
    --shadow-md: 0 12px 28px -6px rgba(11, 25, 44, 0.08), 0 8px 12px -6px rgba(11, 25, 44, 0.04);
    --shadow-lg: 0 20px 35px -8px rgba(0, 173, 181, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-gradient-divider {
    height: 1px;
    width: 100%;
    background: var(--grad-divider);
}

/* --- HEADER VE ÜST MENÜ --- */
.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 20px;
}

.logo-compact a {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-compact span {
    color: var(--accent);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a:not(.btn-teklif) {
    display: inline-block;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--section-bg);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.25s ease-in-out;
}

.main-nav a:not(.btn-teklif):hover {
    color: var(--accent);
    background: #f0fdfa;
    border-color: #99f6e4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 173, 181, 0.12);
}

.main-nav .btn-teklif {
    background: var(--grad-accent-btn);
    color: var(--white) !important;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 173, 181, 0.3);
    transition: all 0.25s ease-in-out;
    display: inline-block;
}

.main-nav .btn-teklif:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- SWİPER / VIDEO SLİDER --- */
.swiper, .css-video-slider {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary);
}

.slider-video-slide, .css-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slider-video-slide.active, .css-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slider-video, .css-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.slider-video-slide::after, .css-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-hero-overlay);
    z-index: 2;
}

/* --- DİJİTAL EKOSİSTEM (GENİŞLETİLMİŞ & BEYAZ ARKA PLAN) --- */
.ecosystem-split-section {
    padding: 65px 0;
    background: var(--white) !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* KUTULARI SOLA VE SAĞA GENİŞLETEN KONTEYNER */
.ecosystem-split-section .container {
    max-width: 1440px !important;
    width: 95% !important;
}

.ecosystem-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.eco-card-box,
.eco-videos-side-dual {
    background: linear-gradient(145deg, #0b192c 0%, #162a45 100%) !important;
    border: 1px solid rgba(0, 173, 181, 0.25) !important;
    border-radius: 20px !important;
    padding: 38px 34px !important;
    box-shadow: 0 15px 35px rgba(11, 25, 44, 0.12), 0 0 15px rgba(0, 173, 181, 0.1) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.eco-card-box:hover,
.eco-videos-side-dual:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 20px 45px rgba(11, 25, 44, 0.2), 0 0 25px rgba(0, 173, 181, 0.25) !important;
    transform: translateY(-3px);
}

.section-badge {
    display: inline-block;
    background: rgba(0, 173, 181, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 30px;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 173, 181, 0.35);
}

.eco-intro-side h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.eco-intro-side p {
    font-size: 15.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 520px;
}

.eco-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    text-align: left;
}

.eco-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.55;
}

.eco-features-list li strong {
    color: var(--white);
}

.eco-features-list li i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.eco-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--grad-accent-btn);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 4px 18px rgba(0, 173, 181, 0.35);
    transition: all 0.3s ease;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.eco-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 173, 181, 0.55);
    background: linear-gradient(135deg, #00c4ce 0%, #00adb5 100%);
}

.youtube-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: all 0.3s ease;
    width: 100%;
}

.youtube-responsive-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.youtube-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- BEYAZ ARKA PLANLI & NEON KUTULU SAYAÇ BANDI --- */
.neon-counter-section {
    background: var(--white) !important;
    padding: 60px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.neon-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.neon-counter-card {
    background: linear-gradient(145deg, #0b192c 0%, #162a45 100%);
    border: 1px solid rgba(0, 173, 181, 0.35);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(11, 25, 44, 0.12), 0 0 15px rgba(0, 173, 181, 0.15);
    transition: all 0.35s ease-in-out;
    position: relative;
    overflow: hidden;
}

.neon-counter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 173, 181, 0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.neon-counter-card:hover::before {
    opacity: 1;
}

.neon-counter-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(11, 25, 44, 0.25), 0 0 25px rgba(0, 173, 181, 0.35);
}

.neon-counter-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(0, 173, 181, 0.6);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.neon-counter-label {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* --- TEDAVİ / GELİŞTİRME SÜRECİ --- */
.treatment-card {
    background: var(--grad-card-bg);
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 173, 181, 0.1) 50%, transparent 100%);
    transition: all 0.6s ease;
    z-index: -1;
}

.treatment-card:hover::before {
    left: 100%;
}

.treatment-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 12px 28px -6px rgba(0, 173, 181, 0.2) !important;
}

.treatment-step-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.treatment-card:hover .treatment-step-num {
    transform: scale(1.15) translateX(3px);
    color: var(--accent-hover);
}

.treatment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--grad-accent-btn);
    transition: width 0.4s ease;
}

.treatment-card:hover::after {
    width: 100%;
}

/* --- MARQUEE (KAYAN ŞERİT) --- */
.marquee-services-section {
    background: var(--section-bg);
    padding: 30px 0;
    overflow: visible !important;
    position: relative;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    z-index: 10;
}

.marquee-track {
    display: inline-flex;
    gap: 20px;
    animation: marqueeScroll 35s linear infinite;
    white-space: nowrap;
}

.marquee-services-section:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.marquee-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--accent-hover);
}

.marquee-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11, 25, 44, 0.15);
    z-index: 100;
}

.marquee-item:hover .marquee-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
}

.service-popup-card {
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 270px;
    background: var(--white);
    color: var(--text-main);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 30px rgba(11, 25, 44, 0.15);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    white-space: normal;
    pointer-events: none;
}

.service-popup-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
}

.marquee-item:hover .service-popup-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- BAŞLIK & REFERANSLAR --- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 35px;
}

.section-title-wrapper h2 {
    font-size: 30px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-title-wrapper p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
}

.references-section {
    padding: 55px 0;
    background: var(--white);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.ref-card {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.ref-card:hover {
    border-color: var(--accent);
    color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #e6fffa 100%);
    box-shadow: 0 8px 20px -5px rgba(0, 173, 181, 0.15);
    transform: translateY(-3px);
}

/* --- SABİT İLETİŞİM BUTONLARI --- */
.floating-buttons {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.float-btn {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(11, 25, 44, 0.25) !important;
    transition: transform 0.3s ease !important;
}

.whatsapp-float {
    background-color: #25d366 !important;
    color: #ffffff !important;
}

.phone-float {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.float-btn:hover {
    transform: scale(1.1) !important;
}

/* --- RESPONSİVE (MOBİL) --- */
@media (max-width: 992px) {
    .hamburger-btn {
        display: flex;
    }

    .site-header-container {
        height: 75px;
    }

    .main-nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 20px 24px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .main-nav a:not(.btn-teklif) {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 15px;
        white-space: normal;
    }

    .main-nav .btn-teklif {
        text-align: center;
        display: block;
        width: 100%;
        font-size: 15px;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .ecosystem-split-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .eco-intro-side h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .swiper, .css-video-slider {
        height: 300px;
    }

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

    .floating-buttons {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        gap: 10px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .float-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 18px !important;
    }
}