/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* =========================
   BODY (ALL PAGES)
========================= */
body {
  background: linear-gradient(to bottom, #87ceeb, #ffffff);
  min-height: 100vh;
  color: #111;
}

/* =========================
   NAVBAR (ALL PAGES)
========================= */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 1000;
}

.menu-btn {
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   BUTTON (ALL PAGES)
========================= */
.join-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.join-btn:hover {
  transform: scale(1.05);
}

/* =========================
   SIDEBAR (ALL PAGES)
========================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding-top: 80px;
  transition: 0.3s ease;
  z-index: 1500;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
}

.sidebar a:hover {
  background: #0072ff;
}

/* =========================
   PAGE HEADERS (ALL PAGES)
========================= */
.page-header {
  text-align: center;
  padding: 120px 20px 40px;
}

.page-header h1 {
  font-size: 45px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.7;
}

/* =========================
   HOME PAGE HERO
========================= */
.hero {
  height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* =========================
   DESTINATIONS GRID (SQUARE CARDS)
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* SQUARE CARD */
.card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* makes it square */
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: 0.3s ease;
  cursor: pointer;
}

/* HOVER EFFECT */
.card:hover {
  transform: scale(1.05);
}

/* TEXT OVERLAY */
.card h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.55);
  font-size: 14px;
}

body {
  min-height: 100vh;
  color: #111;

  /* FIXED SLIDESHOW BACKGROUND */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-image 1s ease-in-out;
}

/* MOBILE */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px;
  }
}

/* =========================
   REAL SEARCH BAR STYLE
========================= */
.search-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 150px;
  gap: 10px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* INPUT BOXES */
.search-box {
  display: flex;
  flex-direction: column;
}

.search-box label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.search-box input,
.search-box select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

/* SEARCH BUTTON */
.search-btn {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.search-btn:hover {
  transform: scale(1.05);
}
/* =========================


.box {
    width: 300px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    min-height: 220px;
}

/* SIMPLE FOOTER */
.footer {
    background: #f5f5f5;
    padding: 30px 20px;
    text-align: center;
    margin-top: 0;
    border-top: 1px solid #ddd;
}

/* REMOVE BIG FOOTER LAYOUT */
.footer-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.column h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.column p {
    font-size: 14px;
    margin: 6px 0;
}

/* HIDE SUBSCRIBE SECTION */
.subscribe {
    display: none;
}

/* BOTTOM FOOTER TEXT */
.footer-bottom {
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    display: inline-block;
    margin: 0 12px;
}

/* NAVBAR */
.top-nav {
    background: #0f4c5c; /* dark teal */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.top-nav h2 {
    color: white;
    font-size: 22px;
    margin: 0;
}

.menu-btn {
    font-size: 32px;
    color: white;
    cursor: pointer;
}

.join-btn {
    background: #1e90ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

/* FOOTER */
.footer {
    background: #0f4c5c; /* dark teal */
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

.footer-bottom {
    font-size: 14px;
}

.footer-bottom p {
    display: inline-block;
    margin: 0 15px;
    color: white;
}
/* HIDE CHECKBOX */
#menu-toggle {
  display: none;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: rgba(0,0,0,0.9);
  padding-top: 80px;
  transition: 0.3s ease;
  z-index: 1500;
}

/* OPEN MENU */
#menu-toggle:checked ~ .sidebar {
  left: 0;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1400;
}

/* SHOW OVERLAY WHEN OPEN */
#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: all;
}

/* HAMBURGER */
.menu-btn {
  font-size: 32px;
  cursor: pointer;
  color: white;
}


