/* Custom CSS for Vesil Landing Page */
/* === Oculi Display (Medium) self-host === */
@font-face {
    font-family: "Oculi Display";
    src: url("/assets/fonts/OculiDisplay-Medium.ttf") format("truetype");
    font-weight: 500;
    /* Medium = 500 */
    font-style: normal;
    font-display: swap;
    /* FOIT yok, hÄ±zlÄ± boyama */
}

/* (Ä°stersen sahte kalÄ±n/italik Ã¼retimini kapat) */
html {
    font-synthesis: none;
}

:root {
    --primary-color: #090909;
    --secondary-color: #434343;
    --light-bg: #f5f1ee;
    --text-light: #505050;
    --text-muted: #b0b0b0;
    --text-white: #ffffff;
    --text-cream: #fcfaf8;
    --border-cream: #f5f1ee;
}

/* General Styles */
body {
    font-family: "Oculi Display", Georgia, "Times New Roman", serif;
    font-weight: 500;
    /* elindeki dosyayla tam eÅŸleÅŸsin */
    line-height: 1.6;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

h1,
h2,
.section-title,
.countdown-title,
.why-bigtitle,
.participants-title,
.team-title {
    font-weight: 500;
    /* Bold dosyasÄ± ekleyene kadar 500 kalsÄ±n */
    letter-spacing: .2px;
    /* hafif sÄ±kÄ±lÄ±k hissi iÃ§in isteÄŸe baÄŸlÄ± */
}



/* Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(128, 128, 128, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 128, 128, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

.grid-pattern-white {
    background-image:
        linear-gradient(rgba(128, 128, 128, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 128, 128, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 12px 0;
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand svg path {
    fill: var(--primary-color) !important;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-white) !important;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}



/* Register butonun varsayÄ±lan (ÅŸeffaf navbar Ã¼stÃ¼ndeyken) hali */
.btn-register {
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: transparent;
    color: white !important;
    border: 1px solid white;
}

/* Scroll olunca (navbar beyaz olunca) butonun koyulaÅŸmÄ±ÅŸ hali */
.navbar.scrolled .btn-register {
    background: var(--primary-color);
    color: #ffffff !important;
    border: none;
}

/* Hover efektleri (isteÄŸe baÄŸlÄ± iyileÅŸtirme) */
.btn-register:hover {
    transform: scale(1.05);
}

.navbar.scrolled .btn-register:hover {
    filter: brightness(1.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('/assets/images/Hero.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.hero-content {
    width: 100%;
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
}

.scroll-text {
    color: white;
    font-size: 28px;
    line-height: 36px;
}


/* Categories Section */
.categories-section {
    background-color: var(--light-bg);
    padding-bottom: 108px;
    position: relative;
}

.category-bar {
    background: white;
    height: 72px;
    display: flex;
    align-items: center;
    box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.29);
    padding: 5px 0;
    position: relative;
    z-index: 10;
}

.category-btn {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 32px;
    color: var(--primary-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.section-title {
    font-size: 36px;
    line-height: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--text-light);
}

/* Countdown Section */
.countdown-section {
    background-color: #0f0f0f;
    /* tasarÄ±ma yakÄ±n koyu siyah */
    padding: 100px 0;
    position: relative;
}

.countdown-wrapper {
    position: relative;
    color: white;
    gap: 60px;
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
}

.countdown-content {
    max-width: 600px;
}

.countdown-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 600;
    color: #ffffff;
}

.countdown-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* SayaÃ§ kartÄ±: ilk resme yakÄ±n */
.countdown-card {
    background-color: rgba(255, 255, 255, 0.05);
    /* biraz daha koyu/gri ton */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* daha yumuÅŸak sÄ±nÄ±r */
    border-radius: 12px;
    padding: 18px 30px;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    backdrop-filter: blur(12px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-items: center;
    /* ortala */
    position: relative;
}


/* Segment iÃ§i: sayÄ± Ã¼stte, birim altta */
.countdown-segment {
    display: flex;
    flex-direction: row;
    /* yan yana */
    align-items: center;
    justify-content: center;
    min-width: 100px;
    gap: 8px;
    text-align: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.countdown-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.countdown-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.countdown-unit {
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    /* artÄ±k alt deÄŸil */
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    align-self: flex-end;
}


.countdown-content .btn-register {
    background: #ffffff;
    color: #090909 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all .2s ease;
}

.countdown-content .btn-register:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}


/* ---------- HOW IT WORKS (outer) ---------- */
.howit-section {
    background: var(--light-bg);
    /* card arkasÄ±: krem zemin */
    padding: 96px 0;
}

/* BÃ¼yÃ¼k card: beyaz, radius + gÃ¶lge */
.howit-card {
    position: relative;
    background: #ffffff;
    /* card rengi */
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
    overflow: hidden;
    /* grid'i iÃ§eride tut */
}

/* Card iÃ§i grid */
.howit-card .grid-pattern.inside {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
}

.grid-pattern-cream {
    background-image:
        linear-gradient(rgba(196, 180, 166, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 180, 166, .35) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Card iÃ§ boÅŸluÄŸu ayrÄ± katmanda ki grid altta kalsÄ±n */
.howit-body {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
}

/* Step kartlarÄ± (kÃ¼Ã§Ã¼k beyaz kartlar) */
.step-row {
    margin: 56px 0;
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    padding: 28px;
    max-width: 560px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .10);
}

.step-v {
    position: absolute;
    right: 18px;
    top: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    color: var(--primary-color);
}

.step-index {
    display: block;
    font-size: 14px;
    color: #6c6c6c;
    margin-bottom: 6px;
}

.step-title {
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 700;
}

.step-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #6d6d6d;
    margin: 0;
}

/* ---------- Telefon gÃ¶rseli (sadece img + gÃ¶lge) ---------- */
.phone-img {
    max-width: clamp(220px, 30vw, 340px);
    border-radius: 30px;
    /* gÃ¶rselin kÃ¶ÅŸesini yumuÅŸat */
    overflow: hidden;
    /* taÅŸan siyah alanlarÄ± kes */
    box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
    /* hafif gÃ¶lgelendirme */
}

.phone-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
    /* kÃ¶ÅŸe eÅŸleÅŸsin */
}

/* responsive uyarlamalar */
@media (max-width: 991.98px) {
    .howit-section {
        padding: 72px 0;
    }

    .step-row {
        margin: 36px 0;
    }

    .step-card,
    .phone-img {
        margin: 0 auto;
    }
}

/* (varsa) Ã¶nceki animasyon sÄ±nÄ±flarÄ±yla uyumlu */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* === HOW-IT-WORKS TERS RENK DÃœZENÄ° === */
/* Arka plan artÄ±k BEYAZ */
.howit-section {
    background: #ffffff !important;
}

/* BÃ¼yÃ¼k kart artÄ±k krem ve iÃ§i Ã§izgili */
.howit-card {
    background: var(--light-bg) !important;
    /* #f5f1ee */
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
    overflow: hidden;
    position: relative;
}

/* Kart iÃ§indeki grid deseni gÃ¶rÃ¼nÃ¼r kalsÄ±n */
.howit-card .grid-pattern.inside {
    opacity: .55;
    /* istersen .4 â€“ .7 arasÄ± oyna */
}

/* === TELEFON: SADECE GÃ–RSEL + HAFÄ°F GÃ–LGE === */
.phone-img {
    background: transparent !important;
    /* arkada siyah kutu olmasÄ±n */
    box-shadow: none !important;
    /* kutu gÃ¶lgesi yok */
}

.phone-img img {
    display: block;
    width: clamp(220px, 30vw, 340px);
    height: auto;
    border-radius: 28px;
    /* gÃ¶rsel kÃ¶ÅŸeleri yumuÅŸak */
    background: transparent;
    /* PNG ise ÅŸeffaflÄ±k korunur */
    /* kutu yerine ÅŸekle gÃ¶re gÃ¶lge */
    /* filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .16)); */
}

/* Mobil uyum â€” dokunma yoksa, aynÄ± kalsÄ±n */
@media (max-width: 991.98px) {
    .step-row {
        margin: 36px 0;
    }

    .step-card,
    .phone-img {
        margin: 0 auto;
    }
}

/* ===== PARTICIPANTS (Ä°lk KatÄ±lanlar) ===== */
.participants-section {
    background: #0f0f0f;
    /* countdown ile aynÄ± siyah */
    padding: 100px 0;
    position: relative;
    color: #fff;
    overflow: hidden;
}

/* siyah arka planda grid Ã§izgileri */
.grid-pattern-dark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* baÅŸlÄ±klar */
.participants-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.participants-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ÅŸirket kartlarÄ± */
.company-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(252, 250, 248, 0.92);
    /* var(--text-cream) benzeri */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    margin-bottom: 16px;
    color: #111;
}

.company-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rank-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 28px;
    background: #ede7e1;
    color: #7a6f66;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.company-card .logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.company-card .name {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-card .location {
    color: #8b8b8b;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* pager noktalarÄ± */
.dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
}

