@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --bg-dark: #111827;
  --text-light: #f3f4f6;
  --text-gray: #9ca3af;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
}

.parallax-bg {
  position: fixed;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(4px);
  z-index: -1;
}

.animate-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.animate-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header Styles */
header {
  position: relative;
  padding: 10px;
  text-align: center;
  overflow: hidden;
}
/* 
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
} */

header > * {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
}



/* Hero Section */
.hero {
  padding: 1rem 2rem;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 9999px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

/* Wait Time Banner */
.wait-banner {
  background: #1f2937;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.services h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4rem;
}

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

.service-card {
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem 0;
}

/* Airlines Section */
.airlines {
  padding: 6rem 2rem;
  background: rgba(17, 24, 39, 0.8);
}

.airlines h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4rem;
}

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

.airline-card {
  background: rgba(31, 41, 55, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.airline-card:hover {
  transform: scale(1.05);
}

.airline-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 600;
}

/* About Section */
.about {
  padding: 6rem 2rem;
  position: relative;
  text-align: center;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05') center/cover;
  opacity: 0.2;
  z-index: -1;
}

.about-content {
  max-width: 64rem;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Info Section */
.info-duo {
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.info-block h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Sticky CTA */
.sticky-cta {
  position: sticky;
  bottom: 0;
  background: var(--primary);
  padding: 1rem;
  text-align: center;
  z-index: 50;
}

.sticky-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-dark);
  padding: 3rem 2rem;
  text-align: center;
}

footer a {
  color: var(--text-gray);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 1rem;
  color: var(--text-gray);
}

@media (max-width: 768px) {
  header h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
  }

  nav a {
    text-align: center;
  }
}

/* Animation for Call Button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.animate-pulse {
  animation: pulse 1.5s infinite;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}
/* Popup Overlay */

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Popup Container */

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #e51937; /* Accent color */
  z-index: 2100;
}

.popup-content {
  padding: 2rem;
  margin: 50px 0px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center; 
}

.popup-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  /* font-weight: 600; */
  color: #003a70; /* Primary color */
}

.popup-phone-number {
  display: flex; /* Use flexbox to align items in a single line */
  align-items: center; /* Vertically center the icon and text */
  gap: 8px; /* Add space between the icon and text */
  font-size: 1.6rem;
  font-weight: 600;
  color: #e51937; /* Accent color */
  border: 1px solid #e51937;
  border-radius: 12px;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 1rem;
  animation: pulsePhone 2s infinite;
}

@keyframes pulsePhone {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.popup-text,
.popup-action-text {
  margin: 0.75rem 0;
  color: #333; /* Neutral text color */
}

.popup-call-circle {
  margin: 1rem auto;
  width: 100px;
  height: 100px;
  background: #e51937; /* Accent color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.popup-call-circle:hover {
  transform: scale(1.1);
}

.popup-click-to-call {
  font-size: 2rem;
  font-weight: 600;
  /* color: white; */
}

/* Hide popup on larger screens */
@media (min-width: 769px) {
  .popup,
  .popup-overlay {
    display: none;
  }
}

/* Sticky CTA Section */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 2001; /* Higher than the popup's z-index */
}

.sticky-cta span {
  font-size: 26px;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999; /* Lower than the sticky CTA */
  animation: overlayFadeIn 0.5s forwards;
}

/* Popup Container */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 2000; /* Higher than the overlay but lower than the sticky CTA */
  overflow: hidden;
  animation: popupIn 0.5s forwards;
}
