/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* ============================================
   ERVEN MADENCİLİK — DESIGN SYSTEM
   ============================================ */

:root {
  /* — Surfaces — */
  --bg: #0A0E1A;
  --bg-elevated: #121828;
  --bg-card: #181F33;
  --bg-warm: #F5F1EA;
  --bg-warm-2: #EBE5DA;

  /* — Text — */
  --text: #F5F1EA;
  --text-secondary: #B8C0D0;
  --text-muted: #6B7488;
  --text-on-warm: #1A1F2E;
  --text-on-warm-muted: #5A6175;

  /* — Accents — */
  --accent: #4FB8D9;
  --accent-bright: #6FCDE8;
  --accent-deep: #1E5A8A;
  --accent-warm: #C97B5C;
  --accent-gold: #C9A961;

  /* — Borders — */
  --border: rgba(245, 241, 234, 0.08);
  --border-strong: rgba(245, 241, 234, 0.16);
  --border-warm: rgba(26, 31, 46, 0.08);
  --border-warm-strong: rgba(26, 31, 46, 0.16);

  /* — Typography — */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* — Layout — */
  --container: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 80px;

  /* — Motion — */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration: 400ms;
  --duration-slow: 800ms;

  /* — Shadows — */
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.18);
  --shadow-strong: 0 4px 12px rgba(0,0,0,0.4), 0 24px 64px rgba(0,0,0,0.32);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display-l {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}

.display-m {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.8vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.display-s {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 350;
}

.muted { color: var(--text-muted); }

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section-warm {
  background: var(--bg-warm);
  color: var(--text-on-warm);
}

.section-warm .lead { color: var(--text-on-warm-muted); }
.section-warm .muted { color: var(--text-on-warm-muted); }
.section-warm .eyebrow { color: var(--accent-deep); }
.section-warm .eyebrow::before { background: var(--accent-deep); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #0A0E1A;
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(79, 184, 217, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(245, 241, 234, 0.04);
}

.section-warm .btn-ghost {
  color: var(--text-on-warm);
  border-color: var(--border-warm-strong);
}
.section-warm .btn-ghost:hover {
  border-color: var(--text-on-warm);
  background: rgba(26, 31, 46, 0.04);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--accent);
  transition: gap var(--duration) var(--ease-out);
  position: relative;
}
.btn-arrow:hover { gap: 0.875rem; }
.btn-arrow svg { transition: transform var(--duration) var(--ease-out); }
.btn-arrow:hover svg { transform: translateX(2px); }

.section-warm .btn-arrow { color: var(--accent-deep); }

/* ============================================
   UTILITIES
   ============================================ */

.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.section-warm .divider { background: var(--border-warm); }

.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

/* Reveal on scroll (used with framer-motion fallback) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
}

