html {
    scroll-behavior: smooth;
}

/* ================================================
   Kurumsal Tipografi
   ================================================ */
h1,
h2,
h3 {
    font-family: 'Helvetica Now Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-mono-corporate {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.05em;
}

/* ================================================
   Renk Yardımcıları
   ================================================ */
.gradient-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #06131F 100%);
}

.gold-accent {
    color: #C9A84C;
}

.gold-border {
    border-color: #C9A84C;
}

/* ================================================
   Scrollbar gizleme
   ================================================ */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ================================================
   Kartlar — Kurumsal stil
   ================================================ */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.12);
}

/* Marquee project cards */
#hero-cards-marquee .card-mini {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.06);
    border: 1px solid #E8E4DC;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: grab;
}

#hero-cards-marquee .card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
}

/* ================================================
   Fade-in animasyonu — daha yavaş ve ciddi
   ================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Swiper
   ================================================ */
.swiper-pagination-bullet {
    background: #B0B7C3 !important;
    opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
    background: #C9A84C !important;
    opacity: 1 !important;
}

/* ================================================
   Hero Cards — Sonsuz Kaydırma
   ================================================ */
@keyframes heroCardsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-hero-cards {
    animation: heroCardsScroll 120s linear infinite;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}

.animate-hero-cards:hover {
    animation-play-state: paused;
}

/* ================================================
   Kurumsal Bölüm Ayırıcıları
   ================================================ */
.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A84C;
}

.section-divider {
    width: 3rem;
    height: 2px;
    background: #C9A84C;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.75rem;
}

/* ================================================
   Globe tooltip
   ================================================ */
#globeViz,
#globeViz>div,
#globeViz>div>div,
.scene-container,
.scene-tooltip {
    overflow: visible !important;
}

.globe-card-tooltip {
    width: 280px;
    background: rgba(11, 31, 58, 0.95);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    text-align: left;
    border: 1px solid rgba(201, 168, 76, 0.25);
}

/* ================================================
   Marquee yatay kayma (header marquee)
   ================================================ */
@keyframes marquee-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}

.animate-marquee-right {
    animation: marquee-right 30s linear infinite;
}

/* ================================================
   CTA Buton — altın çizgili kurumsal stil
   ================================================ */
.btn-corporate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid #C9A84C;
    color: #C9A84C;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s;
    cursor: pointer;
}

.btn-corporate:hover {
    background: #C9A84C;
    color: #0B1F3A;
}

.btn-corporate-solid {
    background: #C9A84C;
    color: #0B1F3A;
}

.btn-corporate-solid:hover {
    background: #E2C87A;
}

/* ================================================
   Projeler — Immersive Showcase
   ================================================ */

/* Hero Stat Card — ana bilgi kartı */
.hero-stat-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Hero stat value — devasa sayaç */
.hero-stat-value {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* Stats Bar — glassmorphism istatistik çubuğu */
.stats-bar {
    transition: background 0.3s, box-shadow 0.3s;
}

.stats-bar:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Stats Bar — her bir istatistik item'ı */
.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 100px;
    padding: 0.25rem 0.5rem;
    position: relative;
}

/* Stat item arası dikey çizgi */
.stat-bar-item + .stat-bar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-bar-item .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
    font-variant-numeric: tabular-nums;
}

.stat-bar-item .stat-unit {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-bar-item .stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    white-space: nowrap;
}

/* Project Thumbnails — geliştirilmiş */
#project-thumbs button {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#project-thumbs button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Thumbnail overlay geçiş */
#project-thumbs button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    transition: opacity 0.3s;
}

#project-thumbs button:hover::after {
    opacity: 0.5;
}

/* Showcase fade transition */
@keyframes showcaseFadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.showcase-image-enter {
    animation: showcaseFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Stats bar — mobil scroll hint gradient */
@media (max-width: 767px) {
    .stats-bar-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 2.5rem;
        background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
        pointer-events: none;
        border-radius: 0 1rem 1rem 0;
        z-index: 2;
    }

    .stats-bar-container {
        position: relative;
    }
}