/* ==========================================
   1. SİSTEM DEĞİŞKENLERİ & TEMEL SIFIRLAMA
   ========================================== */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #f59e0b;
    --bg-main: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 8px;
    --header-height: 75px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

a { 
    text-decoration: none; 
    transition: all 0.2s ease; 
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

.container-custom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================
   2. ÜST BİLGİ ŞERİDİ (TOP ANNOUNCEMENT BAR)
   ========================================== */
.top-announcement-bar {
    background-color: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
    height: 38px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    overflow: hidden;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.top-bar-ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding-right: 40px;
}

.ticker-item i {
    color: #38bdf8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-phone {
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
}

.top-phone:hover {
    color: #38bdf8;
}

.badge-status {
    background: #ef4444;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

@keyframes tickerLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .top-announcement-bar {
        height: 36px;
    }

    .top-bar-content {
        padding: 0 12px;
        gap: 10px;
    }

    .top-bar-ticker {
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .ticker-track {
        animation: tickerLoop 18s linear infinite;
        will-change: transform;
    }

    .ticker-track:hover {
        animation-play-state: paused;
    }

    .ticker-item {
        font-size: 12px;
        padding-right: 30px;
    }

    .badge-status {
        display: none;
    }

    .top-phone {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .top-phone i {
        font-size: 11px;
    }
}

/* ==========================================
   3. HEADER & NAVBAR
   ========================================== */
.header-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 30px;
    color: var(--primary);
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 600;
    padding: 6px 0;
}

.nav-links a:hover { 
    color: var(--primary); 
}

.nav-cta {
    background: var(--primary);
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius);
}

.nav-cta:hover { 
    background: var(--primary-dark); 
}

.mobile-menu-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   4. MOBİL MENÜ KATMANI (OVERLAY & DRAWER)
   ========================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-overlay.active { 
    right: 0; 
}

.mobile-menu-content {
    background: #ffffff;
    width: 310px;
    max-width: 85%;
    height: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
}

.mobile-brand i {
    color: var(--primary);
    font-size: 20px;
}

.mobile-menu-close {
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    flex-grow: 1;
}

.mobile-link {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-link i {
    width: 20px;
    color: var(--primary);
    font-size: 16px;
    text-align: center;
}

.mobile-link:hover,
.mobile-link:active {
    background: #f1f5f9;
    color: var(--primary);
}

.mobile-menu-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.mobile-wa-btn {
    background: #25d366;
    color: #ffffff !important;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-call-btn {
    background: var(--primary);
    color: #ffffff !important;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================================
   5. ORTAK SAYFA HERO (PAGE-HEADER)
   ========================================== */
.page-header {
    background: #0f172a;
    color: #ffffff;
    padding: 55px 0;
    border-bottom: 1px solid #1e293b;
}

.breadcrumb {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a { 
    color: #38bdf8; 
}

.breadcrumb .current { 
    color: #ffffff; 
    font-weight: 600; 
}

.page-header h1 { 
    font-size: 2.3rem; 
    font-weight: 800; 
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-header-desc { 
    font-size: 1.05rem; 
    color: #cbd5e1; 
    max-width: 750px; 
    line-height: 1.7;
}

/* ==========================================
   6. FOOTER
   ========================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 55px 0 24px;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-logo i { 
    color: #38bdf8; 
}

.footer-col-about p { 
    font-size: 13.5px; 
    line-height: 1.7; 
}

.footer-badges-strip {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-badges-strip span {
    background: #1e293b;
    color: #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-badges-strip i {
    color: #38bdf8;
}

.footer-col-links h4, 
.footer-col-contact h4 { 
    color: #ffffff; 
    font-size: 15px; 
    margin-bottom: 16px; 
    font-weight: 700;
}

.footer-col-links ul { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.footer-col-links a { 
    color: #94a3b8; 
    font-size: 13.5px; 
}

.footer-col-links a:hover { 
    color: #ffffff; 
}

.footer-regions-text {
    font-size: 13px;
    line-height: 1.6;
}

.footer-phone-box {
    margin-top: 16px;
    background: #1e293b;
    padding: 12px 16px;
    border-radius: var(--radius);
    border-left: 3px solid #38bdf8;
}

.footer-phone-box small { 
    display: block; 
    font-size: 11px; 
    text-transform: uppercase; 
    color: #94a3b8; 
    margin-bottom: 2px;
}

.footer-phone-box a { 
    font-size: 1.25rem; 
    color: #38bdf8; 
    font-weight: 800; 
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
}

.footer-bottom a { 
    color: #cbd5e1; 
    text-decoration: underline; 
}

/* ==========================================
   7. SAĞDA SABİT YUVARLAK AKSİYON BUTONLARI
   ========================================== */
.floating-quick-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.float-circle-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.float-circle-btn i {
    font-size: 26px;
}

/* WhatsApp (Yeşil) */
.float-wa-btn {
    background: #25d366;
}

.float-wa-btn:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* Arama Butonu (Kurumsal Mavi) */
.float-call-btn {
    background: #0284c7;
}

.float-call-btn:hover {
    background: #0369a1;
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.45);
}

/* Masaüstü Üzerine Gelince Çıkan Bilgi Baloncuğu */
.float-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.float-circle-btn:hover .float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   8. MOBİL & TABLET DUYARLILIKLARI
   ========================================== */
@media (max-width: 992px) {
    .nav-links { 
        display: none; 
    }
    
    .mobile-menu-toggle { 
        display: inline-flex; 
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.65rem;
    }

    .page-header-desc {
        font-size: 0.95rem;
    }

    .site-footer {
        margin-top: 40px;
        padding-bottom: 20px;
    }

    .floating-quick-actions {
        bottom: 20px;
        right: 18px;
        gap: 12px;
    }

    .float-circle-btn {
        width: 52px;
        height: 52px;
    }

    .float-circle-btn i {
        font-size: 23px;
    }

    .float-tooltip {
        display: none;
    }
}