/* ═════════════════════════════════════════════════════════════
   ORTAK NAVBAR STİLLERİ - Tüm sayfalarda aynı
   ═════════════════════════════════════════════════════════════ */

/* ── TOP BAR ── */
.top-bar {
    background: #0a0f1e;
    border-bottom: none;
    padding: 7px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (min-width: 900px) { .top-bar { padding: 7px 20px; } }
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #94a3b8;
    width: 100%;
}
.top-bar-left {
    display: none;
    gap: 22px;
    align-items: center;
}
@media (min-width: 900px) { .top-bar-left { display: flex; } }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .7; }

.top-bar-right {
    display: none;
    gap: 16px;
    align-items: center;
}
@media (min-width: 900px) { .top-bar-right { display: flex; } }
.top-bar-right a {
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    transition: color .2s;
}
.top-bar-right a:hover { color: #f97316; }
.top-bar-badge {
    background: #f97316;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: .4px;
}

/* ── MAIN HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 0 16px;
    height: 68px;
    gap: 8px;
}

@media (max-width: 899px) {
    .header-container {
        padding-right: 20px;
    }
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo {
    height: 46px;
    width: auto;
}
@media (min-width: 500px) { .logo { height: 52px; } }
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text-main {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
    letter-spacing: -0.2px;
}
.logo-text-sub {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 400;
    letter-spacing: .3px;
}
@media (min-width: 400px) {
    .logo-text-main {
        font-size: 0.92rem;
    }
    .logo-text-sub {
        font-size: 0.7rem;
    }
}
@media (min-width: 500px) {
    .logo-text-main {
        font-size: 1.08rem;
    }
    .logo-text-sub {
        font-size: 0.78rem;
    }
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}
@media (max-width: 899px) { .nav-links { display: none; } }
.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav-links a svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: .7;
    transition: opacity .2s;
}
.nav-links a:hover {
    color: #f1f5f9;
    background: rgba(255,255,255,0.06);
}
.nav-links a:hover svg { opacity: 1; }
.nav-links a.active {
    color: #fff;
    background: rgba(249,115,22,0.12);
}
.nav-links a.active svg { opacity: 1; color: #f97316; }

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 7/24 Badge */
.badge-724 { display: none; }
@media (min-width: 768px) {
    .badge-724 {
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(34,197,94,0.12);
        border: 1px solid rgba(34,197,94,0.25);
        color: #4ade80;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 5px 11px;
        border-radius: 20px;
        letter-spacing: .5px;
        white-space: nowrap;
    }
    .badge-724::before {
        content: '';
        width: 7px;
        height: 7px;
        background: #22c55e;
        border-radius: 50%;
        animation: pulse-dot 2s infinite;
    }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

/* Mobil Header'da Telefon - Turuncu Buton Yerine */
.header-mobile-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.header-mobile-phone svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #f97316;
}
@media (min-width: 900px) { .header-mobile-phone { display: none; } }

/* Phone Button - Sadece masaüstünde */
.phone-button {
    display: none;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 9px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: -0.2px;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
    transition: transform .18s, box-shadow .18s;
    white-space: nowrap;
}
@media (min-width: 900px) {
    .phone-button {
        display: flex;
        padding: 11px 19px;
        font-size: 0.96rem;
        gap: 9px;
    }
}
.phone-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.45);
}
.phone-button:active {
    transform: translateY(0);
    opacity: 0.95;
}
.phone-button .phone-icon {
    width: 16px;
    height: 16px;
}
@media (min-width: 900px) {
    .phone-button .phone-icon {
        width: 18px;
        height: 18px;
    }
}
.phone-btn-number { display: none; }
@media (min-width: 360px) {
    .phone-btn-number { display: inline; }
}

/* ── TAB BAR (Mobil Alt Nav) ── */
.tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 899px) {
    .tab-bar { display: block; }
}
.tab-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    max-width: 500px;
    margin: 0 auto;
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 4px;
    transition: color .2s;
}
.tab-item svg {
    display: none;
}
.tab-item .tab-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 1;
    transition: opacity .2s;
    filter: none;
}
.tab-item.active {
    color: #f97316;
}
.tab-item.active .tab-icon-img {
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(249,115,22,0.3));
}
.tab-item:active {
    opacity: .7;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float img {
    width: 35px;
    height: 35px;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
@media (max-width: 899px) {
    .whatsapp-float {
        bottom: 80px;
    }
}

/* ── FOOTER ALT PADDING (tab bar için) ── */
body {
    overflow-x: hidden;
    width: 100vw;
}
html {
    overflow-x: hidden;
    width: 100vw;
}

/* Mobilde footer ve içerik tab bar'a basmasın */
@media (max-width: 899px) {
    footer {
        padding-bottom: 90px !important;
    }
    
    /* Contact section da mobilde tab bar üstünde kalmasını sağla */
    .contact-section,
    .contact,
    .cta-section {
        margin-bottom: 0;
    }
}
