/* ================================
   Geaux Travels - Main Stylesheet
   File path: public/CSS/styles.css
   ================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #e6dfd2;
  color: #243447;
  line-height: 1.6;
}

/* ================================
   Header / Navigation / Sticky Nav
   ================================ */

header {
  color: #ffffff;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid #d89c3a;
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  gap: 20px;
  background: #12355b;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.brand a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

nav a:hover {
  color: #f2c078;
  border-bottom: 2px solid #f2c078;
}
/* =========================
   MOBILE NAVIGATION
   ========================= */

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand a {
    font-size: 1.25rem;
  }

  nav {
    justify-content: center;
    gap: 10px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 4px 6px;
  }
}
/* ================================
   Hero Section
   ================================ */

.hero {
  min-height: 420px;
  background:
    linear-gradient(rgba(18, 53, 91, 0.76), rgba(18, 53, 91, 0.72)),
    url("/MEDIA/overlook.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
}

.hero-inner {
  max-width: 800px;
}

.site-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
}

.tagline {
  font-size: 1.35rem;
  margin-bottom: 28px;
  color: #f7f3ec;
}

/* ================================
   Buttons
   ================================ */

.cta-btn {
  display: inline-block;
  background: #d89c3a;
  color: #12355b;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.cta-btn:hover {
  background: #f2c078;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
}

/* ================================
   Main Layout
   ================================ */

main {
  width: 100%;
}

section {
  padding: 60px 8%;
}

section h2 {
  color: #12355b;
  font-size: 2rem;
  margin-bottom: 22px;
  text-align: center;
}

/* ================================
   Featured Cards
   ================================ */

.featured {
  background: #e8d9cf;
}

.cards {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #efe3da;
  border: 1px solid #c9b2a1;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin-bottom: 18px;
  object-fit: cover;
}

.card-details {
  display: none;
  margin-top: 18px;
  border-top: 1px solid #d7c6b4;
  padding-top: 18px;
}

.card.expanded {
  grid-column: 1 / -1;
}

.card.expanded .card-details {
  display: block;
}

.card-detail-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 18px 0;
  object-fit: cover;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(18, 53, 91, 0.15);
}

.card-title {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.card-title a {
  color: #12355b;
  text-decoration: none;
}

.card-title a:hover {
  color: #b7791f;
}

.card-excerpt {
  color: #4b5c6b;
  margin-bottom: 18px;
}

.read-more {
  color: #b7791f;
  text-decoration: none;
  font-weight: 700;
}

.read-more:hover {
  color: #12355b;
}

/* ================================
   About Section
   ================================ */

.about {
  background: #f7f3ec;
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  font-size: 1.08rem;
  margin-bottom: 16px;
  color: #3c4b59;
}

/* ================================
   Bottom CTA
   ================================ */

.cta-bottom {
  background: linear-gradient(135deg, #12355b, #1f5f8b);
  color: #ffffff;
  text-align: center;
}

.cta-bottom h2 {
  color: #ffffff;
}

.cta-bottom p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #f7f3ec;
  font-size: 1.08rem;
}

/* ================================
   Footer
   ================================ */

footer {
  background: #0b243f;
  color: #f7f3ec;
  text-align: center;
  padding: 22px 8%;
  font-size: 0.95rem;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 14px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  section {
    padding: 45px 6%;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero {
    min-height: 360px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .card {
    padding: 22px;
  }
}