.dot.active {
    background: #fff;
}

/* harita kartÄ± */
.map-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
    background: #0a0a0a;
    position: relative;
}

.map-card iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
}

/* Pin icons overlay */
.map-pins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.pin-icon {
    position: absolute;
    pointer-events: none;
    animation: pinBounce 2s ease-in-out infinite;
    transform-origin: bottom center;
}

.pin-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes pinBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* CTA butonunu countdownâ€™daki stile yaklaÅŸtÄ±r */
.participants-cta {
    background: #ffffff;
    color: #090909 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all .2s ease;
}

.participants-cta:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

/* responsive */
@media (max-width: 991.98px) {
    .map-card iframe {
        height: 480px;
    }

    .participants-title {
        font-size: 32px;
    }
}

/* Enlarged map for better visibility */
.map-card {
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile map adjustments */
@media (max-width: 991.98px) {
    .map-card iframe {
        height: 400px;
    }
}


/* ===== WHY VESIL (krem gridli card, beyaz bg) ===== */
.why-section {
    background: #fff;
    padding: 96px 0;
}

.why-card {
    position: relative;
    background: var(--light-bg);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
    overflow: hidden;
}

.why-card .inside {
    position: absolute;
    inset: 0;
    opacity: .5;
}

.why-body {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
}

.why-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-lead {
    color: #5b5b5b;
    margin-bottom: 18px;
}

/* bullet list */
.why-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.why-bullets li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.why-bullets .bullet {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    position: relative;
    margin-top: 3px;
}

.why-bullets .bullet::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #090909;
}

