/* ==========================================================================
   Oyster — Tasarım Sistemi (Design System)
   Turuncu/Beyaz · Bulut & Uzay teması
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Renkler */
  --oyster-orange: #ff7a1a;
  --oyster-orange-dark: #e9650a;
  --oyster-coral: #ff9d4d;
  --space-navy: #1a1f46;
  --space-navy-2: #232a5c;
  --cloud-white: #ffffff;
  --cloud-soft: #fff8f2;
  --cloud-grey: #f4f1ee;
  --star-gold: #ffd166;
  --ink: #1f2330;
  --ink-soft: #5b6072;
  --line: #ece6df;
  --success: #2bb673;

  /* Gradyanlar */
  --grad-sunrise: linear-gradient(135deg, #ff7a1a 0%, #ff9d4d 100%);
  --grad-space: linear-gradient(160deg, #1a1f46 0%, #232a5c 60%, #3a2a6b 100%);
  --grad-cloud: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);

  /* Tipografi */
  --font-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Ölçek / boşluk */
  --container: 1160px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 14px rgba(31, 35, 48, 0.08);
  --shadow: 0 14px 40px rgba(31, 35, 48, 0.12);
  --shadow-orange: 0 14px 30px rgba(255, 122, 26, 0.32);

  /* Geçişler */
  --t-fast: 0.18s ease;
  --t: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cloud-soft);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--oyster-orange-dark);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--oyster-orange);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

/* ---------- Layout yardımcıları ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 9vw, 110px) 0;
  position: relative;
}

.section--space {
  background: var(--grad-space);
  color: #fff;
}

.section--space h1,
.section--space h2,
.section--space h3 {
  color: #fff;
}

.section--space p {
  color: rgba(255, 255, 255, 0.78);
}

.section--cloud {
  background: var(--grad-cloud);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--oyster-orange-dark);
  background: rgba(255, 122, 26, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section--space .eyebrow {
  color: var(--star-gold);
  background: rgba(255, 209, 102, 0.14);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.text-center {
  text-align: center;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Erişilebilirlik ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--oyster-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

:focus-visible {
  outline: 3px solid var(--oyster-orange);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
