/* Highway Hop - Main Stylesheet */

/* Font Face Declarations */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables - Sunset Asphalt / Daylight Pop Theme */
:root {
  /* Colors */
  --hhp-91-ivory: #faf9f6;
  --hhp-91-linen: #faf0e6;
  --hhp-91-amber: #f59e0b;
  --hhp-91-orange: #ea580c;
  --hhp-91-teal: #0d9488;
  --hhp-91-teal-dark: #0f766e;
  --hhp-91-gray-light: #f3f4f6;
  --hhp-91-gray-medium: #6b7280;
  --hhp-91-gray-dark: #374151;
  --hhp-91-black: #1f2937;
  
  /* Typography */
  --hhp-91-font-heading: 'Poppins', sans-serif;
  --hhp-91-font-body: 'Karla', sans-serif;
  
  /* Spacing */
  --hhp-91-space-xs: 0.5rem;
  --hhp-91-space-sm: 1rem;
  --hhp-91-space-md: 1.5rem;
  --hhp-91-space-lg: 2rem;
  --hhp-91-space-xl: 3rem;
  --hhp-91-space-2xl: 4rem;
  
  /* Border Radius */
  --hhp-91-radius-sm: 0.375rem;
  --hhp-91-radius-md: 0.5rem;
  --hhp-91-radius-lg: 0.75rem;
  --hhp-91-radius-xl: 1rem;
  --hhp-91-radius-full: 9999px;
  
  /* Shadows */
  --hhp-91-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --hhp-91-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --hhp-91-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --hhp-91-transition: all 0.3s ease;
  --hhp-91-transition-fast: all 0.15s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--hhp-91-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hhp-91-gray-dark);
  background-color: var(--hhp-91-ivory);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hhp-91-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hhp-91-black);
  margin-bottom: var(--hhp-91-space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

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

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--hhp-91-space-md);
}

a {
  color: var(--hhp-91-teal);
  text-decoration: none;
  transition: var(--hhp-91-transition-fast);
}

a:hover,
a:focus {
  color: var(--hhp-91-teal-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--hhp-91-amber);
  outline-offset: 2px;
  border-radius: var(--hhp-91-radius-sm);
}

/* Images */
img {
  max-width: 350px;
  height: auto;
  border-radius: var(--hhp-91-radius-md);
  box-shadow: var(--hhp-91-shadow-sm);
}

/* Layout Components */
.hhp-91-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--hhp-91-space-md);
}

.hhp-91-section {
  padding: var(--hhp-91-space-2xl) 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hhp-91-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.hhp-91-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hhp-91-gray-light);
  z-index: 1000;
  padding: var(--hhp-91-space-sm) 0;
}

.hhp-91-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hhp-91-logo {
  font-family: var(--hhp-91-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hhp-91-teal);
  text-decoration: none;
}

.hhp-91-nav-links {
  display: flex;
  list-style: none;
  gap: var(--hhp-91-space-lg);
}

.hhp-91-nav-links a {
  font-weight: 500;
  padding: var(--hhp-91-space-xs) var(--hhp-91-space-sm);
  border-radius: var(--hhp-91-radius-md);
  transition: var(--hhp-91-transition-fast);
}

.hhp-91-nav-links a:hover,
.hhp-91-nav-links a:focus {
  background-color: var(--hhp-91-gray-light);
  text-decoration: none;
}

/* Mobile Menu */
.hhp-91-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--hhp-91-teal);
  cursor: pointer;
  padding: var(--hhp-91-space-xs);
  border-radius: var(--hhp-91-radius-sm);
}

.hhp-91-menu-toggle:focus-visible {
  outline: 2px solid var(--hhp-91-amber);
  outline-offset: 2px;
}

/* Buttons */
.hhp-91-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hhp-91-space-xs);
  padding: var(--hhp-91-space-sm) var(--hhp-91-space-lg);
  font-family: var(--hhp-91-font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--hhp-91-radius-lg);
  transition: var(--hhp-91-transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.hhp-91-btn-primary {
  background: linear-gradient(135deg, var(--hhp-91-amber), var(--hhp-91-orange));
  color: white;
  box-shadow: var(--hhp-91-shadow-md);
}

.hhp-91-btn-primary:hover,
.hhp-91-btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--hhp-91-shadow-lg);
  color: white;
  text-decoration: none;
}

.hhp-91-btn-secondary {
  background-color: var(--hhp-91-teal);
  color: white;
  box-shadow: var(--hhp-91-shadow-md);
}