/* saÄŸ gÃ¶rsel + overlayler */
.why-illustration {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.why-illustration img {
    width: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
}

.price-chip {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.mini-chart {
    position: absolute;
    left: -8px;
    bottom: -12px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
    width: 160px;
}

.mini-chart .line {
    height: 36px;
    background: linear-gradient(135deg, rgba(9, 9, 9, .8) 20%, rgba(9, 9, 9, .1) 20% 40%, rgba(9, 9, 9, .8) 40% 60%, rgba(9, 9, 9, .1) 60% 80%, rgba(9, 9, 9, .8) 80%);
    border-radius: 6px;
    opacity: .35;
}

.mini-chart .axis {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 6px;
    color: #888;
}

.status-badge {
    position: absolute;
    right: -8px;
    top: -12px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14b8a6;
}

.status-badge .label {
    font-weight: 600;
}

.status-badge .progress {
    width: 90px;
    height: 6px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

.status-badge .progress span {
    display: block;
    height: 100%;
    background: #14b8a6;
}

.status-badge .meta {
    font-size: 12px;
    color: #666;
    margin-left: 6px;
}

/* alt baÅŸlÄ±k alanÄ± */
.why-bottom {
    margin-top: 40px;
    margin-bottom: 16px;
}

.why-bigtitle {
    font-size: clamp(28px, 2.8vw, 36px);
    font-weight: 700;
    margin-bottom: 10px;
}

.why-sub {
    color: #5b5b5b;
    margin: 0 auto 24px;
    max-width: 780px;
}

/* merkez gÃ¶rsel + yan kutular */
.why-center-image {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    display: flex;
}

.why-center-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    padding: 18px 18px 18px 48px;
    position: relative;
    text-align: left;
}

.why-box .v-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 28px;
    color: #111;
}

.why-box h5 {
    font-size: 18px;
    margin: 0 0 6px;
}

.why-box p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* responsive */
@media (max-width: 991.98px) {
    .why-bullets {
        grid-template-columns: 1fr;
    }

    .why-illustration {
        max-width: 100%;
        margin-top: 12px;
    }

    .status-badge {
        right: 8px;
        top: 8px;
    }

    .price-chip {
        left: 8px;
        top: auto;
        bottom: 8px;
        transform: none;
    }

    .mini-chart {
        left: 8px;
        bottom: -10px;
    }
}

/* ===== TEAM (krem gridli card, beyaz bg) ===== */
.team-section {
    background: #fff;
    padding: 96px 0;
}

.team-card {
    position: relative;
    background: var(--light-bg);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
    overflow: hidden;
}

.team-card .inside {
    position: absolute;
    inset: 0;
    opacity: .5;
}

.team-body {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
}

.team-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
}

.team-title-sm {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
}

.team-sub {
    max-width: 820px;
    margin: 0 auto;
    color: #666;
}

/* kartlar */
.member-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
    background: #fff;
}

.member-card.small .member-info {
    padding: 12px 14px;
}

.member-photo {
    background: #e9e9e9;
}

.member-photo img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.member-info {
    background: #0e0e0e;
    color: #fff;
    text-align: center;
    padding: 16px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.member-role {
    font-size: 13px;
    opacity: .85;
    margin-bottom: 8px;
}

.member-bio {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

/* aralÄ±klar */
.founders-row .member-card .member-info {
    min-height: 156px;
}

/* responsive */
@media (max-width: 991.98px) {
    .team-title {
        font-size: 28px;
    }

    .team-title-sm {
        font-size: 24px;
    }
}

/* KÃ¼Ã§Ã¼k Ã¼ye kartlarÄ±: kÃ¶ÅŸeler kÃ¶ÅŸeli olsun */
.member-card.small {
    border-radius: 0 !important;
}

/* Ä°Ã§teki gÃ¶rsel ve bilgi alanÄ± da kÃ¶ÅŸeli kalsÄ±n */
.member-card.small .member-photo,
.member-card.small .member-photo img,
.member-card.small .member-info {
    border-radius: 0 !important;
}

/* KurucularÄ±mÄ±z: kartlarÄ± kÃ¶ÅŸeli yap */
.founders-row .member-card {
    border-radius: 0 !important;
}

/* Ä°Ã§ gÃ¶rsel ve alt bilgi alanÄ± da kÃ¶ÅŸesiz kalsÄ±n */
.founders-row .member-photo,
.founders-row .member-photo img,
.founders-row .member-info {
    border-radius: 0 !important;
}

/* logo */
.footer-logo {
    width: 64px;
    height: auto;
}

/* grid: Ã¼stte tek input, altta input+buton (toplam geniÅŸlikler eÅŸit) */
.footer-form-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    /* alttaki input = 1fr, buton = auto */
    grid-auto-rows: 44px;
    gap: 12px;
    width: min(820px, 100% - 32px);
    /* merkezde ve sÄ±nÄ±rlÄ± geniÅŸlik */
    margin: 0 auto;
    align-items: center;
}

.footer-form-grid .email {
    grid-column: 1 / -1;
}

/* Ã¼stte, her iki kolonu kaplasÄ±n */
.footer-form-grid .message {
    grid-column: 1;
}

.footer-form-grid .footer-submit {
    grid-column: 2;
    height: 44px;
    white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer-section {
    background: #0f0f0f;
    color: #fff;
    padding: 96px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 6px;
}

.footer-sub {
    color: rgba(255, 255, 255, .9);
    margin: 0 0 22px;
}

/* form */
.footer-input {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 6px;
    height: 44px;
    padding: 10px 12px;
    color: #090909;
}

.footer-input::placeholder {
    color: #9aa0a6;
}

.footer-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, .25);
}

