/* ==========================================================================
   GMM ENERJİ A.Ş. — MAIN STYLESHEET
   Dark Cinematic + Premium Corporate + Industrial + Editorial
   ========================================================================== */


:root {
    /* Core Brand Colors */
    --color-coal-black: #080808;
    --color-dark-graphite: #121212;
    --color-graphite: #1c1c1c;
    --color-graphite-light: #282828;
    --color-warm-white: #f3f1eb;
    --color-pure-white: #ffffff;
    --color-industrial-gold: #c99a2e;
    --color-industrial-gold-bright: #e5b33d;
    --color-industrial-gold-muted: rgba(201, 154, 46, 0.2);

    /* Semantic Theme Variables (Default Dark) */
    --bg-primary: #080808;
    --bg-surface: #121212;
    --bg-surface-elevated: #1a1a1a;
    --bg-contrast: #f3f1eb;
    --text-primary: #f3f1eb;
    --text-secondary: rgba(243, 241, 235, 0.75);
    --text-muted: rgba(243, 241, 235, 0.45);
    --text-contrast: #080808;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(201, 154, 46, 0.4);
    --overlay-hero: linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.2) 0%,
        rgba(8, 8, 8, 0.4) 60%,
        rgba(8, 8, 8, 0.5) 100%
    );
    --overlay-card: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0) 0%,
        rgba(18, 18, 18, 0.85) 100%
    );
    --nav-bg: rgba(8, 8, 8, 0.88);
    --nav-border: rgba(255, 255, 255, 0.08);
    --card-project-title-color: #f3f1eb;
    --card-project-loc-color: rgba(243, 241, 235, 0.6);
    --horizontal-stage-bg: #080808;

    /* Typography */
    --font-heading:
        "Space Grotesk", "Space Grotesk Fallback", -apple-system,
        BlinkMacSystemFont, sans-serif;
    --font-body:
        "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", -apple-system,
        BlinkMacSystemFont, sans-serif;

    /* Spacing & Transitions */
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-cinematic: 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1360px;
}

/* Light Mode Overrides */
[data-theme="light"] {
    --bg-primary: #f5f4ef;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ece8df;
    --bg-contrast: #080808;
    --text-primary: #111111;
    --text-secondary: #3e3e3e;
    --text-muted: #6e6e6e;
    --text-contrast: #f3f1eb;
    --border-subtle: rgba(0, 0, 0, 0.09);
    --border-medium: rgba(0, 0, 0, 0.16);
    --border-gold: rgba(181, 135, 32, 0.45);
    --overlay-hero: linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.2) 0%,
        rgba(8, 8, 8, 0.4) 60%,
        rgba(8, 8, 8, 0.5) 100%
    );
    --overlay-card: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    --nav-bg: rgba(245, 244, 239, 0.94);
    --nav-border: rgba(0, 0, 0, 0.08);
    --color-industrial-gold: #b58720;
    --color-industrial-gold-bright: #9e7314;
    --color-industrial-gold-muted: rgba(181, 135, 32, 0.15);
    --card-project-title-color: #111111;
    --card-project-loc-color: #555555;
    --horizontal-stage-bg: #eae6de;
}

/* Base Reset & Smoothness */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition:
        background-color var(--transition-smooth),
        color var(--transition-smooth);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-graphite-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-industrial-gold);
}

/* Selection */
::selection {
    background-color: var(--color-industrial-gold);
    color: #080808;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6,
.display-title,
.section-heading,
.editorial-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.display-title {
    font-size: clamp(2.8rem, 6.5vw, 6.2rem);
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    text-transform: uppercase;
}

.sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 600;
}

.lead-text {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-industrial-gold);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: var(--color-industrial-gold);
}

/* Links & Media */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Structure */
.gmm-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

.gmm-container-wide {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* Section Padding */
.section-spacer {
    padding-top: clamp(4.5rem, 9vw, 9rem);
    padding-bottom: clamp(4.5rem, 9vw, 9rem);
    position: relative;
}

.section-spacer-sm {
    padding-top: clamp(2.5rem, 5vw, 5rem);
    padding-bottom: clamp(2.5rem, 5vw, 5rem);
    position: relative;
}

/* Contrast Section Variants */
.section-dark {
    background-color: var(--color-coal-black);
    color: var(--text-primary);
}

.section-graphite {
    background-color: var(--color-dark-graphite);
    color: var(--text-primary);
}

[data-theme="light"] .section-dark {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] .section-graphite {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

/* Light Contrast Section (Sürdürülebilirlik & Editorial Breather) */
.section-contrast-light {
    background-color: var(--color-warm-white);
    color: #0a0a0a !important;
}

[data-theme="light"] .section-contrast-light {
    background-color: #ffffff;
    color: #0a0a0a !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-contrast-light .display-title,
.section-contrast-light .section-title,
.section-contrast-light h1,
.section-contrast-light h2,
.section-contrast-light h3,
.section-contrast-light h4,
.section-contrast-light h5,
.section-contrast-light h6 {
    color: #0a0a0a !important;
}

.section-contrast-light .section-label {
    color: #8c6b1b !important;
}

.section-contrast-light .section-label::before {
    background-color: #8c6b1b !important;
}

.section-contrast-light p,
.section-contrast-light .lead-text {
    color: #2b2b2b !important;
}

.section-contrast-light .accordion-header-custom {
    color: #111111 !important;
}

.section-contrast-light .accordion-header-custom:hover {
    color: #8c6b1b !important;
}

.section-contrast-light .accordion-toggle-icon {
    color: #111111 !important;
}

.section-contrast-light .accordion-body-inner {
    color: #2e2e2e !important;
}

.section-contrast-light .accordion-item-custom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.section-contrast-light .sustainability-accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Layered Transitions */
.layer-card-transition {
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .layer-card-transition {
    box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.06);
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--color-industrial-gold);
    outline-offset: 4px;
}
