/* ═══════════════════════════════════════════════
   Must Global Lojistik — Ana Stil Dosyası
   ═══════════════════════════════════════════════ */

:root {
    --primary: #174AB7;
    --primary-dark: #122d47;
    --accent: #e8a020;
    --text: #2d2d2d;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border: #e9ecef;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, .08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .12);
    --transition: .3s ease;
}

/* ── RESET & BASE ─────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

p {
    font-size: 1rem;
}

.lead {
    font-size: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

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

/* ── PRELOADER ────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── SECTION HEADERS ──────────────────────────── */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #0a0a0a;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #2a20b7;
    border-radius: 2px;
}

.text-center .section-title::after,
.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 12px;
}

/* ── TOPBAR ───────────────────────────────────── */
.topbar {
    background: linear-gradient(to right, #060d1f 0%, #0d2260 50%, #1a45a8 100%);
    color: rgba(255, 255, 255, .85);
    font-size: .875rem;
}

.topbar a {
    color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
    color: #fff;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    transition: background var(--transition);
}

.topbar-social a:hover {
    background: var(--accent);
}

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
    padding: 0 0;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    padding: 10px 0;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
}

.footer-logo-img {
    max-height: 100px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 20px 16px !important;
    transition: color var(--transition);
    position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: .9rem;
    transition: background var(--transition), color var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary);
    color: #fff;
}

/* ── HERO SLIDER ──────────────────────────────── */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.swiper-hero {
    height: 100vh;
    min-height: 600px;
    max-height: 750px;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 13, 31, .82) 0%, rgba(13, 34, 96, .65) 50%, rgba(26, 69, 168, .35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 650px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Swiper Controls */
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    color: #fff !important;
    transition: background var(--transition);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    font-weight: 700;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/* Hero Animate In */
.animate-in {
    animation: fadeUp .8s ease both;
}

.animate-in.delay-1 {
    animation-delay: .2s;
}

.animate-in.delay-2 {
    animation-delay: .4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── PAGE HERO (alt sayfalar) ─────────────────── */
.page-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.page-hero .hero-overlay {
    background: rgba(26, 60, 94, .75);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

/* ── BREADCRUMB ───────────────────────────────── */
.breadcrumb-nav {
    background: #f0f4f8;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* ── SERVICE CARDS ────────────────────────────── */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(26, 60, 94, .08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0a0a0a;
}

.service-desc {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: .875rem;
    color: var(--primary);
}

.service-link:hover {
    color: var(--accent);
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ── SECTOR CARDS ─────────────────────────────── */
.sector-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

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

.sector-card:hover .sector-icon {
    background: var(--accent);
    color: #fff;
}

.sector-img-wrapper {
    position: relative;
    overflow: hidden;
}

.sector-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
    transition: transform 0.5s ease;
}

.sector-img-placeholder {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #eef2f7 100%);
    color: var(--primary);
    font-size: 48px;
    gap: 10px;
}

.sector-img-placeholder::after {
    content: 'Görsel Eklenmemiş';
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.6;
}

.sector-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-size: 44px;
    color: #fff;
    transition: var(--transition);
}

.sector-body {
    padding: 24px;
}

.sector-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 10px;
}

.sector-desc {
    color: var(--text-muted);
    font-size: .9rem;
}

/* ── STATS ────────────────────────────────────── */
.stats-section {
    background: linear-gradient(to bottom, #174AB7 0%, #0d2260 100%);
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: .7;
    margin-bottom: 12px;
}

.stat-number {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: .9rem;
    opacity: .85;
    font-weight: 500;
}

/* ── ABOUT SECTION ────────────────────────────── */
.about-img-wrap {
    position: relative;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    inset: -12px -12px 12px 12px;
    border: 3px solid #efefef;
    border-radius: var(--radius);
    z-index: -1;
}

/* ── CTA ──────────────────────────────────────── */
.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.cta-subtitle {
    opacity: .85;
    margin-top: 8px;
    color: #fff;
}

/* ── CONTACT ──────────────────────────────────── */
.contact-item {
    margin-bottom: 20px;
}

.contact-icon {
    min-width: 36px;
    margin-top: 3px;
}

.contact-form .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 94, .12);
}

/* ── BLOG ─────────────────────────────────────── */
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-title a {
    color: var(--primary);
    font-weight: 600;
}

.blog-title a:hover {
    color: var(--accent);
}

.read-more {
    font-weight: 600;
    font-size: .875rem;
    color: var(--primary);
}

.read-more:hover {
    color: var(--accent);
}

/* Blog detay */
.post-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.post-content h2,
.post-content h3 {
    color: var(--primary);
    margin: 30px 0 16px;
}

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

/* ── FOOTER ───────────────────────────────────── */
.site-footer {
    background: radial-gradient(ellipse at 70% 20%, #1a45a8 0%, #0d2260 45%, #060d1f 100%);
    color: rgba(255, 255, 255, .8);
    margin-top: 10px;
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    display: inline-block;
}

.footer-desc {
    font-size: .9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .7);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
    transition: all .2s;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: .9rem;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, .8);
}

