/* ===========================================================
   Özken Group — Light & Futuristic
   Palette inspired by the corporate logo
   =========================================================== */

:root {
    --c-navy:        #1a3a6c;
    --c-navy-2:      #244a82;
    --c-blue:        #2d6db5;
    --c-blue-soft:   #6fa3d6;
    --c-blue-pale:   #a8c4e0;
    --c-mist:        #dceaf7;
    --c-bg:          #f4f7fb;
    --c-bg-2:        #ffffff;
    --c-ink:         #0f1d36;
    --c-ink-soft:    #4b5d7a;
    --c-line:        #e3ecf6;

    --grad-brand: linear-gradient(135deg, #1a3a6c 0%, #2d6db5 50%, #6fa3d6 100%);
    --grad-soft:  linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
    --grad-card:  linear-gradient(160deg, rgba(255,255,255,.85) 0%, rgba(220,234,247,.55) 100%);

    --shadow-sm: 0 4px 14px rgba(26, 58, 108, 0.06);
    --shadow-md: 0 14px 40px rgba(26, 58, 108, 0.08);
    --shadow-lg: 0 30px 80px rgba(26, 58, 108, 0.12);

    --radius-sm: 10px;
    --radius:    18px;
    --radius-lg: 28px;

    --container: 1240px;
    --header-h:  92px;

    --f-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --f-display: 'Space Grotesk', 'Inter', sans-serif;

    --t-fast: .25s ease;
    --t-mid:  .45s cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
}

/* ============== Decorative background ============== */
.bg-orbits {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.bg-orbits .orbit {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
}
.orbit-1 { width: 580px; height: 580px; left: -180px; top: -200px;
    background: radial-gradient(circle at 30% 30%, #cfe1f5, transparent 70%); }
.orbit-2 { width: 700px; height: 700px; right: -260px; top: 240px;
    background: radial-gradient(circle at 70% 30%, #b6d2ed, transparent 70%); }
.orbit-3 { width: 600px; height: 600px; left: 30%; bottom: -240px;
    background: radial-gradient(circle at 50% 50%, #d8e7f7, transparent 70%); }
.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(26,58,108,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26,58,108,.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ===================== HEADER ===================== */
.site-header {
    position: relative;
    height: var(--header-h);
    z-index: 100;
    background: transparent;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
}
.brand-logo {
    height: 56px;
    width: auto;
    transition: transform var(--t-fast);
}
.brand:hover .brand-logo { transform: scale(1.03); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}
.primary-nav > a {
    font-weight: 500;
    color: var(--c-ink);
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}
.primary-nav > a:not(.lang-switch)::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 2px;
    background: var(--grad-brand);
    transition: all var(--t-mid);
    transform: translateX(-50%);
    border-radius: 2px;
}
.primary-nav > a:hover:not(.lang-switch)::after { width: 100%; }
.primary-nav > a:hover { color: var(--c-navy); }

.lang-switch {
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all var(--t-fast);
    background: rgba(255,255,255,.6);
}
.lang-switch:hover {
    border-color: var(--c-navy);
    background: var(--c-navy);
    color: #fff !important;
}
.lang-switch--mobile {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(8px);
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--c-navy);
    border-radius: 2px;
    transition: all var(--t-fast);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown nav (accordion under header) */
.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    transition: max-height .35s cubic-bezier(.2,.7,.2,1), padding .35s ease;
}
.mobile-nav.is-open {
    max-height: 360px;
    padding: 18px 28px 22px;
}
.mobile-nav > a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--c-line);
    font-size: 16px;
    font-weight: 500;
    color: var(--c-ink);
}
.mobile-nav > a:last-child { border-bottom: 0; }
.mobile-nav > a:hover { color: var(--c-blue); }
@media (max-width: 880px) {
    .mobile-nav { display: flex; }
}

/* Scroll progress bar (top of viewport, fixed) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--grad-brand);
    pointer-events: none;
    z-index: 200;
}

/* ===================== HERO ===================== */
.hero {
    min-height: calc(100vh - var(--header-h));
    padding: 40px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--f-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-blue);
    padding: 6px 14px;
    background: rgba(45, 109, 181, .08);
    border: 1px solid rgba(45, 109, 181, .18);
    border-radius: 999px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 3.8vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 28px;
    font-weight: 700;
    color: var(--c-ink);
}
.hero-title .line { display: block; white-space: nowrap; }
@media (max-width: 880px) {
    .hero-title .line { white-space: normal; }
}
.gradient-text {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--c-ink-soft);
    margin: 0 0 36px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 12px 30px rgba(26, 58, 108, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(26, 58, 108, .32); }
.btn-ghost {
    color: var(--c-navy);
    border-color: var(--c-navy);
    background: transparent;
}
.btn-ghost:hover {
    background: var(--c-navy);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero visual (globe + floating cards) */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin-left: auto;
}
.globe-stage {
    position: relative;
    width: 100%; height: 100%;
}
.globe {
    width: 100%; height: 100%;
    filter: drop-shadow(0 30px 60px rgba(26, 58, 108, .25));
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.globe .ring { transform-origin: 200px 200px; animation: spin 18s linear infinite; }
.globe .ring.r2 { animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
    position: absolute;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    min-width: 130px;
}
.float-card strong { display: block; font-size: 14px; color: var(--c-navy); font-weight: 700; }
.float-card small { color: var(--c-ink-soft); font-size: 11px; }
.float-card .ico { font-size: 22px; color: var(--c-blue); }
.float-card .dot {
    width: 10px; height: 10px;
    background: #2bd47b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(43, 212, 123, .2);
}
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 4px rgba(43, 212, 123, .2); }
    50%      { box-shadow: 0 0 0 10px rgba(43, 212, 123, 0); }
}
.fc-1 { top: 8%;   left: -6%;  animation: floaty 5s ease-in-out infinite; }
.fc-2 { top: 42%;  right: -10%; animation: floaty 5.5s ease-in-out -1s infinite; }
.fc-3 { bottom: 8%;left: 4%;  animation: floaty 6s ease-in-out -2s infinite; }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid var(--c-blue);
    border-radius: 14px;
    display: flex;
    justify-content: center;
}
.scroll-cue span {
    width: 4px;
    height: 8px;
    background: var(--c-blue);
    border-radius: 2px;
    margin-top: 8px;
    animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
    0% { opacity: 0; transform: translateY(-8px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ===================== ABOUT ===================== */
.about {
    padding: 120px 0;
    position: relative;
    background: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.section-title {
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -1px;
    font-weight: 700;
    color: var(--c-ink);
}
.section-desc {
    font-size: 1.05rem;
    color: var(--c-ink-soft);
    max-width: 560px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.stat {
    background: var(--grad-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 30px 26px;
    backdrop-filter: blur(12px);
    transition: transform var(--t-mid);
    position: relative;
    overflow: hidden;
}
.stat::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(45,109,181,.4), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-mid);
}
.stat:hover { transform: translateY(-4px); }
.stat:hover::before { opacity: 1; }

.stat-num {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: var(--c-ink-soft);
    font-weight: 500;
}

/* ================== COMPANIES ================== */
.companies {
    padding: 100px 0 120px;
    position: relative;
}
.section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.section-head .section-desc { margin: 0 auto; }

.company-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.company-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    will-change: transform;
}
.company-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45,109,181,.4);
}
.card-illust {
    aspect-ratio: 200/140;
    overflow: hidden;
    position: relative;
}
.card-illust svg {
    width: 100%; height: 100%;
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.company-card:hover .card-illust svg { transform: scale(1.06); }

.card-body {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.card-no {
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-blue);
    background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-blue-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.card-title {
    font-family: var(--f-display);
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    color: var(--c-ink);
}
.card-desc {
    font-size: 14px;
    color: var(--c-ink-soft);
    margin: 0;
    flex: 1;
    line-height: 1.55;
}
.card-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-ink-soft);
    transition: all var(--t-fast);
}
.card-link.active {
    color: var(--c-navy);
}
.card-link.active:hover {
    color: var(--c-blue);
    transform: translateX(3px);
}
.company-card:not(:hover) .card-link.active { transform: translateX(0); }

.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, rgba(45,109,181,.0) 30%, rgba(45,109,181,.15) 60%, rgba(45,109,181,0) 100%);
    transition: opacity var(--t-mid);
}
.company-card:hover .card-glow { opacity: 1; }

/* ================== CONTACT ================== */
.contact {
    padding: 100px 0 120px;
    position: relative;
}
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.contact-cards {
    display: grid;
    gap: 16px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--grad-card);
    backdrop-filter: blur(12px);
    transition: all var(--t-mid);
    color: var(--c-ink);
}
.contact-card:hover {
    transform: translateX(6px);
    border-color: var(--c-blue);
    box-shadow: var(--shadow-md);
}
.cc-ico {
    width: 52px; height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(45,109,181,.12), rgba(45,109,181,.04));
    color: var(--c-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc-ico svg { width: 24px; height: 24px; }
.cc-label {
    display: block;
    font-size: 12px;
    color: var(--c-ink-soft);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-card strong {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--c-ink);
}
.cc-cta {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--c-blue);
    font-weight: 500;
}