.hhp-91-btn-secondary:hover,
.hhp-91-btn-secondary:focus {
  background-color: var(--hhp-91-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--hhp-91-shadow-lg);
  color: white;
  text-decoration: none;
}

/* Chips */
.hhp-91-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--hhp-91-space-xs) var(--hhp-91-space-md);
  background-color: var(--hhp-91-gray-light);
  color: var(--hhp-91-gray-dark);
  border-radius: var(--hhp-91-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--hhp-91-transition-fast);
}

.hhp-91-chip:hover {
  background-color: var(--hhp-91-amber);
  color: white;
  transform: translateY(-1px);
}

.hhp-91-chip-amber {
  background-color: var(--hhp-91-amber);
  color: white;
}

.hhp-91-chip-teal {
  background-color: var(--hhp-91-teal);
  color: white;
}

.hhp-91-chip-orange {
  background-color: var(--hhp-91-orange);
  color: white;
}

/* Cards */
.hhp-91-card {
  background-color: white;
  border-radius: var(--hhp-91-radius-xl);
  padding: var(--hhp-91-space-lg);
  box-shadow: var(--hhp-91-shadow-md);
  transition: var(--hhp-91-transition);
}

.hhp-91-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hhp-91-shadow-lg);
}

/* Grid Layouts */
.hhp-91-grid {
  display: grid;
  gap: var(--hhp-91-space-lg);
}

.hhp-91-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hhp-91-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.hhp-91-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Flex Utilities */
.hhp-91-flex {
  display: flex;
}

.hhp-91-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhp-91-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hhp-91-flex-col {
  display: flex;
  flex-direction: column;
}

.hhp-91-gap-sm {
  gap: var(--hhp-91-space-sm);
}

.hhp-91-gap-md {
  gap: var(--hhp-91-space-md);
}

.hhp-91-gap-lg {
  gap: var(--hhp-91-space-lg);
}

/* Text Utilities */
.hhp-91-text-center {
  text-align: center;
}

.hhp-91-text-amber {
  color: var(--hhp-91-amber);
}

.hhp-91-text-teal {
  color: var(--hhp-91-teal);
}

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

/* Background Utilities */
.hhp-91-bg-light {
  background-color: var(--hhp-91-gray-light);
}

.hhp-91-bg-linen {
  background-color: var(--hhp-91-linen);
}

/* Footer */
.hhp-91-footer {
  background-color: var(--hhp-91-gray-dark);
  color: var(--hhp-91-gray-light);
  padding: var(--hhp-91-space-xl) 0 var(--hhp-91-space-lg);
  text-align: center;
}

.hhp-91-footer a {
  color: var(--hhp-91-amber);
}

.hhp-91-footer a:hover,
.hhp-91-footer a:focus {
  color: var(--hhp-91-orange);
}

/* Back to Top Button */
.hhp-91-back-to-top {
  position: fixed;
  bottom: var(--hhp-91-space-lg);
  right: var(--hhp-91-space-lg);
  background-color: var(--hhp-91-teal);
  color: white;
  border: none;
  border-radius: var(--hhp-91-radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--hhp-91-shadow-lg);
  transition: var(--hhp-91-transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.hhp-91-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.hhp-91-back-to-top:hover,
.hhp-91-back-to-top:focus {
  background-color: var(--hhp-91-teal-dark);
  transform: translateY(-2px);
}

.hhp-91-back-to-top:focus-visible {
  outline: 2px solid var(--hhp-91-amber);
  outline-offset: 2px;
}

/* Reveal Animation Base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hhp-91-nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hhp-91-ivory);
    flex-direction: column;
    padding: var(--hhp-91-space-lg);
    box-shadow: var(--hhp-91-shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--hhp-91-transition);
  }
  
  .hhp-91-nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hhp-91-menu-toggle {
    display: block;
  }
  
  .hhp-91-container {
    padding: 0 var(--hhp-91-space-sm);
  }
  
  .hhp-91-section {
    padding: var(--hhp-91-space-xl) 0;
  }
  
  .hhp-91-grid-2,
  .hhp-91-grid-3,
  .hhp-91-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hhp-91-container {
    padding: 0 var(--hhp-91-space-sm);
  }
  
  .hhp-91-btn {
    padding: var(--hhp-91-space-sm) var(--hhp-91-space-md);
    font-size: 0.875rem;
  }
  
  .hhp-91-back-to-top {
    bottom: var(--hhp-91-space-md);
    right: var(--hhp-91-space-md);
    width: 45px;
    height: 45px;
  }
}