.footer-submit {
    background: #ffffff;
    color: #090909 !important;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.footer-submit:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

/* sosyal ikonlar */
.footer-social {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.social-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    transition: transform .15s ease, background .15s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}

/* ayÄ±rÄ±cÄ± ve telif */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .7);
    margin: 48px auto 14px;
    width: 92%;
}

.footer-copy {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
}

/* responsive */
@media (max-width: 767.98px) {
    .footer-title {
        font-size: 28px;
    }

    .footer-sub {
        font-size: 15px;
    }
}

/* Navbar marka logolarÄ±nÄ± durumuna gÃ¶re gÃ¶ster/gizle */
.navbar .brand-logo {
    display: none;
    height: 40px;
    width: auto;
}

/* Ä°lk yÃ¼kleniÅŸ: navbar ÅŸeffaf -> beyaz PNG gÃ¶rÃ¼nÃ¼r */
.navbar .brand-logo--white {
    display: block;
}

.navbar .brand-logo--dark {
    display: none;
}

/* Scroll sonrasÄ±: navbar.beyaz -> PNG gizlenir, siyah SVG gÃ¶rÃ¼nÃ¼r */
.navbar.scrolled .brand-logo--white {
    display: none;
}

.navbar.scrolled .brand-logo--dark {
    display: block;
}

/* Varsa Ã¶nceki fill overrideâ€™Ä± kalsÄ±n; sadece scrolledâ€™da SVG kullanÄ±yoruz */


/* NAVBAR sadece DM Sans kullansÄ±n */
#navbar,
#navbar .navbar-brand,
#navbar .nav-link,
#navbar .btn,
#navbar .btn-register {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Nav linkleri biraz daha tok ve okunur olsun */
#navbar .nav-link {
    font-weight: 500;
    letter-spacing: 0.1px;
}

/*Mobil iÃ§in GÃ¼ncellemeler baÅŸlanÄ±gÄ±Ã§*/
/* Hamburger icon */
.navbar-toggler .hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

.navbar-toggler .hamburger span {
    width: 28px;
    height: 2px;
    background: #fff;
    display: block;
    transition: transform .2s, opacity .2s, background .2s;
}

.navbar.scrolled .navbar-toggler .hamburger span {
    background: var(--primary-color);
}

/* Toggler aÃ§Ä±kken X animasyonu */
.navbar.open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.open .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar.open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobil dropdown panel */
@media (max-width: 991.98px) {
    #navMenu {
        padding: 12px 16px;
        margin-top: 8px;
        border-radius: 12px;
        backdrop-filter: blur(8px);
    }

    /* Ãœstte ÅŸeffafken: koyu panel + beyaz yazÄ± */
    .navbar:not(.scrolled) #navMenu {
        background: rgba(0, 0, 0, .65);
    }

    .navbar:not(.scrolled) #navMenu .nav-link {
        color: #fff !important;
    }

    .navbar:not(.scrolled) #navMenu .btn-register {
        background: transparent;
        color: #fff !important;
        border: 1px solid #fff;
    }

    /* Scroll'da: beyaz panel + koyu yazÄ± */
    .navbar.scrolled #navMenu {
        background: rgba(255, 255, 255, .95);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }

    .navbar.scrolled #navMenu .nav-link {
        color: var(--primary-color) !important;
    }
}

/* Mobile-only hero copy (3 satÄ±r, bÃ¼yÃ¼k) */
.hero-mobile-copy {
    display: none;
    position: absolute;
    right: 24px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    /* KaydÄ±r yazÄ±sÄ±nÄ±n Ã¼stÃ¼nde kalsÄ±n */
    z-index: 3;
    max-width: 78%;
    /* Ã¼Ã§ satÄ±rÄ± koru */
    color: #fff;
    text-align: right;
    font-weight: 600;
    font-size: clamp(24px, 7.6vw, 38px);
    /* daha bÃ¼yÃ¼k */
    line-height: 1.20;
    /* Ã¶nce: 1.08 */
    letter-spacing: .2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hero-mobile-copy span {
    display: block;
}

/* YalnÄ±zca mobilde gÃ¶ster */
@media (max-width: 991.98px) {
    .hero-mobile-copy {
        display: block;
    }
}

/* === Categories: mobile 2x3 grid === */
@media (max-width: 991.98px) {
    .category-bar {
        height: auto;
        padding: 10px 0 14px;
    }

    /* Kenarlardan iÃ§eri al */
    .category-bar .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .category-bar .container>.d-flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        /* 2 sÃ¼tun */
        column-gap: 24px;
        /* iki sÃ¼tun arasÄ± nefes */
        row-gap: 10px;
        align-items: start;
        justify-items: stretch;
    }

    /* HÃ¼creleri tam geniÅŸlik yap, metin kÄ±rÄ±labilsin */
    .category-btn {
        width: 100%;
        font-size: 22px;
        line-height: 28px;
        padding: 0;
        transform: none !important;
        /* hover scale kapalÄ± */
        white-space: normal;
        /* "AÄŸaÃ§ Ä°ÅŸleri" kÄ±rÄ±labilsin */
    }

    /* Sol sÃ¼tun: 1,3,5... */
    .category-btn:nth-child(odd) {
        justify-self: start;
        text-align: left;
        padding-left: 8px;
        /* sol duvardan uzaklaÅŸsÄ±n */
    }

    /* SaÄŸ sÃ¼tun: 2,4,6... */
    .category-btn:nth-child(even) {
        justify-self: end;
        text-align: right;
        padding-right: 8px;
        /* saÄŸ duvardan uzaklaÅŸsÄ±n */
    }
}