.footer-contact-list a:hover {
    color: var(--accent);
}

.footer-social a.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    margin-right: 8px;
    transition: background var(--transition), color var(--transition);
}

.footer-social a.social-link:hover {
    background: var(--accent);
    color: #fff;
}

.footer-bottom {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-text {
    color: rgba(255, 255, 255, .7);
}

.footer-spherlogy-link {
    color: var(--accent);
    text-decoration: none;
}

.footer-spherlogy-link:hover {
    color: #fff;
}

/* ── WHATSAPP FLOAT ───────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, .6);
    color: #fff !important;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ── MISSION CARDS ────────────────────────────── */
.mission-card {
    border-left: 4px solid var(--accent) !important;
}

/* ── MAPS EMBED ───────────────────────────────── */
.maps-embed iframe {
    width: 100%;
    height: 280px;
    border-radius: var(--radius);
    border: 0;
}

/* ── BACK TO TOP ──────────────────────────────── */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 998;
    border: none;
    box-shadow: var(--shadow);
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

#backToTop:hover {
    transform: translateY(-3px);
    background: var(--accent);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 991px) {
    .swiper-hero {
        height: 70vh;
    }

    .nav-link {
        padding: 12px 16px !important;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .swiper-hero {
        height: 85vh;
        min-height: 500px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ── BUTTON OVERRIDES ─────────────────────────────────── */
.btn {
    font-size: 0.90rem !important;
    padding: 0.6rem 1.4rem !important;
}
/* ══════════════════════════════════════════════════════════════
   HIZLI İLETİŞİM WİDGETİ
   ══════════════════════════════════════════════════════════════ */

.cw-wrapper {
    position: fixed;
    z-index: 9100;
    bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
}
.cw-wrapper.cw-bottom-right { right: 1.75rem; align-items: flex-end; }
.cw-wrapper.cw-bottom-left  { left:  1.75rem; align-items: flex-start; }

/* Toggle butonu */
.cw-btn {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    background: var(--primary, #174AB7);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: .8125rem 1.375rem .8125rem 1.125rem;
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(23,74,183,.45);
    transition: transform .2s, box-shadow .2s, background .2s;
    line-height: 1;
    white-space: nowrap;
}
.cw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(23,74,183,.55);
    background: #1341a0;
}
.cw-btn:active { transform: translateY(0); }
.cw-btn-icon { font-size: 1.125rem; display: flex; align-items: center; }
.cw-btn-label { font-size: .875rem; }

/* Panel */
.cw-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
    width: 340px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px) scale(.97);
    transition: max-height .35s cubic-bezier(.4,0,.2,1),
                opacity    .3s ease,
                transform  .3s ease;
    pointer-events: none;
}
.cw-panel.cw-open {
    max-height: 640px;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Panel — header */
.cw-panel-header {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1.25rem 1.375rem;
    background: var(--primary, #174AB7);
    border-radius: 16px 16px 0 0;
    color: #fff;
}
.cw-panel-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.cw-panel-title    { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.cw-panel-subtitle { font-size: .8125rem; opacity: .75; margin-top: .125rem; }

/* Panel — body */
.cw-panel-body { padding: 1.25rem 1.375rem 1.375rem; }

/* Form */
.cw-form { display: flex; flex-direction: column; gap: .75rem; }
.cw-row  { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.cw-field { display: flex; flex-direction: column; }
.cw-input {
    width: 100%;
    padding: .6875rem .875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: .875rem;
    color: #374151;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
    line-height: 1.4;
}
.cw-input:focus {
    outline: none;
    border-color: var(--primary, #174AB7);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23,74,183,.1);
}
.cw-input::placeholder { color: #9ca3af; }

/* Turnstile */
.cw-turnstile { border-radius: 6px; overflow: hidden; }

/* Error */
.cw-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: .625rem .875rem;
    font-size: .8125rem;
}

/* Submit */
.cw-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    background: var(--primary, #174AB7);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .8125rem;
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    margin-top: .25rem;
}
.cw-submit:hover:not(:disabled) {
    background: #1341a0;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(23,74,183,.4);
}
.cw-submit:disabled { opacity: .65; cursor: not-allowed; }

/* Başarı */
.cw-success {
    text-align: center;
    padding: 1.5rem .5rem 1rem;
}
.cw-success-icon {
    font-size: 2.75rem;
    color: #16a34a;
    margin-bottom: .875rem;
}
.cw-success-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .375rem;
}
.cw-success-text { font-size: .875rem; color: #6b7280; }

/* WhatsApp ile çakışmasın — WA butonu widget'ın üzerinde olduğunda */
.cw-wrapper.cw-bottom-right { right: 1.75rem; }
.whatsapp-float { bottom: 1.75rem; }

@media (max-width: 480px) {
    .cw-wrapper { bottom: 1.25rem; }
    .cw-wrapper.cw-bottom-right { right: 1rem; }
    .cw-wrapper.cw-bottom-left  { left:  1rem; }
    .cw-panel { width: calc(100vw - 2rem); }
    .cw-btn-label { display: none; }
    .cw-btn { padding: .9rem; border-radius: 50%; }
}
