/* =============================================
   NEV END\u00dcSTR\u0130YEL - Base Styles
   Reset, Custom Properties, Typography
   ============================================= */

/* --- CSS Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

/* --- Custom Properties --- */
:root {
  /* Brand Colors - Teal Palette */
  --color-navy: #0c1829;
  --color-navy-light: #132236;
  --color-navy-dark: #080f1a;

  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-teal-dark: #0a7a70;

  /* Gold Accent (Secondary) */
  --color-gold: #c8924a;
  --color-gold-light: #dbb07a;
  --color-gold-dark: #a07030;

  /* Neutrals */
  --color-light: #f7f8fa;
  --color-light-alt: #eef0f4;
  --color-white: #ffffff;
  --color-gray-100: #f0f2f5;
  --color-gray-200: #dde1e8;
  --color-gray-300: #bcc3ce;
  --color-gray-400: #8c95a4;
  --color-gray-500: #5f6b7a;
  --color-gray-600: #3d4856;
  --color-gray-700: #2a3342;
  --color-gray-800: #1a2332;

  /* Semantic Colors */
  --color-bg: var(--color-light);
  --color-bg-alt: var(--color-white);
  --color-bg-dark: var(--color-navy);
  --color-text: var(--color-gray-700);
  --color-text-light: var(--color-gray-500);
  --color-text-on-dark: var(--color-light);
  --color-text-muted: var(--color-gray-400);
  --color-border: var(--color-gray-200);
  --color-border-light: var(--color-gray-100);

  /* Typography */
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1800px;
  --header-height: 80px;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(12, 24, 41, 0.08);
  --shadow-md: 0 4px 12px rgba(12, 24, 41, 0.1);
  --shadow-lg: 0 8px 30px rgba(12, 24, 41, 0.12);
  --shadow-teal: 0 4px 20px rgba(13, 148, 136, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Typography --- */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

@media (min-width: 1024px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-5xl); }
}

@media (min-width: 1280px) {
  h1 { font-size: var(--text-7xl); }
}

p {
  line-height: 1.7;
  color: var(--color-text);
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Label Style --- */
.label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  font-weight: 500;
}

.label--gold {
  color: var(--color-gold);
}

/* --- Selection --- */
::selection {
  background-color: var(--color-teal);
  color: var(--color-white);
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@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;
  }
}