/* === Categories: title single-line on mobile === */
@media (max-width: 575.98px) {
    #categories .section-title {
        white-space: nowrap;
        /* satÄ±r kÄ±rma yok */
        text-wrap: nowrap;
        /* Safari/iOS iÃ§in */
        hyphens: none;
        font-size: clamp(22px, 6.8vw, 30px);
        /* ekrana gÃ¶re kÃ¼Ã§Ã¼lterek tek satÄ±r */
        line-height: 1.15;
        letter-spacing: .1px;
    }

    #categories .section-subtitle {
        font-size: 14px;
        line-height: 20px;
        max-width: 92%;
        margin: 8px auto 0;
    }
}

/* === Countdown: mobile centered & single-line === */
@media (max-width: 767.98px) {
    .countdown-wrapper {
        justify-content: center;
        padding: 56px 0;
    }

    .countdown-content {
        text-align: center;
        margin: 0 auto;
    }

    /* BaÅŸlÄ±k: tek satÄ±ra sÄ±ÄŸsÄ±n ve ortalansÄ±n */
    .countdown-title {
        white-space: nowrap;
        text-wrap: nowrap;
        /* iOS Safari */
        font-size: clamp(22px, 7.0vw, 32px);
        line-height: 1.1;
        margin-bottom: 10px;
    }

    /* Alt aÃ§Ä±klama ortalÄ± ve daha dar */
    .countdown-desc {
        max-width: 28ch;
        margin: 0 auto 18px;
        text-align: center;
    }

    /* SayaÃ§ kapsayÄ±cÄ±sÄ±: tek satÄ±r, kenarlÄ± pill */
    .countdown-card {
        margin: 0 auto 16px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: transparent;
        /* kutu zemin yok */
        border: 1px solid rgba(255, 255, 255, 0.85);
        /* beyaz Ã§erÃ§eve */
        border-radius: 12px;
        flex-wrap: nowrap;
        /* tek satÄ±rda kal */
        white-space: nowrap;
        /* parÃ§alar kÄ±rÄ±lmasÄ±n */
    }

    /* Segmentleri â€œmetin gibiâ€ gÃ¶ster */
    .countdown-segment {
        background: transparent;
        border: 0;
        min-width: 0;
        /* 100px minâ€™i kaldÄ±r */
        padding: 0;
        gap: 6px;
    }

    .countdown-number {
        font-size: clamp(18px, 5.6vw, 22px);
        font-weight: 700;
    }

    .countdown-unit {
        text-transform: none;
        /* gÃ¼n/saat/dakika/saniye kÃ¼Ã§Ã¼k harf */
        font-size: 12px;
        font-weight: 600;
        opacity: .85;
        align-self: center;
        letter-spacing: .2px;
    }

    /* Buton ortalÄ± */
    .countdown-content .btn-register {
        display: inline-block;
        margin: 12px auto 0;
    }
}

.countdown-content .btn-register {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 600;
    letter-spacing: .2px;
}

/* === Countdown GIF: mobile 90Â° saÄŸa Ã§evir, ucu yukarÄ± baksÄ±n === */
@media (max-width: 767.98px) {

    .countdown-image-wrapper,
    .countdown-image-container {
        text-align: center;
        /* ortala */
    }

    .countdown-image {
        display: block;
        margin: 0 auto;
        transform: rotate(90deg);
        /* saÄŸa Ã§evir */
        transform-origin: 50% 50%;
        width: 80%;
        /* taÅŸmayÄ± Ã¶nle, istersen 90% yap */
        height: auto;
    }
}

/* === Countdown altÄ± bilgi: sadece mobil === */
.countdown-note {
    display: none;
    /* desktop'ta gizli */
    color: #fff;
    text-align: center;
    margin-top: 14px;
}

.countdown-note .note-top {
    font-size: 14px;
    line-height: 1.3;
    opacity: .75;
    margin-bottom: 4px;
}

.countdown-note .note-bottom {
    font-size: 16px;
    line-height: 1.35;
}

.countdown-note .note-strong {
    font-weight: 700;
    font-size: 1.25em;
    /* sayÄ± vurgulu */
}

