/* ═══════════════════════════════════════════════════════════
   KORUK İNŞAAT — MASTER STYLESHEET
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS & RESET ─────────────────────────────────────── */
:root {
    --clr-bg:        #f5f3ef;
    --clr-white:     #fafaf8;
    --clr-dark:      #111110;
    --clr-mid:       #2a2925;
    --clr-accent:    #c8a96e;
    --clr-accent-dk: #9e7f45;
    --clr-text:      #1a1917;
    --clr-muted:     #7a7870;
    --clr-border:    rgba(26,25,23,0.10);

    --font-display:  'Syne', sans-serif;
    --font-body:     'Plus Jakarta Sans', sans-serif;

    --ease-expo:     cubic-bezier(0.19, 1, 0.22, 1);
    --ease-back:     cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);

    --section-px:    clamp(24px, 5vw, 96px);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: auto;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    cursor: auto;
}

a, button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─── UTILITY ─────────────────────────────────────────────── */
.italic-line { font-style: italic; }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
[data-reveal] .reveal-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}

[data-reveal].is-visible .reveal-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
[data-reveal].is-visible .reveal-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
[data-reveal].is-visible .reveal-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
[data-reveal].is-visible .reveal-item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
[data-reveal].is-visible .reveal-item:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
[data-reveal].is-visible .reveal-item:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* ─── PRELOADER ────────────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-bg);
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

#preloader.done {
    transform: translateY(-100%);
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.preloader-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 100px;
}

.p-letter {
    font-family: var(--font-display);
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    color: var(--clr-dark);
    display: inline-block;
    line-height: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.6s var(--ease-expo) forwards;
}

.p-gap { display: inline-block; width: clamp(10px, 3vw, 25px); }

@keyframes letterReveal {
    to { transform: translateY(0); opacity: 1; }
}

.preloader-brand span:nth-child(1) { animation-delay: 0.1s; }
.preloader-brand span:nth-child(2) { animation-delay: 0.15s; }
.preloader-brand span:nth-child(3) { animation-delay: 0.2s; }
.preloader-brand span:nth-child(4) { animation-delay: 0.25s; }
.preloader-brand span:nth-child(5) { animation-delay: 0.3s; }
.preloader-brand span:nth-child(6) { animation-delay: 0.35s; } /* gap */
.preloader-brand span:nth-child(7) { animation-delay: 0.4s; }
.preloader-brand span:nth-child(8) { animation-delay: 0.45s; }
.preloader-brand span:nth-child(9) { animation-delay: 0.5s; }
.preloader-brand span:nth-child(10) { animation-delay: 0.55s; }

.preloader-line-wrap {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preloader-counter {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--clr-accent);
    text-align: right;
}

.preloader-bar {
    width: 100%;
    height: 1px;
    background: var(--clr-border);
    position: relative;
    overflow: hidden;
}

.preloader-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: var(--clr-accent);
    transition: width 0.1s linear;
}

#preloader.hidden { display: none; }

/* ─── CUSTOM CURSOR REMOVED ────────────────────────────────── */

/* ─── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 44px;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 1001;
    transition: transform 0.5s var(--ease-expo);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar.scrolled {
    transform: translateY(-100%);
}

.top-bar-inner {
    width: 100%;
    padding: 0 var(--section-px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-left, .tb-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-link, .tb-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(250, 250, 248, 0.6);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tb-link:hover {
    color: var(--clr-accent);
}

.tb-sep {
    width: 4px;
    height: 4px;
    background: var(--clr-accent);
    border-radius: 50%;
}

@media (max-width: 991px) {
    .top-bar { display: none; }
}

/* ─── HEADER ───────────────────────────────────────────────── */
#main-header {
    position: fixed;
    top: 44px; left: 0; right: 0;
    z-index: 1100; /* Header stay above everything */
    padding: 24px var(--section-px);
    transition: background 0.5s ease, backdrop-filter 0.5s ease,
                box-shadow 0.5s ease, padding 0.5s var(--ease-expo),
                top 0.5s var(--ease-expo), border-color 0.5s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: transparent;
}

