/* ============================================
   BASE.CSS — CSS Variables & Reset
   Op. Dr. Erol Bahtiyar Website
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --navy:       #0b1d3a;
  --navy-2:     #112347;
  --navy-3:     #0e3a6b;
  --teal:       #0e7490;
  --teal-l:     #0891b2;
  --teal-xl:    #4dd0e1;
  --gold:       #b8963e;
  --gold-l:     #d4a951;
  --cream:      #f9f7f4;
  --cream-2:    #f0ece5;
  --cream-3:    #ede8df;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-l:     #9ca3af;
  --gray-2:     #374151;
  --gray-3:     #4b5563;
  --green-wa:   #25d366;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(11, 29, 58, 0.08);
  --shadow-md:  0 4px 24px rgba(11, 29, 58, 0.10);
  --shadow-lg:  0 8px 48px rgba(11, 29, 58, 0.15);
  --shadow-xl:  0 16px 64px rgba(11, 29, 58, 0.20);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Z-index layers */
  --z-nav:     1000;
  --z-mobile:  2000;
  --z-overlay: 1999;
  --z-sticky:  999;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: #1f2937;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY BASE ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

p { line-height: 1.7; }

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

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #f1f1f1; }
::-webkit-scrollbar-thumb  { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-l); }

/* ===== SELECTION ===== */
::selection {
  background: rgba(14, 116, 144, 0.2);
  color: var(--navy);
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
