/* ==========================================================================
   Koran Uluslararası Nakliyat – Tek Sayfa Web Sitesi
   ========================================================================== */

:root {
    --primary: #4054b2;
    --primary-dark: #2c3c8f;
    --ink: #0e1433;
    --ink-2: #101a4d;
    --accent: #6ec1e4;
    --red: #c8102e;
    --bg: #f6f8fd;
    --card: #ffffff;
    --line: #e3e8f5;
    --muted: #5b6478;
    --radius: 18px;
    --shadow: 0 18px 45px -18px rgba(14, 20, 51, 0.22);
    --shadow-sm: 0 8px 24px -12px rgba(14, 20, 51, 0.18);
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--card);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section[id], footer[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 800; }

.container { width: min(1200px, 92%); margin-inline: auto; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a30d25; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--accent); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); }
.btn-wa { background: #128c7e; color: #fff; }
.btn-wa:hover { background: #0e6f63; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar { background: var(--ink-2); color: rgba(255, 255, 255, 0.92); font-size: 0.83rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-tagline { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: 0.02em; }
.topbar-contact { display: flex; align-items: center; gap: 22px; }
.topbar-contact a { color: rgba(255, 255, 255, 0.92); transition: color 0.2s; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact a:hover { color: var(--accent); }
.topbar-ico { flex-shrink: 0; }

/* ---------- Navigasyon ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.navbar.is-scrolled { box-shadow: 0 6px 24px -14px rgba(14, 20, 51, 0.28); border-color: var(--line); }
.navbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
}
.nav > ul > li > a:hover { color: var(--primary); background: #eef1fb; }
.caret { transition: transform 0.2s; }

.has-drop:hover .caret { transform: rotate(180deg); }
.drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink);
    transition: background 0.2s, color 0.2s;
}
.drop a:hover { background: #eef1fb; color: var(--primary); }

.nav-cta { margin-left: 12px; padding: 11px 24px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #eef1fb;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span { height: 2.4px; width: 100%; background: var(--primary); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: clamp(500px, 74vh, 660px);
    min-height: 500px;
    overflow: hidden;
    background: var(--ink);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 15, 48, 0.88) 0%, rgba(14, 20, 51, 0.55) 55%, rgba(14, 20, 51, 0.25) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding-block: 70px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; max-width: 780px; }
.hero-badge, .hero-lead, .hero-actions { max-width: 780px; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.92); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(14, 20, 51, 0.35);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s;
    display: grid;
    place-items: center;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 9px;
}
.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.3s, background 0.3s;
    padding: 0;
}
.hero-dots button.is-active { width: 30px; background: #fff; }

/* ---------- Bölüm genel ---------- */
.section { padding: 100px 0; }
.kicker {
    display: inline-block;
    color: var(--red);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.sec-head h2, .about-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.55rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 1.03rem; }

/* ---------- Hakkımızda ---------- */
.about { background: var(--card); }
.about-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-exp {
    position: absolute;
    left: -22px;
    bottom: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
}
.about-exp strong { font-family: var(--font-head); font-size: 2.1rem; line-height: 1; }
.about-exp span { font-size: 0.83rem; line-height: 1.35; opacity: 0.92; }
.about-body > p { color: var(--muted); margin-bottom: 16px; }

.checklist { margin: 22px 0 30px; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; font-size: 0.98rem; }
.checklist li::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    background: #e8edfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234054b2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Sayılar ---------- */
.stats { position: relative; padding: 96px 0; overflow: hidden; }
.stats-bg {
    position: absolute;
    inset: 0;
    background: url("../img/stats-bg.jpg") center / cover no-repeat fixed;
}
.stats-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(14, 20, 51, 0.96), rgba(64, 84, 178, 0.9));
}
.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    text-align: center;
    color: #fff;
}
.stat-num { font-family: var(--font-head); font-size: clamp(2.3rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.1; display: block; }
.stat-label { color: var(--accent); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; }

/* ---------- Hizmetler ---------- */
.services { background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.svc-card {
    background: var(--card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 16/10.4; object-fit: cover; }
.svc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 16px -6px rgba(14, 20, 51, 0.4);
}
.svc-badge-sea { background: var(--red); }
.svc-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.svc-card-sea .svc-body { background: linear-gradient(180deg, #eef6fd, #e4f1fa); }
.svc-body h3 { font-size: 1.55rem; margin-bottom: 12px; }
.svc-body > p { color: var(--muted); font-size: 0.98rem; }
.svc-body .checklist { margin-top: 18px; font-size: 0.94rem; }
.svc-link {
    margin-top: auto;
    padding-top: 22px;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.svc-card-sea .svc-link { color: var(--red); }
.svc-link span { transition: transform 0.25s; }
.svc-link:hover span { transform: translateX(5px); }

/* ---------- CTA bandı ---------- */
.cta-band { position: relative; padding: 110px 0; overflow: hidden; }
.cta-bg {
    position: absolute;
    inset: 0;
    background: url("../img/cta-bg.jpg") center / cover no-repeat;
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(64, 84, 178, 0.92); }
.cta-in { position: relative; z-index: 2; text-align: center; color: #fff; }
.cta-in h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-in p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--accent); font-weight: 600; margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Galeri ---------- */
.gallery { background: var(--card); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 14px;
}
.g-item { position: relative; overflow: hidden; border-radius: 14px; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(14, 20, 51, 0.35));
    opacity: 0;
    transition: opacity 0.3s;
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }
.g-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.g-tall { grid-row: span 2; }

/* ---------- İletişim ---------- */
.contact { background: var(--bg); }
.contact-head { margin-bottom: 38px; }
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.person-card {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.person-top { display: flex; align-items: center; gap: 14px; }
.avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8edfd;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
}
.person-top h3 { font-size: 1.06rem; }
.role { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.person-links { display: grid; gap: 6px; font-size: 0.88rem; overflow-wrap: anywhere; }
.person-links a { font-weight: 600; color: var(--primary); }
.person-links a:hover { text-decoration: underline; }
.contact-map { width: 100%; margin-top: 28px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.contact-map iframe { width: 100%; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: rgba(255, 255, 255, 0.82); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;
    gap: 44px;
    padding: 72px 0 56px;
}
.f-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.f-brand p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.68); max-width: 300px; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.94rem; transition: color 0.2s, padding-left 0.2s; }
.footer ul a:hover { color: var(--accent); padding-left: 4px; }
.f-contact li { font-size: 0.94rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Sabit WhatsApp CTA & Yukarı çık ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 150;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px -10px rgba(18, 140, 126, 0.6);
    transition: transform 0.25s, background 0.25s;
}
.wa-float:hover { transform: scale(1.08); background: #1ebe5b; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.to-top {
    position: fixed;
    right: 27px;
    bottom: 94px;
    z-index: 150;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s, color 0.2s, border-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(8, 10, 26, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: min(94vw, 1200px);
    max-height: 84vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.lb-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); }
.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s;
}
.lb-arrow:hover { background: var(--red); border-color: var(--red); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .section { padding: 78px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-media { max-width: 640px; }
    .svc-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .nav {
        position: fixed;
        inset: 84px 0 auto 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 5%;
        box-shadow: 0 24px 40px -20px rgba(14, 20, 51, 0.3);
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
    .nav > ul > li > a { width: 100%; justify-content: space-between; }
    .drop { position: static; box-shadow: none; border: 0; background: var(--bg); opacity: 1; visibility: visible; transform: none; padding: 6px; margin: 2px 0 8px; display: none; }
    .has-drop.is-open .drop { display: block; }
    .has-drop.is-open .caret { transform: rotate(180deg); }
    .nav-cta { margin: 14px 0 6px; }
    .nav-toggle { display: flex; }
    .topbar-tagline { display: none; }
}

@media (max-width: 620px) {
    .section { padding: 64px 0; }
    .hero { height: auto; min-height: 0; }
    .hero-content { padding: 120px 0 150px; }
    .hero-arrow { display: none; }
    .about-exp { left: 10px; bottom: 10px; padding: 14px 16px; }
    .about-exp strong { font-size: 1.7rem; }
    .stats { padding: 70px 0; }
    .stats-bg { background-attachment: scroll; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 16px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
    .cta-band { padding: 84px 0; }
    .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; padding: 56px 0 40px; }
    .footer-bottom-in { justify-content: center; text-align: center; }
    .topbar-in { justify-content: center; }
    .topbar-contact { gap: 16px; }
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
    .wa-float svg { width: 27px; height: 27px; }
    .to-top { width: 44px; height: 44px; right: 20px; bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
