/* 
 * Lapin Taivas - Northern Lights & Mystical Scandi Theme
 * Custom CSS Variables and Base Styles
 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
  /* Primary Colors - Deep Blues & Teals */
  --color-primary-50: #eef9ff;
  --color-primary-100: #dcf3ff;
  --color-primary-200: #b2eaff;
  --color-primary-300: #6ddcff;
  --color-primary-400: #20cbff;
  --color-primary-500: #00b4f5;
  --color-primary-600: #0090d1;
  --color-primary-700: #0073a8;
  --color-primary-800: #00608b;
  --color-primary-900: #065073;

  /* Aurora Colors - Northern Lights Palette */
  --color-aurora-green: #00ff87;
  --color-aurora-teal: #00d4aa;
  --color-aurora-cyan: #00e5ff;
  --color-aurora-purple: #c471ed;
  --color-aurora-pink: #f64f59;
  --color-aurora-blue: #12c2e9;

  /* Dark Mode Base Colors - Significantly lightened for aesthetics */
  --color-dark-900: #202b3c;
  --color-dark-800: #2a374a;
  --color-dark-700: #344358;
  --color-dark-600: #3e4f66;
  --color-dark-500: #4a5c76;
  --color-dark-400: #576b86;
  --color-dark-300: #667c98;
  --color-dark-200: #7b91ad;
  --color-dark-100: #93a8c2;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;

  /* Gradients */
  --gradient-aurora: linear-gradient(135deg, #00ff87 0%, #00d4aa 25%, #00e5ff 50%, #c471ed 75%, #f64f59 100%);
  --gradient-aurora-subtle: linear-gradient(135deg, rgba(0, 255, 135, 0.2) 0%, rgba(0, 212, 170, 0.2) 50%, rgba(196, 113, 237, 0.2) 100%);
  --gradient-dark: linear-gradient(180deg, #2a374a 0%, #202b3c 100%);
  --gradient-card: linear-gradient(180deg, rgba(42, 55, 74, 0.9) 0%, rgba(32, 43, 60, 0.95) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: blur(20px);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;

  /* 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;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow-green: 0 0 30px rgba(0, 255, 135, 0.3);
  --shadow-glow-purple: 0 0 30px rgba(196, 113, 237, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3);

  /* Semantic Variables (Light Mode Defaults) */
  --color-bg-main: #ffffff;
  --color-bg-surface: #f8fafc;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-bg-strong: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  --navbar-bg: rgba(255, 255, 255, 0.9);
}

.dark {
  /* Semantic Variables (Dark Mode Overrides) */
  --color-bg-main: var(--color-dark-900);
  --color-bg-surface: var(--color-dark-800);
  --color-text-main: var(--color-gray-200);
  --color-text-muted: var(--color-gray-400);
  --color-border: rgba(255, 255, 255, 0.1);

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  --navbar-bg: rgba(32, 43, 60, 0.95);
}

/* ========================================
   Base Styles
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
}

/* Selection Styling */
::selection {
  background-color: var(--color-aurora-teal);
  color: var(--color-dark-900);
}

/* Focus Styling */
:focus-visible {
  outline: 2px solid var(--color-aurora-cyan);
  outline-offset: 2px;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Glassmorphism Cards
   ======================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}

.glass-card-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-aurora-green), var(--color-aurora-teal));
  color: var(--color-dark-900);
  box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 135, 0.5);
}

.btn-secondary {
  background: var(--glass-bg-strong);
  color: var(--color-text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.dark .btn-secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-aurora-cyan);
  border: 1px solid var(--color-aurora-cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ========================================
   Form Inputs
   ======================================== */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-white);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-aurora-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.form-input::placeholder {
  color: var(--color-gray-500);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-300);
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--color-aurora-teal);
}

/* ========================================
   Aurora Background Effects
   ======================================== */
.aurora-bg {
  position: relative;
  overflow: hidden;
}

.aurora-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  right: -50%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(0, 255, 135, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(196, 113, 237, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 50%);
  animation: aurora-shift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aurora-shift {

  0%,
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }

  25% {
    transform: translateX(5%) rotate(1deg);
    opacity: 0.8;
  }

  50% {
    transform: translateX(-5%) rotate(-1deg);
    opacity: 1;
  }

  75% {
    transform: translateX(3%) rotate(0.5deg);
    opacity: 0.9;
  }
}

/* ========================================
   Star Field Effect
   ======================================== */
.star-field {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.star-field::before,
.star-field::after,
.star-field span {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow:
    100px 200px white,
    300px 100px white,
    500px 300px white,
    700px 150px white,
    900px 400px white,
    200px 350px white,
    400px 250px white,
    600px 450px white,
    800px 50px white,
    150px 500px white;
  animation: twinkle 4s ease-in-out infinite;
}

.star-field::after {
  width: 1px;
  height: 1px;
  box-shadow:
    50px 100px white,
    250px 50px white,
    450px 350px white,
    650px 200px white,
    850px 450px white,
    100px 400px white,
    350px 150px white,
    550px 500px white,
    750px 100px white,
    950px 300px white;
  animation-delay: 1s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* ========================================
   Tour Card Component
   ======================================== */
.tour-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.tour-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--color-aurora-purple), var(--color-aurora-pink));
  color: white;
  border-radius: var(--radius-full);
}

.tour-card-wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tour-card-wishlist:hover,
.tour-card-wishlist.active {
  background: var(--color-aurora-pink);
  border-color: var(--color-aurora-pink);
  transform: scale(1.1);
}

.tour-card-content {
  padding: 1.5rem;
}

.tour-card-category {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-aurora-cyan);
  margin-bottom: 0.5rem;
}

.tour-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tour-card-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: 1rem;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.tour-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

.tour-card-price {
  margin-left: auto;
  text-align: right;
}

.tour-card-price-from {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.tour-card-price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-aurora-green);
}

.tour-card-price-original {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  text-decoration: line-through;
}

/* ========================================
   Rating Stars
   ======================================== */
.rating {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.rating-star {
  color: var(--color-aurora-green);
}

.rating-star.empty {
  color: var(--color-gray-600);
}

.rating-value {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-300);
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--navbar-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.navbar-logo-text span {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.navbar-link:hover {
  color: var(--color-white);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-aurora);
  transition: width var(--transition-normal);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(32, 43, 60, 0.3) 0%,
      rgba(32, 43, 60, 0.1) 50%,
      rgba(32, 43, 60, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========================================
   Section Styling
   ======================================== */
.section {
  position: relative;
  padding: 6rem 0;
}

.section-dark {
  background: var(--color-dark-800);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-aurora-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  background: var(--color-bg-surface);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--glass-bg-strong);
  color: var(--color-aurora-cyan);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-aurora-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--color-aurora-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-aurora-cyan);
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
  position: relative;
  padding: 4rem 0;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-aurora-subtle);
  animation: aurora-shift 15s ease-in-out infinite;
  opacity: 0.3;
}

.newsletter-content {
  position: relative;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

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

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

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

/* Grid Layouts */
.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

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

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

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

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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