#main-header.scrolled,
#main-header.header-opaque {
    top: 0;
    background: rgba(245, 243, 239, 0.9);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
    padding: 16px var(--section-px);
    border-bottom-color: transparent;
}

#main-header.header-opaque .logo, 
#main-header.scrolled .logo { color: var(--clr-text); }
#main-header.header-opaque .logo-sub,
#main-header.scrolled .logo-sub { color: var(--clr-muted); }
#main-header.header-opaque .nav-link-item,
#main-header.scrolled .nav-link-item { color: var(--clr-text); }
#main-header.header-opaque .nav-link-item::after,
#main-header.scrolled .nav-link-item::after { background: var(--clr-accent); }
#main-header.header-opaque .lang-link,
#main-header.scrolled .lang-link { color: var(--clr-muted); }
#main-header.header-opaque .lang-link.active, 
#main-header.header-opaque .lang-link:hover,
#main-header.scrolled .lang-link.active,
#main-header.scrolled .lang-link:hover { color: var(--clr-text); }
#main-header.header-opaque .header-cta-btn,
#main-header.scrolled .header-cta-btn { color: var(--clr-text); border-color: var(--clr-border); }
#main-header.header-opaque .menu-toggle-bar,
#main-header.scrolled .menu-toggle-bar { background: var(--clr-text); }

@media (max-width: 991px) {
    #main-header { 
        top: 0; 
        padding: 14px var(--section-px); 
    }
}

/* Translucent to Dark Text Overrides */
#main-header.scrolled .logo { color: var(--clr-text); }
#main-header.scrolled .nav-link-item { color: var(--clr-text); }
#main-header.scrolled .nav-link-item::after { background: var(--clr-accent); }
#main-header.scrolled .nav-link-item:hover { color: var(--clr-accent); }
#main-header.scrolled .lang-link { color: var(--clr-muted); }
#main-header.scrolled .lang-link.active, #main-header.scrolled .lang-link:hover { color: var(--clr-text); }
#main-header.scrolled .header-cta-btn { color: var(--clr-text); border-color: var(--clr-border); }
#main-header.scrolled .header-cta-btn:hover { background: var(--clr-text); color: var(--clr-white); border-color: var(--clr-text); }
#main-header.scrolled .menu-toggle-bar { background: var(--clr-text); }

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.header-center {
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 42px;
    width: auto;
    display: block;
    transition: height 0.4s var(--ease-expo);
}

#main-header.scrolled .header-logo-img {
    height: 34px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
    .header-logo-img { height: 32px; }
}

/* Desktop Nav */
.header-nav {
    display: flex;
    gap: 36px;
}

.nav-link-item {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--clr-white);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--clr-white);
    transition: width 0.4s var(--ease-expo), background 0.3s ease;
}

.nav-link-item:hover {
    color: var(--clr-accent);
}

.nav-link-item:hover::after { width: 100%; }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-link {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-link.active, .lang-link:hover {
    color: var(--clr-white);
}

.header-cta-btn {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    transition: all 0.4s ease;
}

.header-cta-btn::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--clr-accent);
}

.header-cta-btn:hover {
    background: var(--clr-white);
    color: var(--clr-text);
    border-color: var(--clr-white);
}

.header-cta-btn:hover::after {
    background: var(--clr-text);
}

@media (max-width: 991px) {
    .header-inner { display: flex; justify-content: space-between; gap: 0; align-items: center; }
    .header-center { display: none; }
    .lang-switch { display: none; }
    .header-cta-btn { display: none; }
    #main-header {
        background: rgba(17,17,16,0.15); /* Slight visibility boost on mobile */
    }
    #main-header.scrolled {
        background: rgba(245, 243, 239, 0.95);
    }
}

/* Hamburger */
.menu-toggle {
    background: none;
    border: none;
    width: 44px; height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered bars */
    justify-content: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
    z-index: 1100; /* Higher than menu */
}