/* =========================
   CONTACT PAGE
========================= */
.contact-form {
  max-width: 600px;
  margin: 120px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.contact-form button {
  padding: 12px;
  background: #0072ff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/* =========================
   FOOTER (ALL PAGES)
========================= */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 14px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .cards,
  .gallery {
    padding: 20px;
  }
}


/* =========================
   HERO SECTION (IMAGE BACKGROUND)
========================= */
.hero {
  height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* HERO IMAGE */
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e") center/cover no-repeat;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* HERO TEXT */
.hero-content {
  position: relative;
  color: white;
  z-index: 2;
  width: 100%;
}

.hero-content h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

/* =========================
   FLOATING SEARCH BAR (NEW STYLE)
========================= */
.search-bar.floating {
  display: flex;
  gap: 12px;
  background: white;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  max-width: 1000px;
  margin: 0 auto;

  /* FLOAT EFFECT */
  transform: translateY(20px);
}

/* FIELD FIX (better spacing) */
.search-bar.floating .field {
  min-width: 140px;
}

/* BUTTON MATCHING DESIGN SYSTEM */
.search-bar.floating button {
  background: linear-gradient(45deg, #ff6b00, #ff8800);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.search-bar.floating button:hover {
  transform: scale(1.05);
}

/* =========================
   RESPONSIVE FIX
========================= */
@media (max-width: 900px) {
  .search-bar.floating {
    flex-direction: column;
    width: 90%;
    transform: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* =========================
   POPUP BOX
========================= */

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: white;
  color: black;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  z-index: 3000;
  text-align: center;
}

.popup h2 {
  margin-bottom: 15px;
}

.popup button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background: #0072ff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.popup button:hover {
  background: #0056cc;
}

.overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
}

/* ===== LOGIN PAGE STYLES ===== */

body.login-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login box */
.login-box {
    background: white;
    padding: 30px;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Inputs */
.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

/* Button */
.login-box button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background: #0056b3;
}

/* Message */
#msg {
    margin-top: 10px;
    font-size: 14px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #efefef;
}

/* Navbar */
.navbar {
    background-color: #2f6f73;
    height: 60px;
    position: fixed;   /* stays at top */
    top: 0;
    width: 100%;
    color: white;
}

/* Menu icon */
.menu {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 26px;
}

/* Logo centered */
.logo {
    text-align: center;
    line-height: 60px;
    font-weight: bold;
}

/* MAIN CENTERING FIX */
.main {
    height: 100vh;
    display: flex;
    justify-content: center;   /* horizontal */
    align-items: center;       /* vertical */
    flex-direction: column;
    padding-top: 60px; /* prevents overlap with navbar */
}

/* Title */
h2 {
    margin-bottom: 25px;
    color: #444;
    font-weight: bold;
}

/* Inputs */
.main input {
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #888;
}

/* Button */
.main button {
    width: 320px;
    padding: 12px;
    background-color: #4a4a4a;
    color: white;
    border: none;
    margin-top: 10px;
}

/* Footer text */
.footer-text {
    margin-top: 20px;
    font-size: 12px;
    color: #9a9a9a;
    width: 300px;
    text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  z-index: 1400;
}

.overlay.active {
  display: block;
}

/* your existing CSS above */


/* =========================
   HERO SLIDESHOW (ADD HERE)
========================= */

/* SLIDESHOW CONTAINER */
.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* EACH SLIDE */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 16s infinite;
}

/* IMAGE FIT */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TIMING */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }

/* FADE EFFECT */
@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* DARK OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* TEXT ON TOP */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}



/* =========================
   CENTER CONTACT PAGE
========================= */
body.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Fix form spacing */
.contact-form {
  margin: 0;
}
/* =========================
   ABOUT SECTION
========================= */
.about-section {
  text-align: center;
  padding: 30px 20px 30px;
  background: #f5f5f5;
}

/* SMALL TEXT ABOVE */
.about-section .small-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

/* TAGLINE */
.about-section .tagline {
  font-size: 15px;
  color: #777;
  margin-bottom: 15px;
}

/* MAIN TITLE */
.about-section h1 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #111;
}

/* DESCRIPTION TEXT */
.about-section .description {
  font-size: 12px;
  max-width: px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}

/* =========================
   FEATURE BOXES
========================= */
.feature-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 30px 15px;
  max-width: px;
  margin: 0 auto;
}

/* INDIVIDUAL BOX */
.box {
  background: white;
  padding: 18px;
  border-radius: 10px;
  min-height: px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.25s ease;
  font-size: 10px;
}

/* OPTIONAL HOVER EFFECT */
.box:hover {
  transform: translateY(-4px);
}

/* BOX TITLES */
.box h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

/* BOX TEXT */
.box p {
  font-size: 14px;
  color: #555;
}

/* =========================
   MOBILE (PORTRAIT FIX)
========================= */
@media (max-width: 768px) {

  .about-section {
    padding: 40px 15px;
  }

  .about-section h1 {
    font-size: 26px;
  }

  .about-section .description {
    font-size: 14px;
    padding: 0 5px;
  }

  .feature-boxes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .box {
    width: 100%;
    padding: 15px;
  }
}

