/* ============================================
   SUNSET CHARTER TOURS - DESIGN TOKENS
   CSS Custom Properties (Variables)
   ============================================ */

:root {
  /* Primary Colors */
  --color-sunset-orange: #FF6B35;
  --color-golden-hour: #F7931E;
  --color-deep-twilight: #1B4965;
  --color-sky-blue: #62B6CB;

  /* Supporting Colors */
  --color-white: #FFFFFF;
  --color-warm-cream: #FFF8F0;
  --color-soft-gray: #E8E8E8;
  --color-charcoal: #2C3E50;
  --color-success-green: #27AE60;
  --color-alert-red: #E74C3C;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;

  /* Font Sizes */
  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.5rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-size-button: 1.125rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 20px;

  /* Shadows */
  --shadow-sm: 0px 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0px 4px 12px rgba(255, 107, 53, 0.3);
  --shadow-lg: 0px 10px 40px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --max-width: 1400px;
  --nav-height: 80px;
}

/* Mobile Overrides */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.25rem;
    --nav-height: 64px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

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

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

h1 {
  font-size: var(--font-size-h1);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-large {
  font-size: 1.25rem;
}

.text-small {
  font-size: var(--font-size-small);
}

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

.text-orange {
  color: var(--color-sunset-orange);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* Skip link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-sunset-orange);
  color: var(--color-white);
  padding: 8px;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--color-sky-blue);
  outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Respect motion preferences */
@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;
  }
}