.menu-toggle-bar {
    display: block;
    height: 2px;
    background: var(--clr-white);
    border-radius: 4px;
    transition: width 0.4s var(--ease-expo), transform 0.4s var(--ease-expo), opacity 0.3s ease, background 0.4s ease;
}

.bar-1 { width: 28px; }
.bar-2 { width: 20px; }
.bar-3 { width: 14px; }

.menu-toggle:hover .bar-2 { width: 32px; }
.menu-toggle:hover .bar-3 { width: 24px; }

.menu-toggle.is-open .menu-toggle-bar {
    background: var(--clr-white) !important; /* Always visible on dark menu */
}

.menu-toggle.is-open .bar-1 {
    width: 28px;
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .bar-2 {
    width: 28px;
    opacity: 0;
}

.menu-toggle.is-open .bar-3 {
    width: 28px;
    transform: translateY(-8px) rotate(-45deg);
}

/* ─── FULLSCREEN MENU ──────────────────────────────────────── */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 1050; /* Above regular content, below Header's Toggle */
    background: var(--clr-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - var(--section-px) - 22px) 36px);
    transition: clip-path 0.9s var(--ease-expo);
    pointer-events: none;
    overflow: hidden;
}

.fullscreen-menu.is-open {
    clip-path: circle(150% at calc(100% - var(--section-px) - 22px) 36px);
    pointer-events: all;
}

.fullscreen-menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
    width: 100%;
    max-width: 900px;
    padding: 0 var(--section-px);
}

.fs-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 80px;
}

.fs-menu-link {
    display: flex;
    align-items: baseline;
    gap: 20px;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.fs-menu-link:hover { border-color: rgba(200, 169, 110, 0.4); }

.fs-link-num {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--clr-accent);
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.fs-link-text {
    font-family: var(--font-display);
    font-size: clamp(32px, 8vw, 72px);
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.7s var(--ease-expo), color 0.3s ease;
}

.fullscreen-menu.is-open .fs-link-text { transform: translateY(0); }

.fullscreen-menu.is-open .fs-menu-link:nth-child(1) .fs-link-text { transition-delay: 0.1s; }
.fullscreen-menu.is-open .fs-menu-link:nth-child(2) .fs-link-text { transition-delay: 0.18s; }
.fullscreen-menu.is-open .fs-menu-link:nth-child(3) .fs-link-text { transition-delay: 0.26s; }
.fullscreen-menu.is-open .fs-menu-link:nth-child(4) .fs-link-text { transition-delay: 0.34s; }

.fs-menu-link:hover .fs-link-text { color: var(--clr-accent); }
.fs-menu-nav:hover .fs-menu-link:not(:hover) .fs-link-text { color: rgba(250, 250, 248, 0.25); }

.fs-menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s var(--ease-expo) 0.5s;
}

.fullscreen-menu.is-open .fs-menu-footer { opacity: 1; transform: translateY(0); }

.fs-menu-tagline {
    font-family: var(--font-display);
    font-size: 13px;
    color: rgba(250,250,248,0.35);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.fs-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.fs-menu-contact a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(250,250,248,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fs-menu-contact a:hover { color: var(--clr-accent); }

/* ─── HERO SLIDER ────────────────────────────────────────────── */
.hero-slider-section {
    position: relative;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    background: var(--clr-dark);
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: left center;
    transition: transform 15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Slide active animation: Slow Zoom In towards left */
.swiper-slide-active .hero-slide-bg img {
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,17,16,0.6) 0%, rgba(17,17,16,0.2) 20%, rgba(17,17,16,0.2) 60%, rgba(17,17,16,0.85) 100%);
    pointer-events: none;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--section-px);
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px; /* Offset for header */
}

/* Typography Overrides for Dark Background */
.hero-slider-section .hero-eyebrow .eyebrow-text { 
    color: rgba(250,250,248,0.7); 
    font-size: 13px;
    letter-spacing: 0.2em;
}