/* Mobilde gÃ¶ster */
@media (max-width: 767.98px) {
    .countdown-note {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .countdown-note {
        margin-top: -22vw;
    }

    /* boÅŸluÄŸa gÃ¶re 14â€“22vw arasÄ±nda ayarla */
}

/* ===== COUNTDOWN: DESKTOP FIX (>=992px) ===== */
@media (min-width: 992px) {
    .countdown-section {
        padding: 110px 0;
    }

    .countdown-wrapper {
        padding: 80px 0;
        gap: 0;
    }

    .countdown-content {
        max-width: 660px;
    }

    .countdown-title {
        font-size: 56px;
        line-height: 1.12;
        margin-bottom: 10px;
    }

    .countdown-desc {
        max-width: 50ch;
        margin: 0 0 24px;
    }

    /* SayaÃ§ "pill" */
    .countdown-card {
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 14px;
        padding: 16px 22px;
        gap: 22px;
    }

    /* Soldaki yuvarlak saat ikonu */
    .countdown-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .35);
    }

    .countdown-icon .bi {
        font-size: 20px;
        color: #fff;
        opacity: .95;
    }

    /* Segmentler */
    .countdown-segment {
        background: rgba(255, 255, 255, .07);
        border-radius: 10px;
        min-width: 112px;
        padding: 12px 16px;
        gap: 10px;
    }

    .countdown-number {
        font-size: 44px;
        font-variant-numeric: tabular-nums;
        font-feature-settings: "tnum" 1, "lnum" 1;
    }

    .countdown-unit {
        font-size: 13px;
        letter-spacing: 1px;
        text-transform: uppercase;
        align-self: flex-end;
        opacity: .85;
    }

    /* GIF saÄŸda, dÃ¶ndÃ¼rme yok */
    .countdown-image-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-height: 360px;
    }

    .countdown-image {
        display: block;
        width: clamp(440px, 40vw, 560px);
        height: auto;
        transform: none;
        /* mobildeki rotateâ€™i desktopâ€™ta sÄ±fÄ±rla */
        margin-right: -40px;
        /* GIFâ€™i saÄŸ kenara yaklaÅŸtÄ±r (isteÄŸe gÃ¶re -20 ~ -80px) */
    }

    /* Not desktopâ€™ta gizli kalsÄ±n */
    .countdown-note {
        display: none !important;
    }
}

