* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #202327;
  background: #f4f6f8;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 16px 0;
  z-index: 1000;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;

  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/* Nav links + hover underline */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;

}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #202327;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color .25s ease, background .25s ease;

}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: #EB2026;
  transition: transform .25s ease;
}

.nav-link:hover {
  color: #23278B;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Icons */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #202327;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
  color: #23278B;
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .36);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.hero-content h1 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: .4rem;
}

.hero-content p {
  opacity: .95;
  margin-bottom: 1.6rem;
}

/* Search box */
.search-box {
  display: flex;
  gap: 15px;
  padding: 30px;
  border-radius: 20px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* soft shadow */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.glass {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Input fields */
.input-group {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.input-group input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #777;
  pointer-events: none;
  transition: 0.2s ease all;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 0px;
  font-size: 0.9rem;
  padding: 0 5px;
  color: #111827;
  font-weight: 600;
}

/* Button */
#btnSearch {
  height: 50px;
  padding: 0 40px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  background: #EB2026;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(235, 32, 38, 0.4);
}

#btnSearch:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(235, 32, 38, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
    align-items: stretch;
  }

  .input-group {
    min-width: 100%;
  }

  #btnSearch {
    width: 100%;
  }
}


/* ---------- Destinations ---------- */
.destinations {
  padding: 4rem 5%;
  cursor: pointer;
}

.destinations h2 {
  font-family: Poppins, Inter, sans-serif;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #202327;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card h3 {
  padding: 1rem;
}

/* ---- Holiday Packages ---- */
.holiday-packages {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 20px;
}

.hp-head {
  text-align: center;
  margin-bottom: 18px;
}

.hp-head h2 {
  font-size: 1.9rem;
  color: #23278B;
  /* brand blue */
  letter-spacing: 0.2px;
}

.hp-head p {
  color: #4b5563;
  margin-top: 6px;
}

/* Grid */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1100px) {
  .hp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .hp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hp-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.hp-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  /* glass */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}




/* Smooth slide-up animation */
.hp-card, .card, .deal-card {
  opacity: 0;
  transform: translateY(40px);
}

.hp-card.show, .card.show, .deal-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.1s ease, transform 0.6s ease;
}


/* Image */
.hp-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.hp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.hp-card:hover .hp-img img {
  transform: scale(1.08);
}

/* Duration badge */
.hp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .3px;
}

/* Body */
.hp-body {
  padding: 14px 14px 16px;
}

.hp-body h3 {
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 6px;
}

.hp-body p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.35;
  min-height: 40px;
}

/* Meta row */
.hp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 12px;
}

.hp-price {
  color: #EB2026;
  /* brand red */
  font-weight: 700;
}

.hp-rating {
  color: #111827;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.85rem;
}

/* CTA */
.hp-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(90deg, #23278B, #EB2026);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity .15s ease;
}

.hp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 39, 139, .25);
}

/* ---------- Limited Deals ---------- */
.limited-deals {
  padding: 4rem 5%;
  text-align: center;
}

.limited-deals h2 {
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #23278B;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.deal-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.deal-card:hover {
  transform: translateY(-5px);
}

.deal-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.deal-content {
  padding: 1rem;
}

.deal-content h3 {
  font-size: 1.2rem;
  color: #111827;
}

.deal-content p {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 8px 0;
}

.countdown {
  font-weight: 700;
  color: #EB2026;
  margin: 6px 0;
  font-size: 1rem;
}

.deal-price {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: linear-gradient(90deg, #23278B, #EB2026);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(35,39,139,0.9), rgba(235,32,38,0.9));
  color: #fff;
  overflow: hidden;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
  position: relative;
  z-index: 2;
}

.footer-brand p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin: 4px 0;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-newsletter form {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.footer-newsletter button {
  background: #EB2026;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease;
}

.footer-newsletter button:hover {
  background: #ff4c51;
}


.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

/* Floating gradient animation */
.site-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255,255,255,0.08), transparent 50%);
  animation: floatBackground 15s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes floatBackground {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Responsive */
@media (max-width: 600px) {
  .footer-newsletter form {
    flex-direction: column;
  }
  .footer-newsletter button {
    width: 100%;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.preloader-logo {
  width: 120px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoZoom 1.2s ease forwards;
}

@keyframes logoZoom {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

body.loaded #preloader {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}


/* Header base */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0.8rem 1rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  padding: 0.5rem 0.8rem;
  font-weight: 500;
  color: #333;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}

/* Hamburger base style */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
 background: #202327;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile view */
@media (max-width: 768px) {
  .nav-capsule {
    position: relative;
  }

  /* Push nav links away on mobile */
  .main-nav {
    position: absolute;
    top: 70px;
    right: 10px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    min-width: 200px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
  }

  .main-nav.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* Links inside dropdown */
  .main-nav a {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 113, 194, 0.7);
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
  }
  .main-nav a:hover {
    background: rgba(0, 113, 194, 0.9);
  }

  /* Show hamburger button */
  .hamburger {
    display: flex;
    margin-left: auto; /* pushes it to right */
  }
}