.hero-slider-section .hero-title { 
    color: var(--clr-white); 
    font-family: var(--font-body);
    font-size: clamp(40px, 5.5vw, 84px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-slider-section .hero-desc { 
    color: rgba(250,250,248,0.9); 
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 40px;
}

/* Slide Text Animations */
.slide-child {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0s, transform 0s;
}

.swiper-slide-active .slide-child {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .slide-child:nth-child(1) { transition: opacity 0.8s var(--ease-expo) 0.3s, transform 0.8s var(--ease-expo) 0.3s; }
.swiper-slide-active .slide-child:nth-child(2) { transition: opacity 0.8s var(--ease-expo) 0.45s, transform 0.8s var(--ease-expo) 0.45s; }
.swiper-slide-active .slide-child:nth-child(3) { transition: opacity 0.8s var(--ease-expo) 0.6s, transform 0.8s var(--ease-expo) 0.6s; }
.swiper-slide-active .slide-child:nth-child(4) { transition: opacity 0.8s var(--ease-expo) 0.75s, transform 0.8s var(--ease-expo) 0.75s; }

/* New Clean Slider Button */
.hero-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.4);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.hero-slider-btn:hover {
    background: var(--clr-white);
    color: var(--clr-dark);
    border-color: var(--clr-white);
}

.hero-slider-btn .btn-arrow {
    margin-left: 12px;
    font-size: 18px;
    transition: transform 0.4s ease;
}

.hero-slider-btn:hover .btn-arrow {
    transform: translateX(6px);
}

/* Controls */
.hero-slider-controls {
    position: absolute;
    bottom: var(--section-px);
    right: var(--section-px);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-swiper-prev, .hero-swiper-next {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-white);
    transition: opacity 0.3s ease;
}

.hero-swiper-prev:hover, .hero-swiper-next:hover {
    opacity: 0.7;
}

.hero-swiper-prev.swiper-button-disabled,
.hero-swiper-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.ctrl-arrow { font-size: 20px; }

/* Pagination Fraction */
.hero-swiper-pagination {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.1em;
    width: auto !important;
    position: relative !important;
    bottom: 0 !important;
    display: flex !important; /* Force horizontal numbering */
    align-items: center;
    gap: 8px;
    white-space: nowrap; /* Prevent wrapping */
}

.swiper-pagination-current { color: var(--clr-white); font-size: 20px; line-height: 1; }
.swiper-pagination-total { color: rgba(250,250,248,0.5); font-size: 14px; line-height: 1; }

/* Scroll Indicator adjustment for slider */
.hero-slider-section .hero-scroll-indicator {
    left: var(--section-px);
    bottom: 40px;
    z-index: 10;
}
.hero-slider-section .scroll-line { background: rgba(250,250,248,0.2); }
.hero-slider-section .scroll-label { color: rgba(250,250,248,0.6); }

@media (max-width: 991px) {
    .hero-slider-controls {
        bottom: 30px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-slider-section .hero-scroll-indicator { display: none; }
}

/* ─── SUBPAGE HERO ───────────────────────────────────────────── */
.sub-hero {
    position: relative;
    padding: 180px var(--section-px) 100px;
    background: var(--clr-dark);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.sub-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    z-index: 1;
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.sub-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sub-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 84px);
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .sub-hero { padding: 140px var(--section-px) 60px; min-height: 350px; }
}
.marquee-section {
    overflow: hidden;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 18px 0;
    background: var(--clr-white);
}

.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-inner span {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-muted);
    padding: 0 24px;
}

.marquee-sep {
    color: var(--clr-accent) !important;
    padding: 0 4px !important;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── ABOUT ────────────────────────────────────────────────── */
.about-section {
    padding: clamp(80px, 12vw, 160px) 0;
    background: var(--clr-bg);
    position: relative;
}

.about-left {
    padding-right: 48px;
    position: relative;
}

.section-tag {
    margin-bottom: 28px;
}

.section-tag span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-muted);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--clr-text);
    display: flex;
    flex-direction: column;
}

.reveal-line {
    display: inline-block;
    overflow: hidden;
    line-height: 1.08;
}

