:root {
    /* Brand Colors */
    --bg-dark: #1A2421;
    /* Koyu Orman / Zeytin Siyahı */
    --bg-light: #F6F4F0;
    /* Sıcak Taş / Parşömen */
    --accent: #D4AF37;
    /* Mat Altın / Pirinç */
    --text-on-dark: #F0EDE8;
    --text-on-light: #1A2421;

    /* Dynamic Theme Variables (Manipulated by JS) */
    --theme-bg: var(--bg-dark);
    --theme-text: var(--text-on-dark);

    /* Typography */
    --font-display: 'Instrument Serif', serif;
    --font-body: 'DM Sans', sans-serif;

    --header-height: 100px;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--font-body);
    font-size: 16px;
    /* Slightly smaller base font for mobile */
    line-height: 1.6;
    transition: background-color 1s ease, color 1s ease;
}

@media (min-width: 900px) {
    body {
        font-size: 18px;
    }
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Atmospheric Noise Texture */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    mix-blend-mode: overlay;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    color: var(--accent);
}

#loader-bar-wrap {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

#loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.1s ease;
}

#loader-percent {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    opacity: 0.5;
    font-family: var(--font-body);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 5vw;
    mix-blend-mode: difference;
}

.site-header nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 35px;
}

.btn-text {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 10px 0;
    position: relative;
    font-weight: 500;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-transform: uppercase;
}

.lang-trigger:hover {
    border-color: var(--accent);
}

.lang-chevron {
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(26, 36, 33, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 9999;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(240, 237, 232, 0.6);
    font-family: var(--font-body);
    font-size: 0.75rem;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    letter-spacing: 0.05em;
}

.lang-option:hover {
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.05);
}

.lang-option.active {
    color: var(--accent);
}

.lang-option.active .lang-code {
    color: var(--accent);
}

.lang-code {
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-width: 24px;
}

