/* ==========================================================================
   TIGER ROAD RESCUE (TIGERROADRESCUE.shop) - LUXURY EMERGENCY RESCUE SYSTEM
   Theme: Obsidian Black & Tiger Amber Gold Automotive Glow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #07090D;
  --bg-surface: #0E121A;
  --bg-card: rgba(15, 20, 30, 0.8);
  --bg-card-hover: rgba(24, 32, 48, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* Tiger Amber & Gold Accents */
  --tiger-gold: #E5C158;
  --tiger-amber: #FF9F1C;
  --tiger-orange: #FF6B00;
  --gold-light: #FFF0BD;
  --gold-gradient: linear-gradient(135deg, #FFF0BD 0%, #E5C158 50%, #FF9F1C 100%);
  
  /* WhatsApp Brand Color */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.45);
  
  /* Typography */
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  /* Neutral Colors */
  --text-main: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #64748B;
  
  /* Borders & Shadows */
  --border-subtle: rgba(229, 193, 88, 0.15);
  --border-highlight: rgba(229, 193, 88, 0.4);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --shadow-lux: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 35px rgba(229, 193, 88, 0.2);
  --shadow-wa: 0 10px 30px rgba(37, 211, 102, 0.4);
  
  /* Layout Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-width: 1240px;
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.08) 0%, rgba(255, 107, 0, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle Animated Grid Background Pattern */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.subhead-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--tiger-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subhead-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* SIMPLE STICKY NAVBAR */
.simple-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.nav-wa-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* HERO SECTION - FULL 100VH CENTERING */
.hero-section {
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
  z-index: 2;
  box-sizing: border-box;
}

.hero-brand-header {
  margin-bottom: 1.2rem;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-domain {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tiger-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.brand-domain::before,
.brand-domain::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tiger-gold));
}
.brand-domain::after {
  background: linear-gradient(90deg, var(--tiger-gold), transparent);
}

/* RESPONSIVE HERO HEADER IMAGES */
.hero-image-wrapper {
  margin: 0.5rem 0 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-img-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.hero-img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}

.hero-img-link:hover .hero-img {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(229, 193, 88, 0.4);
}

/* Desktop Image (Wide format) */
.desktop-img {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 193, 88, 0.2);
}

/* Mobile Image (Square format) */
.mobile-img {
  display: none;
}

/* CENTERED WHATSAPP BUTTON UNDER IMAGE */
.hero-whatsapp-container {
  margin: 0.8rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 42px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 4px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 5;
}

.hero-wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.6), rgba(229, 193, 88, 0.3));
  z-index: -1;
  opacity: 0.7;
  animation: waPulseRing 2.2s infinite ease-out;
}

.hero-wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.65), 0 6px 20px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #28E06C 0%, #159C8C 100%);
}

.hero-wa-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.wa-btn-subtext {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.online-dot {
  width: 9px;
  height: 9px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: blinkFast 1.5s infinite alternate;
}

/* SECTION STYLING */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

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

/* GLASSMORPHISM CARD GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2.5rem;
}

.lux-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.lux-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tiger-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lux-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lux), var(--shadow-gold);
}

.lux-card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--tiger-gold);
  transition: all 0.3s ease;
}

.lux-card:hover .card-icon-box {
  background: var(--gold-gradient);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(229, 193, 88, 0.3);
}

.card-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.card-list {
  list-style: none;
  margin-bottom: 1.6rem;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.card-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.card-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tiger-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.card-wa-link:hover {
  color: var(--whatsapp-green);
  gap: 12px;
}

.card-wa-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* VALUE HIGHLIGHT CARDS */
.value-card-highlight {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.value-card-highlight:hover {
  border-color: var(--border-subtle);
  background: rgba(18, 24, 36, 0.95);
}

.val-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tiger-gold);
  line-height: 1;
}

.val-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.val-content p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* INTERACTIVE WHATSAPP CONSULTATION BUILDER */
.quote-builder-box {
  background: linear-gradient(145deg, rgba(15, 20, 30, 0.95), rgba(8, 11, 16, 0.98));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.2rem;
  box-shadow: var(--shadow-lux);
  position: relative;
  overflow: hidden;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-select {
  background: rgba(7, 9, 13, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-select:focus {
  border-color: var(--tiger-gold);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.2);
}

.form-select option {
  background-color: #0E121A;
  color: #F1F5F9;
}

.builder-action-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-wa);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.builder-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28E06C 0%, #159C8C 100%);
}

.builder-action-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* COVERAGE TOWNS & LOCATIONS */
.locations-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
}

.location-chip {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-body);
}

.location-chip.highlight {
  border-color: var(--border-subtle);
  color: var(--tiger-gold);
  background: rgba(229, 193, 88, 0.06);
}

/* FOOTER & DIRECT CONTACT */
.footer-section {
  background: #040609;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 900;
}

.footer-contact-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-btn-wa {
  background: var(--whatsapp-green);
  color: white;
}
.footer-btn-wa:hover {
  background: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.footer-btn-call {
  background: rgba(229, 193, 88, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--tiger-gold);
}
.footer-btn-call:hover {
  background: var(--tiger-gold);
  color: var(--bg-dark);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FLOATING QUICK WHATSAPP FAB BUTTON */
.floating-wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  cursor: pointer;
}

.floating-wa-fab:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.floating-wa-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ANIMATIONS */
@keyframes waPulseRing {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes blinkFast {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .hero-section {
    padding: 0 0.8rem;
    height: calc(100vh - 54px);
    height: calc(100dvh - 54px);
    min-height: calc(100vh - 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  .hero-image-wrapper {
    margin: 0 0 0.8rem 0;
  }
  .hero-whatsapp-container {
    margin: 0.4rem 0 0 0;
  }
  .desktop-img {
    display: none !important;
  }
  .mobile-img {
    display: block !important;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 193, 88, 0.25);
  }
  .hero-wa-btn {
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .quote-builder-box {
    padding: 2rem 1.25rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