.about-bg-year {
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-family: var(--font-display);
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(26,25,23,0.05);
    letter-spacing: -0.06em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.about-right {
    padding-left: 48px;
    border-left: 1px solid var(--clr-border);
}

.about-body {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 400;
    line-height: 1.75;
    color: var(--clr-muted);
    margin-bottom: 24px;
}

.about-body strong { color: var(--clr-text); font-weight: 600; }
.about-body em { color: var(--clr-accent); font-style: italic; }

.about-divider {
    width: 100%;
    height: 1px;
    background: var(--clr-border);
    margin: 32px 0;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--clr-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--clr-accent);
    transition: width 0.5s var(--ease-expo);
}

.about-link:hover { color: var(--clr-text); }
.about-link:hover::after { width: 100%; }

.about-link-arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease-back);
}

.about-link:hover .about-link-arrow { transform: translate(4px, -4px); }

/* ─── STATS ────────────────────────────────────────────────── */
.stats-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--clr-text);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 14px;
}

.stat-plus {
    font-size: 0.45em;
    color: var(--clr-accent);
    font-weight: 700;
    align-self: flex-start;
    margin-top: 12px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,250,248,0.35);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(250,250,248,0.1);
    flex-shrink: 0;
}

/* ─── PROJECTS ─────────────────────────────────────────────── */
.projects-section {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--clr-bg);
    overflow: hidden;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 52px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 86px);
    font-weight: 800;
    line-height: 1; /* Slightly more space */
    letter-spacing: -0.04em;
    color: var(--clr-text);
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    word-break: break-word; /* Safety for long words like Uzmanlık */
}

.section-all-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-accent);
    text-decoration: none;
    transition: letter-spacing 0.4s ease;
}

.section-all-link:hover { letter-spacing: 0.14em; color: var(--clr-accent); }

/* Horizontal Scroll */
.projects-horizontal-scroll {
    position: relative;
    padding-left: var(--section-px);
    padding-bottom: 20px;
}

.projects-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: var(--section-px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.projects-track:active { cursor: grabbing; }
.projects-track::-webkit-scrollbar { display: none; }

.project-card {
    flex: 0 0 clamp(300px, 35vw, 520px);
    aspect-ratio: 3/4;
    scroll-snap-align: start;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-expo);
}

.project-card:hover .project-img { transform: scale(1.05); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17, 17, 16, 0.88) 0%,
        rgba(17, 17, 16, 0.12) 55%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-category {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-accent);
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-expo) 0.05s;
}

.project-card:hover .project-name { transform: translateY(0); }

.project-location {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(250,250,248,0.6);
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-expo) 0.1s;
}

.project-card:hover .project-location { transform: translateY(0); }

.project-arrow {
    font-size: 22px;
    color: var(--clr-accent);
    transform: translate(-4px, 4px);
    transition: transform 0.4s var(--ease-back) 0.1s;
    align-self: flex-end;
}

.project-card:hover .project-arrow { transform: translate(0, 0); }

.projects-drag-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-left: 0;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-muted);
    opacity: 0.7;
}

.drag-icon {
    font-size: 18px;
    animation: dragHint 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes dragHint {
    0%,100% { transform: translateX(0); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-6px); }
}

/* ─── SERVICES ─────────────────────────────────────────────── */
.services-section {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--clr-white);
}

.services-grid {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--clr-border);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    transition: padding-left 0.4s var(--ease-expo);
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-bg);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-expo);
    z-index: 0;
}

.service-item:hover::before { transform: scaleX(1); }
.service-item:hover { padding-left: 20px; }

.service-num,
.service-content,
.service-arrow {
    position: relative;
    z-index: 1;
}

.service-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.1em;
}

.service-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--clr-text);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 500px;
}

.service-arrow {
    font-size: 24px;
    color: var(--clr-muted);
    transform: translate(-4px, 4px);
    transition: transform 0.4s var(--ease-back), color 0.3s ease;
}

.service-item:hover .service-arrow {
    transform: translate(0, 0);
    color: var(--clr-accent);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer-section {
    background: var(--clr-dark);
    padding: clamp(80px, 12vw, 140px) var(--section-px) 48px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -1px; left: var(--section-px); right: var(--section-px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--clr-accent), transparent);
}

