/* Base Variables */
:root {
  --base-bg: #121212;
  --primary: #e0e0e0;
  --accent: #00bcd4;
  --card-bg: #1c1c1c;
  --popup-bg: #1c1c1c;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--base-bg);
  color: var(--primary);
  padding: 20px;
  overflow-x: hidden;
  background-image: url("./resources/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  color:whitesmoke;
  text-decoration: none;
  
}

/************************************************
HEADER
************************************************/
header {
  background: rgba(18, 18, 18, 0.95);
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 15px 0; /* Reduce padding for mobile */
  position: fixed;
  left: 0;
  right: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Reduce side padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px; /* Reduce gap */
  font-size: 2rem; /* Reduce font size */
  font-weight: 700;
  color: var(--accent);
}

.logo img {
  width: 35px; /* Slightly smaller */
  height: 35px;
}

.toll-free {
  padding: 8px 15px; /* Reduce padding */
  font-size: 2rem; /* Reduce font size */
  transition: background 0.4s ease, color 0.4s ease;
  color: #e0e0e0;
  border: 2px solid var(--accent);
  border-radius: 50px;
  white-space: nowrap; /* Prevent text wrapping */
}

.toll-free:hover {
  background: var(--accent);
  color: whitesmoke;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row; /* Keep in one line */
    justify-content: space-between;
    padding: 0 10px; /* Reduce padding */
  }

  .logo {
    font-size: 1.4rem; /* Smaller font */
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .toll-free {
    padding: 6px 12px; /* Adjust button padding */
    font-size: 1rem; /* Adjust font size */
  }
  .icon-row{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
  }
}


/************************************************
MAIN LAYOUT (GRID)
************************************************/
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
}

.card {
  background-color: var(--card-bg);
  padding: 40px;
  min-height: 200px;
  border-radius: 6px;
}

/************************************************
HERO (Reservation Desk)
************************************************/
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero ul {
  list-style: none;
  margin-top: 20px;
}

.hero li {
  margin: 12px 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero li svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/************************************************
WAIT TIME
************************************************/
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.wait-time {
  text-align: center;
}

.wait-time span {
  display: block;
  font-size: 1.2rem;
}

.wait-time strong {
  display: block;
  margin: 5px 0 15px;
  font-size: 1.4rem;
}

.waittime-action p {
  margin-bottom: 15px;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  margin: 20px auto;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  transition: background 0.4s ease, color 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.call-btn:hover {
  background: var(--accent);
  color: var(--base-bg);
}

.icon-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.icon-row img {
  border-radius: 6px;
  background-color: #ffffff ;
  width: 85px;
  height: 85px;
  object-fit: contain;
}

/************************************************
AIRLINES
************************************************/
.airlines h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.airlines-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.airline-item {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.airline-item:hover {
  transform: translateY(-3px);
}

.number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--base-bg);
}

/************************************************
ABOUT
************************************************/
.about h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.about hr {
  width: 80px;
  margin: 20px 0;
  border: 2px solid var(--accent);
}

/************************************************
SUPPORT
************************************************/
.support h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.support p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/************************************************
DISCLAIMER
************************************************/
.disclaimer p {
  font-size: 1rem;
  line-height: 1.5;
}

/************************************************
CTA (BOTTOM BAR)
************************************************/
.cta {
  background: var(--accent);
  text-align: center;
  padding: 10px 10px;
  color: #121212;
  font-weight: 700;
  position: sticky;
  border-radius: 20px;
  bottom: 0;
  z-index: 20001;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
}

/* .cta {
  background: var(--accent);
  text-align: center;
  padding: 15px;
  color: #121212;
  font-weight: 700;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20001;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  border-radius: 20px 20px 0 0; /* Prevents overflow issues 
} */

.cta h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.cta .contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.cta img {
  width: 35px;
  height: 35px;
}

.cta a {
  color: white; /* Better contrast */
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 480px) {
  .cta {
    padding: 12px;
  }
  
  .cta h3 {
    font-size: 1.4rem;
  }
  
  .cta .contact {
    font-size: 1.2rem;
    gap: 8px;
  }

  .cta img {
    width: 30px;
    height: 30px;
  }
}

/************************************************
FOOTER
************************************************/
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--primary);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

/************************************************
POPUP CSS
************************************************/
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  animation: overlayFadeIn 0.5s forwards;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--popup-bg);
  z-index: 2000;
  overflow: hidden;
  animation: popupIn 0.5s forwards;
}

@keyframes popupIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--accent);
  z-index: 200;
}

.popup-content {
  padding: 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90%;
}

.popup-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  /* font-weight: 600; */
  color: var(--primary);
}

.popup-phone-number {
  font-size: 2rem;
  border: 1px solid aqua;
  border-radius: 20px;
  padding: 10px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
  animation: pulsePhone 2s infinite;
}

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

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.popup-text {
  margin-bottom: 0.75rem;
  color: #555;
}

.first-popup-action-text,
.popup-action-text {
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  color: #ffffff;
  padding: 10px;
}

.popup-click-to-call {
  display: flex;
  margin: 10px;
  flex-direction: column;
  align-items: center;
}

.popup-call-circle {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin: 10px;
}

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

/* Hide popup on larger screens */
@media (min-width: 769px) {

  .popup,
  .popup-overlay {
    display: none;
  }
}