/* === Step cards: mobile-only tidy (â‰¤575.98px) === */
@media (max-width: 575.98px) {

    /* Kart: ortala, iÃ§ boÅŸluklarÄ± mobil iÃ§in sÄ±klaÅŸtÄ±r */
    .step-card {
        text-align: center;
        padding: 22px 18px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    /* V rozeti: saÄŸ Ã¼stte deÄŸil, tepede ortalÄ± dursun */
    .step-card .step-v {
        position: static !important;
        /* absolute yerine normal akÄ±ÅŸ */
        display: block;
        margin: 0 auto 8px;
        /* baÅŸlÄ±ÄŸÄ±n Ã¼stÃ¼nde boÅŸluk */
        right: auto;
        top: auto;
        /* olasÄ± kalÄ±ntÄ±larÄ± sÄ±fÄ±rla */
    }

    .step-card .step-v svg {
        display: block;
        width: 36px;
        /* istersen 32â€“40px arasÄ± oyna */
        height: auto;
        margin: 0 auto;
    }

    /* â€œ2. AdÄ±mâ€ yazÄ±sÄ± ve baÅŸlÄ±k */
    .step-index {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .step-title {
        margin: 6px 0 10px;
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.3;
    }

    /* AÃ§Ä±klama metni: daha dar satÄ±r uzunluÄŸu */
    .step-desc {
        font-size: 14px;
        line-height: 1.55;
        max-width: 36ch;
        /* okunaklÄ± satÄ±r uzunluÄŸu */
        margin: 0 auto;
    }
}

/* === WHY boxes: mobile centered layout (desktop untouched) === */
@media (max-width: 767.98px) {

    /* kartÄ±n genel yerleÅŸimi */
    .why-box {
        text-align: center;
        /* tÃ¼m iÃ§erik ortalÄ± */
        padding: 18px 16px !important;
        /* soldaki 48px boÅŸluÄŸu kaldÄ±r */
    }

    /* en Ã¼stteki V ikonu (SVG ya da .v-badge varsa) */
    .why-box>svg:first-child {
        display: block;
        margin: 6px auto 8px;
        /* ortala */
        width: 40px;
        /* hafif bÃ¼yÃ¼t */
        height: auto;
    }

    /* .v-badge kullanan eski markupâ€™lar iÃ§in gÃ¼venli merkezleme */
    .why-box .v-badge {
        position: static !important;
        display: inline-block;
        margin: 6px auto 10px;
    }

    /* baÅŸlÄ±k ve metin */
    .why-box h5 {
        font-size: clamp(18px, 5.4vw, 24px);
        margin: 6px 0 10px;
    }

    .why-box p {
        font-size: 15px;
        line-height: 1.6;
        color: #656565;
        max-width: 40ch;
        /* satÄ±r uzunluÄŸu dengeli */
        margin: 0 auto;
    }
}

/* === Fix: mobile countdown taÅŸma/yan kaydÄ±rma === */
html,
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* gÃ¼venlik iÃ§in bÃ¶lÃ¼m seviyesinde de kes */
.countdown-section {
    overflow-x: clip;
}

/* KartÄ±n geniÅŸliÄŸi ekranÄ± asla geÃ§mesin */
@media (max-width: 767.98px) {
    .countdown-card {
        box-sizing: border-box;
        width: clamp(280px, 92vw, 680px);
        /* ekranÄ± geÃ§me */
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
        padding: 12px 14px;
    }

    /* Ä°Ã§ Ã¶ÄŸeler kÃ¼Ã§Ã¼lerek sÄ±ÄŸsÄ±n */
    .countdown-segment {
        min-width: 0;
        flex: 1 1 auto;
        gap: 6px;
        padding: 0;
        /* iÃ§ boÅŸluÄŸu azalt */
        background: transparent;
        /* daha dar */
        border: 0;
    }

    .countdown-number {
        font-size: clamp(16px, 5.4vw, 22px);
        line-height: 1;
    }

    .countdown-unit {
        font-size: 11px;
        letter-spacing: .2px;
        align-self: center;
        text-transform: none;
    }
}

/* Ã‡ok dar iPhone'lar (375px ve altÄ±) iÃ§in ekstra sÄ±kÄ±ÅŸtÄ±rma */
@media (max-width: 390px) {
    .countdown-card {
        gap: 8px;
        padding: 10px 12px;
        width: 94vw;
        border-radius: 10px;
    }

    .countdown-segment {
        gap: 4px;
    }

    .countdown-number {
        font-size: clamp(15px, 5vw, 19px);
    }

    .countdown-unit {
        font-size: 10.5px;
    }
}

/* iOS'ta double-tap zoom'u azaltma (buton/baÄŸlantÄ±larda) */
html {
    touch-action: manipulation;
}

/* ===== FLOWCHART METAL SUBCATEGORIES ===== */
.categories-tree-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-width: 800px;
    margin: 0 auto;
}

.categories-tree-container.show {
    opacity: 1;
    transform: translateY(0);
}

.subcategories-layout {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 40px 40px 40px 80px;
    position: relative;
    /* overflow: hidden; */
}

.flowchart {
    position: relative;
    padding-left: 60px;
    padding-top: 60px;
}

/* Metal header */
.metal-header {
    position: absolute;
    top: 0;
    left: -20px;
    transform: translateX(-50%);
    z-index: 3;
}

.metal-title {
    background: #ffffff;
    border: 2px solid #999;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #090909;
    text-align: center;
    min-width: 80px;
}

/* Main vertical line on the left */
.main-vertical-line {
    position: absolute;
    left: -20px;
    top: 45px;
    height: 865px;
    /* Extended further down */
    width: 2px;
    background: #999;
    z-index: 1;
}

/* Each category group is now self-contained */
.category-group {
    position: relative;
    margin-bottom: 60px;
}

.category-group:last-child {
    margin-bottom: 0;
}

/* Horizontal connector from main vertical line to category */
.horizontal-connector {
    position: absolute;
    left: -80px;
    top: 20px;
    width: 220px;
    height: 2px;
    background: #999;
    z-index: 2;
}

.main-category-box {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #999;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #090909;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

/* Self-contained vertical line for each category group */
.category-vertical-line {
    position: absolute;
    left: 30px;
    top: 52px;
    width: 2px;
    background: #999;
    z-index: 2;
}

/* Specific heights for each category's vertical line */
.alloy-steel-line {
    height: 108px;
    /* Extended height for better visual balance */
}

.iron-steel-line {
    height: 443px;
    /* Extended height for better visual balance */
}

.stainless-steel-line {
    height: 175px;
    /* Extended height for better visual balance */
}

/* Container for subcategories */
.subcategories-container {
    position: relative;
    margin-left: 30px;
}

.subcategory-row {
    position: relative;
    margin-bottom: 20px;
}

.subcategory-row:last-child {
    margin-bottom: 0;
}

/* Horizontal line from category vertical line to subcategory */
.subcategory-horizontal {
    position: absolute;
    left: 0px;
    /* Move lines a bit more to the right to intersect with vertical lines above */
    top: 18px;
    width: 140px;
    /* Adjusted to reach the intersection point */
    height: 2px;
    background: #999;
    z-index: 2;
}

/* Move horizontal lines and boxes to the right for AlaÅŸÄ±mlÄ± Ã‡elik subcategories */
.category-group:first-child .subcategory-horizontal {
    width: 120px;
    /* Shorter lines for tool steels and tempered steels */
    left: -10px;
    /* Move lines to the right */
}

/* Move subcategory boxes to the right */
.category-group:first-child .subcategory-box {
    margin-left: 110px;
    /* Move boxes to the right along with lines */
}

.subcategory-box {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #999;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 140px;
    /* Adjusted for moved horizontal lines further to the right */
    position: relative;
    z-index: 3;
}

.subcategory-box:hover {
    background: #f8f8f8;
    border-color: #090909;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subcategory-box span {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    line-height: 1.3;
}

.subcategory-box:hover span {
    color: #090909;
    font-weight: 500;
}

.subcategories-footer {
    margin-top: 60px;
    text-align: center;
    padding: 30px 20px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.subcategories-footer .footer-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.subcategories-register-btn {
    background: #090909;
    color: #ffffff !important;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.subcategories-register-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 767.98px) {
    .subcategories-layout {
        padding: 24px 20px 24px 50px;
    }

    .flowchart {
        padding-left: 40px;
    }

    .main-vertical-line {
        left: -15px;
    }

    .horizontal-connector {
        left: -55px;
        width: 195px;
    }

    .category-vertical-line {
        left: 10px;
    }

    .subcategories-container {
        margin-left: 20px;
    }

    .subcategory-horizontal {
        left: 10px;
        /* Move lines a bit more to the right to intersect */
        width: 120px;
        /* Adjusted for intersection */
    }

    .subcategory-box {
        margin-left: 130px;
        /* Adjusted for moved lines */
        padding: 8px 12px;
    }

    .main-category-box {
        padding: 10px 16px;
        font-size: 15px;
    }

    .subcategory-box span {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .subcategories-layout {
        padding: 20px 16px 20px 40px;
    }

    .flowchart {
        padding-left: 30px;
    }

    .main-vertical-line {
        left: -10px;
    }

    .horizontal-connector {
        left: -45px;
        width: 175px;
    }

    .category-vertical-line {
        left: 0;
    }

    .subcategories-container {
        margin-left: 15px;
    }

    .subcategory-horizontal {
        left: 15px;
        /* Move lines a bit more to the right to intersect */
        width: 115px;
        /* Adjusted for intersection */
    }

    .subcategory-box {
        margin-left: 130px;
        /* Adjusted for moved lines */
        padding: 6px 10px;
    }

    .main-category-box {
        padding: 8px 12px;
        font-size: 14px;
    }

    .subcategory-box span {
        font-size: 12px;
    }
}

/* ***************** */
.welcome-modal-overlay {
    position: fixed;
    inset: 0;
    display: none; /* JS ile açılacak */
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.welcome-modal {
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 520px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0.8; }
    to   { transform: translateY(0); opacity: 1; }
}

.welcome-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.welcome-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.welcome-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #888;
    transition: color 0.25s ease;
}
.welcome-modal-close:hover {
    color: #000;
}

.welcome-modal-body {
    padding: 1.5rem;
    text-align: center;
}

.welcome-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.welcome-buttons .btn {
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-align: left;
}

.btn-guest-login {
    background: #f5f5f5;
    color: #333;
}
.btn-guest-login:hover {
    background: #e0e0e0;
}

.btn-quick-signup {
    background: #090909;
    color: #fff;
}
.btn-quick-signup:hover {
    color: #fff;
    background: #252525;
}

.btn-text {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
}
.btn-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}
.btn-guest-login .btn-subtitle {
    color: #666;
}

.welcome-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #444;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link:hover {
    background: #f5f5f5;
    color: #000;
}

@media (max-width: 480px) {
    .welcome-modal-header h2 {
        font-size: 1.2rem;
    }
    .welcome-buttons .btn {
        font-size: 0.95rem;
        padding: 0.9rem;
    }
}
.map-card { position: relative; }
#industrial-zones-map {
  width: 100%;
  height: 420px; 
  border-radius: 12px;
  overflow: hidden;
}