.footer-cta-wrap {
    text-align: center;
    padding-bottom: clamp(60px, 8vw, 100px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 52px;
}

.footer-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250,250,248,0.35);
    margin-bottom: 24px;
}

.footer-cta-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 9vw, 140px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--clr-white);
    margin-bottom: 48px;
}

.footer-cta-title em {
    font-style: italic;
    color: var(--clr-accent);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.3vw, 18px);
    font-weight: 500;
    color: rgba(250,250,248,0.6);
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(250,250,248,0.15);
    transition: color 0.4s ease, border-color 0.4s ease;
}

.footer-cta-btn:hover {
    color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.footer-btn-arrow {
    font-size: 20px;
    transition: transform 0.4s var(--ease-back);
    display: inline-block;
}

.footer-cta-btn:hover .footer-btn-arrow { transform: translate(4px, -4px); }

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(250,250,248,0.25);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: flex-end;
    gap: 48px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-contact-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(250,250,248,0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover { color: var(--clr-accent); }

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.social-link {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250,250,248,0.3);
    text-decoration: none;
    transition: color 0.3s ease, letter-spacing 0.4s ease;
}

.social-link:hover { color: var(--clr-accent); letter-spacing: 0.18em; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .header-nav { display: none; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 40px;
    }

    .hero-image-wrap { order: -1; }

    .hero-image-inner {
        aspect-ratio: 16/9;
        max-height: 50vh;
    }

    .hero-image-badge {
        left: 16px;
        bottom: 16px;
    }

    .hero-scroll-indicator { display: none; }

    .about-left { padding-right: 0; margin-bottom: 48px; }
    .about-right { padding-left: 0; border-left: none; border-top: 1px solid var(--clr-border); padding-top: 32px; }
    .about-bg-year { display: none; }

    .stats-grid { flex-wrap: wrap; gap: 32px 0; }
    .stat-divider { display: none; }
    .stat-item { flex: 0 0 50%; }

    .service-item { grid-template-columns: 60px 1fr; }
    .service-arrow { display: none; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom-right { flex-direction: column; align-items: flex-start; }
    .footer-contact-info { align-items: flex-start; }
    .footer-social { flex-direction: row; align-items: center; }
}

@media (max-width: 576px) {
    .section-title { font-size: clamp(30px, 10vw, 42px) !important; line-height: 1.1; }
    .hero-title { font-size: clamp(36px, 12vw, 52px) !important; }
    .hero-desc { font-size: 15px; margin-bottom: 30px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .stat-item { flex: 0 0 100%; }
    .service-item { grid-template-columns: 1fr; gap: 12px; }
    .service-num { font-size: 11px; }
    
    /* Fullscreen Menu Mobile Tweak */
    .fs-link-text { font-size: 32px !important; }
    .fullscreen-menu-inner { height: 75vh; }
}

/* ─── PAGE BODY TRANSITION ─────────────────────────────────── */
body { opacity: 0; cursor: auto !important; }
body.ready { opacity: 1; transition: opacity 0.3s ease; }
html { cursor: auto !important; }
a, button, [role="button"] { cursor: pointer !important; }

/* ─── SUBPAGE STYLES ───────────────────────────────────────── */
.py-100 { padding: 100px 0; }
.pt-80 { padding-top: 80px; }
.mb-60 { margin-bottom: 60px; }
.mt-60 { margin-top: 60px; }
.mt-50 { margin-top: 50px; }
.mt-30 { margin-top: 30px; }
.bg-white { background: #fff; }

/* Value Cards */
.value-card {
    padding: 40px;
    background: #fff;
    border-bottom: 2px solid var(--clr-border);
    transition: all 0.4s var(--ease-expo);
}
.value-card:hover { border-color: var(--clr-accent); transform: translateY(-10px); }
.value-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 15px; }

/* Service Large List */
.service-large-item { border-bottom: 1px solid var(--clr-border); transition: background 0.4s ease; }
.sl-img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.sl-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-expo); }
.service-large-item:hover .sl-img-wrap img { transform: scale(1.05); }
.sl-content { padding: 60px; }
.sl-num { display: block; font-family: var(--font-display); font-size: 14px; color: var(--clr-accent); margin-bottom: 20px; font-weight: 800; }
.sl-title { font-family: var(--font-display); font-size: 42px; font-weight: 800; margin-bottom: 20px; }
.sl-link { text-decoration: none; color: var(--clr-text); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; transition: color 0.3s ease; }
.sl-link:hover { color: var(--clr-accent); }

/* Contact Styles */
.contact-details { display: flex; flex-direction: column; gap: 30px; }
.cd-item { display: flex; flex-direction: column; gap: 8px; }
.cd-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--clr-muted); letter-spacing: 0.1em; }
.cd-value { font-size: 18px; color: var(--clr-text); font-weight: 600; text-decoration: none; }
.social-links-contact { display: flex; gap: 30px; }
.sc-link { text-decoration: none; color: var(--clr-text); font-weight: 800; font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; }