.lang-name {
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Typography Hierarchy */
.section-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.section-label.dark-mode-label {
    color: var(--bg-dark);
}

/* Canvas Engine */
.canvas-wrap {
    position: fixed;
    inset: 0;
    z-index: 1;
    clip-path: circle(0% at 50% 50%);
    background: var(--bg-dark);
    pointer-events: none;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#dark-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

/* Marquee */
.marquee-wrap {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: 16vw;
    white-space: nowrap;
    opacity: 0.04;
    text-transform: uppercase;
    color: var(--theme-text);
}

/* Scroll Environment */
#scroll-container {
    height: 1200vh;
    position: relative;
    z-index: 5;
}

.scroll-section {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.8s ease;
}

.scroll-section.active {
    pointer-events: auto;
}

/* Layout Zones */
.align-left {
    padding-left: 8vw;
    padding-right: 52vw;
    justify-content: flex-start;
}

.align-right {
    padding-left: 52vw;
    padding-right: 8vw;
    justify-content: flex-end;
}

.section-inner {
    width: 100%;
    max-width: 42vw;
    background: rgba(26, 36, 33, 0.15);
    padding: 60px 50px;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.stats-wrapper {
    position: relative;
    z-index: 10;
    background: rgba(26, 36, 33, 0.15);
    padding: 80px 100px;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    width: 80vw;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    transition: none;
}

.hero-inner {
    max-width: 90vw;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 14rem);
    line-height: 0.85;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-heading .line {
    display: block;
    overflow: hidden;
}

.hero-heading .word {
    display: inline-block;
}

.accent-text {
    color: var(--accent);
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    opacity: 0.7;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0.4;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Content Sections */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.section-body {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.excerpt {
    font-family: var(--font-display);
    font-size: 2rem;
    font-style: italic;
    color: var(--accent);
    opacity: 1;
    margin-top: 3rem;
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}

/* Services */
.services-list {
    list-style: none;
    margin-top: 3rem;
}

.services-list li {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2.5rem;
}

.services-list h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.services-list p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Stats Section */
.section-stats {
    justify-content: center;
    text-align: center;
}

.centered {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10vw;
    margin-bottom: 6rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    color: var(--bg-light);
    line-height: 0.8;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--accent);
    margin-left: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-top: 1.5rem;
}

.partners-block {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.partners-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 2rem;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    font-family: var(--font-display);
    font-size: 2rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.partners-list a {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.partners-list a:hover {
    color: var(--accent);
    opacity: 1;
}

.partners-list a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.partners-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dot {
    color: var(--accent);
    font-size: 1rem;
}

/* CTA Section / Form */
.section-cta {
    background-color: var(--bg-light);
    /* Inverts color zone natively */
    color: var(--bg-dark);
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
}

.cta-inner {
    max-width: 800px;
    width: 90%;
}

.massive-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    text-align: left;
    margin-top: 4rem;
}

.contact-item {
    border-bottom: 1px solid rgba(26, 36, 33, 0.1);
    padding-bottom: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--bg-dark);
    line-height: 1.2;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--accent);
}

@media (min-width: 900px) {
    .contact-info-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Short Desktop / Landscape Optimizations */
@media (min-width: 901px) and (max-height: 850px) {
    :root {
        --header-height: 80px;
    }

    .section-inner {
        padding: 40px 50px;
    }
    
    .section-heading {
        font-size: clamp(2rem, 7vh, 4.5rem);
        margin-bottom: 1.5rem;
    }
    
    .section-body {
        font-size: clamp(1rem, 2.2vh, 1.2rem);
        margin-bottom: 1rem;
    }

    .services-list {
        margin-top: 1.5rem;
    }

    .services-list li {
        margin-bottom: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .services-list h3 {
        font-size: 1.8rem;
    }

    .stats-wrapper {
        padding: 40px 60px;
    }

    .stat-number {
        font-size: clamp(4rem, 18vh, 9rem);
    }
    
    .stat-suffix {
        font-size: clamp(2rem, 8vh, 4.5rem);
    }

    .massive-cta-heading {
        font-size: clamp(3rem, 12vh, 6rem);
        margin-bottom: 1.5rem;
    }

    .cta-subtitle {
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }

    .contact-info-grid {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .contact-value {
        font-size: clamp(1.2rem, 4vh, 2rem);
    }

    .hero-heading {
        font-size: clamp(3rem, 18vh, 10rem);
    }
}

@media (min-width: 901px) and (max-height: 720px) {
    :root {
        --header-height: 70px;
    }
    
    .section-inner {
        padding: 30px 40px;
    }

    .section-heading {
        font-size: clamp(1.8rem, 9vh, 3.5rem);
    }

    .section-body {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .excerpt {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        padding-left: 1.5rem;
    }

    .services-list li {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .services-list h3 {
        font-size: 1.5rem;
    }

    .stats-wrapper {
        padding: 30px 50px;
        width: 85vw;
    }

    .stats-grid {
        margin-bottom: 2rem;
        gap: 5vw;
    }

    .stat-number {
        font-size: clamp(3.5rem, 20vh, 7.5rem);
    }

    .partners-block {
        padding-top: 1.5rem;
    }

    .partners-list {
        font-size: 1.4rem;
    }
    
    .massive-cta-heading {
        font-size: clamp(2.5rem, 15vh, 4.5rem);
    }
}

/* Mobile Fallbacks */
@media (max-width: 900px) {
    .site-header {
        height: 80px;
        padding: 0 20px;
    }

    .align-left,
    .align-right {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }

    .section-inner {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        margin: 0 auto;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .section-body {
        font-size: 1.1rem;
    }

    .excerpt {
        border-left: none;
        border-top: 2px solid var(--accent);
        padding-left: 0;
        padding-top: 1.5rem;
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .stats-wrapper {
        width: 92vw;
        padding: 40px 20px;
    }

    .stat-number {
        font-size: clamp(4rem, 20vw, 8rem);
    }

    .services-list h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .services-list p {
        font-size: 0.95rem;
    }

    .services-list li {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .services-list li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .partners-list {
        flex-direction: column;
        gap: 1rem;
        font-size: 1.5rem;
    }

    .dot {
        display: none;
    }

    .massive-cta-heading {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .contact-value {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .contact-info-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .section-heading {
        font-size: 2.2rem;
    }

    .section-inner {
        padding: 30px 15px;
    }
}