:root{
  --va-bg:#ffffff;
  --va-card:#ffffff;
  --va-text:#111827;      
  --va-muted:#6b7280;   
  --va-border:#e5e7eb; 
  --va-ring:#11182710;
  --va-shadow:0 10px 30px rgba(0,0,0,.08);
  --va-radius:14px;
}

.va-card{
  width:100%;
  max-width: 560px;
  background:var(--va-card);
  border-radius:var(--va-radius);
  border:1px solid #00000006;
  box-shadow:var(--va-shadow);
  overflow:hidden;
}

.va-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--va-border);
}
.va-title{
  margin:0 auto;
  font-weight:700;
  font-size:22px;
  color:var(--va-text);
}
.va-close{
  appearance:none;border:0;background:transparent;
  font-size:22px;line-height:1;cursor:pointer;color:#6b7280;
}
.va-close:hover{ color:var(--va-text); }

/* Üst açıklama */
.va-sub{
  padding: 0 22px;
  margin: 12px 0 -4px;
  color:#4b5563;
  font-size:14px;
  text-align:center;
}

.va-body{ padding:18px 22px 8px; }
.va-row{ margin-bottom:14px; }
.va-label{
  display:block;
  font-size:14px;
  color:#374151;
  margin:0 0 6px;
}
.va-req{ color:#ef4444; margin-right:4px; }

.va-control{ position:relative; }
.va-input{
  width:100%;
  appearance:none;
  border:1px solid var(--va-border);
  background:#f9fafb;
  color:var(--va-text);
  padding:12px 14px;
  border-radius:10px;
  outline:none;
  font-size:15px;
  transition:border .2s, box-shadow .2s, background .2s;
}
.va-input::placeholder{ color:#9ca3af; }
.va-input:focus{
  background:#fff;
  border-color:#cbd5e1;
  box-shadow:0 0 0 6px var(--va-ring);
}

.va-eye{
  position:absolute; right:10px; top:50%;
  transform:translateY(-50%);
  width:36px; height:36px;
  display:grid; place-items:center;
  color:#6b7280; cursor:pointer; border-radius:8px;
}
.va-eye:hover{ background:#00000007; color:var(--va-text); }

.va-footer{ padding:16px 22px 22px; }
.va-terms{
  background:#f3f4f6;
  border:1px dashed #e5e7eb;
  border-radius:12px;
  padding:18px;
  color:#6b7280;
  font-size:13px;
  margin-bottom:14px;
  min-height:62px;
}

.va-btn{
  width:100%;
  appearance:none;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px 16px;
  font-weight:600;
  background:#1118270f;
  color:#11182799;
  cursor:not-allowed;
}

@media (max-width:520px){
  .va-header{ padding:14px 16px; }
  .va-title{ font-size:20px; }
  .va-sub{ padding:0 16px; }
  .va-body{ padding:14px 16px 6px; }
  .va-footer{ padding:12px 16px 16px; }
  .va-input{ padding:11px 12px; font-size:14.5px; }
}