.contact-form-card { padding: 60px; background: #fff; box-shadow: 0 40px 100px rgba(0,0,0,0.05); }
.form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; color: var(--clr-text); }
.form-control, .form-select { border-radius: 0; border: none; border-bottom: 1px solid var(--clr-border); padding: 15px 0; font-family: var(--font-body); font-size: 15px; }
.form-control:focus, .form-select:focus { box-shadow: none; border-color: var(--clr-accent); }
.contact-submit-btn { background: var(--clr-dark); color: var(--clr-white); border: none; padding: 20px 40px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.4s ease; margin-top: 20px; }
.contact-submit-btn:hover { background: var(--clr-accent); color: var(--clr-dark); }

/* Blog Card */
.blog-card { background: #fff; transition: transform 0.4s var(--ease-expo); }
.blog-card:hover { transform: translateY(-10px); }
.blog-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-date { position: absolute; bottom: 0; right: 0; background: var(--clr-dark); color: #fff; padding: 10px 20px; font-size: 11px; font-weight: 700; }
.blog-body { padding: 30px; }
.blog-cat { display: block; color: var(--clr-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.blog-title { font-size: 24px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
.blog-title a { color: var(--clr-text); text-decoration: none; transition: color 0.3s ease; }
.blog-title a:hover { color: var(--clr-accent); }

/* Blog Detail */
.blog-detail-hero { padding-top: 180px; }
.bd-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 64px); font-weight: 800; line-height: 1.1; margin: 20px 0; }
.bd-meta { color: var(--clr-muted); font-size: 13px; }
.bd-featured-img { aspect-ratio: 21/9; overflow: hidden; }
.bd-body-text p { font-size: 18px; line-height: 1.8; color: #444; margin-bottom: 30px; }
.bd-body-text .lead { font-size: 24px; font-weight: 500; color: var(--clr-dark); }
.bd-body-text blockquote { padding: 40px; border-left: 5px solid var(--clr-accent); background: #f9f9f9; font-style: italic; font-size: 24px; font-family: var(--font-display); margin: 40px 0; }

/* Service Detail */
.sd-feature-item { padding: 30px; border: 1px solid var(--clr-border); height: 100%; }
.sd-feature-item h4 { font-family: var(--font-display); font-weight: 800; margin-bottom: 15px; }
.sd-sidebar-box { padding: 40px; border: 1px solid var(--clr-border); }
.sd-list { list-style: none; padding: 0; margin-top: 20px; }
.sd-list li { margin-bottom: 10px; border-bottom: 1px solid var(--clr-border); padding-bottom: 10px; }
.sd-list a { text-decoration: none; color: var(--clr-text); font-weight: 600; display: block; transition: color 0.3s ease; }
.sd-list a:hover { color: var(--clr-accent); }
.sd-sidebar-btn { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--clr-accent); text-decoration: none; }

@media (max-width: 991px) {
    .sl-content { padding: 40px; }
    .contact-form-card { padding: 40px; }
    .sl-title { font-size: 32px; }
    .bd-title { font-size: 32px; }
    .bd-featured-img { aspect-ratio: 16/9; }
}
