/* =============================================================================
   GLOBAL YİĞİT — ORTAK LAYOUT DOSYASI (layout.css)
   Tüm sayfalarda sadece bu CSS dosyasını ve Font/Icon linklerini ekleyin.
   ============================================================================= */

/* ─── 1. CSS DEĞİŞKENLERİ ─────────────────────────────────────────────────── */
:root {
    --logo-blue:    #0f68b3;
    --logo-orange:  #f2721c;
    --logo-sky:     #299bf5;
    --navy-dark:    #0a2540;
    --text-slate:   #475569;
    --border-light: #e2e8f0;
    --bg-light:     #f8fafc;
    --soft-white:   #ffffff;
    --success:      #16a34a;
}

/* ─── 2. RESET & TEMEL ────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-slate);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── 3. TOP BAR ──────────────────────────────────────────────────────────── */
.top-bar {
    background-color: var(--navy-dark);
    color: #94a3b8;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.tb-left i {
    color: var(--logo-sky);
    margin-right: 5px;
}

.tursab-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #fff;
}

.tursab-badge i {
    color: #ffd700 !important;
}

.tb-right a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
}

.tb-right a:hover {
    color: #fff;
}

.tb-right .ssl-badge {
    margin-left: 15px;
    color: #94a3b8;
}

.tb-right .ssl-badge i {
    color: var(--success);
    margin-right: 4px;
}

/* ─── 4. MAIN HEADER ──────────────────────────────────────────────────────── */
.main-header {
    background: var(--soft-white);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--logo-blue);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
}

/* Navigasyon */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--logo-orange);
}

/* Header butonları */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-support {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-slate);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s, color 0.2s;
}

.btn-support:hover {
    border-color: var(--logo-blue);
    color: var(--logo-blue);
}

.btn-login {
    text-decoration: none;
    background-color: var(--navy-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: var(--logo-blue);
}

/* ─── 5. FOOTER ───────────────────────────────────────────────────────────── */
.main-footer {
    background: var(--navy-dark);
    color: #94a3b8;
    padding: 70px 0 30px 0;
    margin-top: 70px;
    border-top: 3px solid var(--logo-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 50px;
}

/* Footer logo alanı */
.footer-brand .logo-container {
    margin-bottom: 15px;
}

.footer-brand .logo-title {
    color: #fff;
}

.footer-brand .logo-subtitle {
    color: #94a3b8;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    color: #64748b;
    font-size: 18px;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: #fff;
}

/* Footer link sütunları */
.footer-links-col h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links-col a:hover {
    color: #fff;
}

/* İletişim satırları */
.contact-info-p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-info-p i {
    color: var(--logo-orange);
    margin-right: 8px;
    width: 14px;
    text-align: center;
}

/* Footer alt çubuğu */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-badges-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #64748b;
}

.payment-badges-row .ssl-text-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* TÜRSAB Rozetleri */
.tursab-header-badge, .tursab-footer-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--border-light);
}

.tursab-header-badge img, .tursab-footer-badge img {
    height: 35px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.tursab-header-badge span, .tursab-footer-badge span {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}

.tursab-footer-badge {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tursab-footer-badge span {
    color: #94a3b8;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.whatsapp-float i {
    animation: whatsapp-shake 2s infinite ease-in-out;
}

@keyframes whatsapp-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* ─── 6. MOBİL RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-links {
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .tb-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    /* Header Mobilde Temiz Tek Satır */
    .header-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo-container {
        justify-content: flex-start;
    }

    .nav-links {
        display: none !important;
    }

    .header-actions {
        width: auto;
        justify-content: flex-end;
    }

    /* Footer */
    .main-footer {
        margin-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