/* ================== SCROLL TO TOP ================== */
.scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 14px 36px rgba(26,58,108,.32);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.85);
    transition: opacity var(--t-mid), transform var(--t-mid), visibility 0s linear .45s, box-shadow var(--t-fast);
    z-index: 60;
}
.scroll-top svg { width: 22px; height: 22px; }
.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity var(--t-mid), transform var(--t-mid), visibility 0s linear 0s, box-shadow var(--t-fast);
}
.scroll-top:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 20px 44px rgba(26,58,108,.42);
}
.scroll-top::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--grad-brand);
    opacity: .15;
    z-index: -1;
    animation: pulse-ring 2.4s ease-in-out infinite;
}
@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: .12; }
    50%      { transform: scale(1.18); opacity: 0; }
}
@media (max-width: 720px) {
    .scroll-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
    .scroll-top svg { width: 18px; height: 18px; }
}

/* ================== FOOTER ================== */
.site-footer {
    background: var(--c-navy);
    color: #d6e2f2;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(111,163,214,.18), transparent 70%),
        radial-gradient(600px 300px at 0% 100%, rgba(45,109,181,.25), transparent 70%);
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding: 110px 0 50px;
    position: relative;
}
.footer-logo {
    height: auto;
    width: auto;
    max-width: 280px;
    filter: brightness(0) invert(1);
    opacity: .95;
}
.footer-col h4 {
    color: #fff;
    font-family: var(--f-display);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 18px;
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a, .footer-col li {
    color: #b8c9e2;
    font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-col span { color: #8aa2c4; cursor: default; }

.footer-bar {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    position: relative;
}
.footer-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8aa2c4;
    font-size: 13px;
}
.lang-switch-foot {
    border: 1px solid rgba(255,255,255,.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
}
.lang-switch-foot:hover {
    background: #fff;
    color: var(--c-navy);
}

/* ================== Reveal helpers ================== */
.reveal { opacity: 0; transform: translateY(28px); }

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

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 80px 0 40px; }
    .scroll-cue { display: none; }
}

@media (max-width: 880px) {
    :root { --header-h: 80px; }
    .primary-nav--desktop { display: none; }
    .nav-mobile-actions { display: flex; }
    .lang-switch--mobile { display: inline-flex; }
    .nav-toggle { display: flex; }
    .brand-logo { height: auto; width: auto; max-width: 220px; }
    .hero { align-items: flex-start; }
    .hero-grid { padding-top: 30px; }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .mobile-nav.is-open {
        padding: 18px 20px 22px;
    }
    .company-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .about, .companies, .contact { padding: 80px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bar-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding-top: calc(var(--header-h) + 20px); }
    .brand-logo { height: auto; }
    .hero-cta .btn { flex: 1; padding: 14px 20px; }
    .float-card { padding: 10px 12px; min-width: 110px; font-size: 12px; }
    .stat { padding: 22px 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01s !important;
    }
    .reveal { opacity: 1; transform: none; }
}
