/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f8ff;
  color: #1f2d3d;
  line-height: 1.6;
}

/* =========================
   NAVBAR STYLING
========================= */
/* =========================
   NAVBAR STYLING (FIXED)
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0f4c81, #1e90ff);
  padding: 10px 20px;          /* smaller padding */
  color: white;
  position: relative;
  min-height: 64px;            /* lock height */
}

/* Left side logo + title */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LOGO FIX */
.nav-logo {
  height: 44px;                /* fixed height */
  width: auto;                 /* keep aspect ratio */
  object-fit: contain;
  display: block;
}

/* Title */
.navbar h1 {
  font-size: 1.6rem;           /* slightly reduced */
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.nav-links li a:hover {
  text-decoration: underline;
}



/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem; /* bigger for mobile visibility */
  cursor: pointer;
}

/* =========================
   HERO SECTION (HOME)
========================= */
.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(15, 76, 129, 0.85), rgba(15, 76, 129, 0.85));
  color: white;
  display: flex;
  flex-direction: column;
}

.hero-content {
  text-align: center;
  padding: 40px 20px;
  margin: auto;
}

.hero-content h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero-content p {
  max-width: 650px;
  margin: 0 auto 25px;
  font-size: 1.05rem;
}

/* ===== MAIN CONTENT + COUNTDOWN ===== */
.content-highlight {
  padding: 30px 16px;
  background: linear-gradient(135deg, #e0f0ff, #f4f8ff);
}

.content-card {
  margin-bottom: 18px;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
    gap: 0;
}

/* LEFT: Content Card */
.content-card {
  flex: 1 1 500px;
  background: white;
  padding: 35px 30px;
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
  animation: fadeInUp 1.2s ease forwards;
}

.content-card h3 {
  color: #0f4c81;
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
}

.content-card h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #1e90ff;
  margin: 10px 0 0 0;
  border-radius: 3px;
}

.content-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1f2d3d;
  margin-top: 20px;
}

.content-card .highlight {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #0f4c81;
}

/* RIGHT: Countdown Card */
.countdown-card {
  flex: 1 1 300px;
  background: #0f4c81;
  color: white;
    padding: 32px 22px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.countdown-card h3 {
  font-size: 1.5rem;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

#countdown {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.time-box {
  flex: 1;
  background: rgba(255,255,255,0.1);
  padding: 15px 10px;
  border-radius: 10px;
  min-height: 72px;
}

.time-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.time-box p {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* fallback spacing */
.content-card + .countdown-card {
  margin-top: 20px;
}

/* ===== FADE IN ANIMATION ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  background: white;
  color: #0f4c81;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #eaf3ff;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* =========================
   HOTEL CARDS — UPGRADED
========================= */

/* make new hotel cards work inside grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 16px;
}

.hotel-pro-card {
  background: #f7f9fc;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hotel-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-distance {
  background: #3b82f6;
  color: white;
}

.badge-type {
  background: #e5e7eb;
  color: #374151;
}

.hotel-address {
  color: #6b7280;
  font-size: 0.95rem;
}

.hotel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.price {
  color: #3b82f6;
  font-weight: 800;
}

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel-tags span {
  background: #d1fae5;
  color: #065f46;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.map-btn {
  margin-top: 10px;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, #3b82f6, #caf0f8);
}

/* =========================
   CONTENT HEADER — CENTERED
========================= */

.content {
  max-width: 1200px;      /* center page */
  margin: 0 auto;
  padding: 40px 24px;     /* edge breathing room */
}

.content h2 {
  font-size: 2rem;
  color: #0f4c81;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: .3px;
}

/* blue theme underline */
.content h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  border-radius: 4px;
  margin-top: 10px;
}

/* subtitle text */
.content > p {
  color: #6b7280;
  font-size: 1.05rem;
  margin-top: 10px;
  margin-bottom: 28px;
  max-width: 640px;
}


/* =========================
   PROGRAM PAGE
========================= */

.program-card {
  background: #f0f6ff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.table-wrap {
  overflow-x: auto;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.program-table thead th {
  text-align: left;
  padding: 14px;
  background: linear-gradient(90deg, #0f4c81, #3b82f6);
  color: white;
  font-size: 0.95rem;
}

.program-table tbody td {
  padding: 14px;
  border-bottom: 1px solid #dbeafe;
  font-size: 0.95rem;
}

/* row hover */
.program-table tbody tr:hover {
  background: #eaf2ff;
}

.day-badge {
  background: #1e3a8a;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* =========================
   DAY FILTER BUTTONS
========================= */

.day-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.filter-btn {
  background: #eaf3ff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: #0f4c81;
  transition: all .2s ease;
}

.filter-btn:hover {
  background: #cfe3ff;
}

.filter-btn.active {
  background: linear-gradient(90deg, #3b82f6, #caf0f8);
  color: white;
}


/* =========================
   REGION REGISTRATION CARDS
========================= */

.region-card {
  background: #f0f6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.region-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.12);
}

.region-card h3 {
  color: #0f4c81;
  font-size: 1.25rem;
}

.region-admin {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 0.95rem;
}

.region-card .btn {
  margin-top: auto;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: #0f4c81;
  color: white;
  padding: 25px 20px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   HERO BACKGROUND CAROUSEL
========================= */
.hero-carousel {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.carousel-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-img.active {
  opacity: 1;
}

/* Dark overlay for text readability */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.65);
  z-index: 2;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 4;
  border-radius: 6px;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #1e90ff;
  color: #1e90ff;
}

.btn-outline:hover {
  background: #eaf3ff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .content-card, .countdown-card {
    flex: 1 1 100%;
    margin-left: 6px;
    margin-right: 6px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 60vh;
  }

  .hero-content h2 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none; /* Hidden by default */
    background: linear-gradient(90deg, #0f4c81, #1e90ff);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    z-index: 5;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-links li a.btn {
    padding: 8px 14px;
  }

  @media (max-width: 768px) {
  .nav-logo {
    height: 34px;
  }

  .navbar h1 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {

  .content h2 {
    font-size: 1.5rem;
  }

  .content > p {
    font-size: 0.95rem;
  }

}

.content-wrapper {
  gap: 40px; /* ensures space between cards */
}
}
