:root {
  --bg-img: url('../imgs/dwatination.jpg');
  --header-h: 72px;
  --text: #111; /* default body text color */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

.container {
  width: min(1100px, 90%);
  margin-inline: auto;
}

/* =========================
   HEADER (fixed over hero)
   ========================= */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  background: transparent; 
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.brand img{
  height: 100px;
  width: 150px;
}

.menu {
  display: flex;
  gap: 34px;
}

.menu a {
  color: #fff;              /* override for contrast on hero */
  text-decoration: none;
  font-weight: 500;
  opacity: .95;
}

.menu a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
}

/* =========================
   HERO SECTION
   ========================= */
.hero_banner {
  padding-top: calc(50px + var(--header-h)); /* push content below fixed header */
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.75)), var(--bg-img);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;                 /* center content nicely */
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero_text {
  flex: 1;
  max-width: 50%;
}

/* ===== HERO OVERLAY TEXT UPGRADE ===== */
.hero_text {
  max-width: clamp(520px, 55vw, 780px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  margin-top: -10rem;
}

.hero_text h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.2px;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,0.45);

}

.hero_text h1 span {
  background: linear-gradient(90deg, #FF803C 0%, #FFD37A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;                /* makes the gradient visible */
  position: relative;
}
.hero_text h1 span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.2em;
  height: 0.38em;
  background: linear-gradient(90deg, #FF803C26, #FFD37A26);
  border-radius: 8px;
  filter: blur(0.5px);
}

.hero_text p {
  margin-top: clamp(10px, 1.2vw, 14px);
  font-size: clamp(0.98rem, 1.1vw, 1.15rem);
  color: #f3f3f3;
  opacity: 0.96;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
  max-width: 60ch;
}

/* Optional CTA buttons (use in HTML if needed)
<div class="hero_actions">
  <button class="btn btn-primary">Explore</button>
  <button class="btn btn-ghost">Contact</button>
</div>
*/
.hero_actions {
  display: flex;
  gap: 12px;
  margin-top: clamp(16px, 2vw, 22px);
  flex-wrap: wrap;
}
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(90deg, #FF803C, #FFB36A);
  color: #1b1b1b;
  box-shadow: 0 8px 20px rgba(255,128,60,0.35);
}
.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(255,128,60,0.45);
}
.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 900px) {

   .menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 18px;
    background: rgba(0, 0, 0, 0.95);
    padding: 16px;
    border-radius: 8px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
    padding: 8px 12px;
    text-decoration: none;
  }

  .menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
  }
  .hero_banner {
    /* center content in the viewport */
    min-height: 100svh;                 /* account for mobile UI bars */
    padding-top: var(--header-h);       /* avoid double top padding */
    align-items: center;
    justify-content: center;
  }

  .hero_text {
    max-width: 92%;
    margin: 0 auto;                     /* center horizontally */
    padding: 0 12px;
    margin-top: 0 !important;           /* kill the -10rem */
    align-items: center;                 /* center inner content */
    text-align: center;
  }

  .hero_text h1 {
    font-size: clamp(1.6rem, 6.2vw, 2.2rem);  /* friendlier on phones */
  }

  .hero_text p {
    max-width: 36ch;                    /* keep lines readable */
  }

  /* Option A: hide hero images on phones */
  .hero_images { display: none; }

  /* Option B (if you want images visible): shrink and push below text
  .hero_images {
    width: 100%;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }
  .hero_images img { width: 42%; height: auto; transform: none !important; }
  */
}
.hero_images {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.hero_images img {
  width: 45%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.hero_images img:first-child {
  transform: translateY(43%);
  height: 350px;
}
.hero_images img:last-child {
  height: 500px;
  width: 200px;
}

/* =========================
   POPULAR SECTION
   ========================= */
.popular {
  padding: 60px 80px;
  font-family: "Raleway", sans-serif;
  background-color: #fff;
  width: 100%;
}

.popular h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0c0c4d;
  margin-bottom: 30px;
}

.popular_grid {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  grid-auto-rows: 200px;
  gap: 20px;
  margin-bottom: 80px;
}

.card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 15px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }

.card.large { grid-row: span 2; }

/* Why choose Tourz */
.why_tourz { width: 100%; margin: 0 auto; }

.why_tourz h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0c0c4d;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 50px;
}

.feature { text-align: center; }

.feature .icon { margin-bottom: 15px; }

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f3f3f3;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1000px) {
  .popular_grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .popular { padding: 40px 20px; }
  .popular_grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; text-align: left; }
}

/* =========================
   FEATURED TRIPS GRID
   ========================= */
.featured { background: #fff; padding: 57px 25px; }

.features__container { max-width: 100%; margin: 0 auto; }

.features__title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 24px 0;
  color: black;
  font-weight: 800;
}

.features__grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(4, minmax(1, 2fr));
}

@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* Container / background */
.features {
  background: linear-gradient(to right, #CD1A40, #FF803C);
  padding: 48px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #fff;
}

.features__inner { max-width: 94%; margin: 0 auto; }

.features__title {
  margin: 0 0 20px 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: #0c0c4d;
}

.features__grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* Card */
.trip-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(20,20,30,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.trip-card:focus-within,
.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20,20,30,0.10);
}

/* Media */
.trip-card__media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #eee;
}

.trip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel dots overlay */
.trip-card__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: inline-flex;
  gap: 50px;
  z-index: 2;
}

.trip-card__dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15) inset;
  opacity: 0.9;
}

.trip-card__dots span.active {
  width: 10px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg,#fff,#f3f3f3);
}

/* Body */
.trip-card__body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trip-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111;
}

.trip-card__location {
  margin: 0;
  font-size: 0.9rem;
  color: #6b6b6b;
}

/* Rating row */
.trip-card__rating {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 0.95rem;
}

.trip-card__rating .star {
  width: 16px;
  height: 16px;
  fill: #fdb136; /* yellow star color */
  flex-shrink: 0;
}

.trip-card__rating .score { font-weight: 700; }

.trip-card__rating .reviews {
  color: #8a8a8a;
  font-weight: 500;
}

/* =========================
   TRENDING DESTINATIONS
   ========================= */
.trending_destinations {
  max-width: 100%;
  width: 92%;
  margin: 0 auto;
  padding: 40px 0;
  font-family: "Raleway", sans-serif;
  background: linear-gradient(to right, #CD1A40, #FF803C);
}

.trending_destinations h1 {
  font-size: clamp(1.2rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: #fefdfd;
  margin-bottom: 25px;
  margin-left: 1rem;
  text-align: start;
}

/* Card container */
.trending_destinations .card_container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

/* Card base style */
.trending_destinations .card_container .card {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dark overlay effect (applied to all cards) */
.trending_destinations .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
  z-index: 1;
}

.trending_destinations .card:hover::before {
  background: rgba(0,0,0,0.5);
}

.trending_destinations .card h3,
.trending_destinations .card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.trending_destinations .card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: capitalize;
}

.trending_destinations .card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Hover animation */
.trending_destinations .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Example individual background images */
.trending_destinations .card.card_0 {
  background: url("../imgs/trend1.jpg") no-repeat center center/cover;
}
.trending_destinations .card.card_1 {
  background: url("../imgs/trend2.jpg") no-repeat center center/cover;
}
.trending_destinations .card.card_2 {
  background: url("../imgs/trend3.jpeg") no-repeat center center/cover;
}
.trending_destinations .card.card_3 {
  background: url("../imgs/trend4.jpg") no-repeat center center/cover;
}

/* =========================
   CONTACT
   ========================= */
.contact {
  background: #fff;
  color: #222;
  padding: clamp(3rem, 6vw, 6rem) 0;
  text-align: center;
  margin-top: -5rem;
}

.contact-head .section-eyebrow {
  font-weight: 400;
  color: #a77d3c;
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
}

.contact-head .section-title {
  margin: 6px 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-head .section-subtitle {
  max-width: 650px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.contact-card {
  background: #fff;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
}

.contact-card .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #e94242;
}

.contact-card p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #444;
}
.site-footer {
  position: relative;
  background: url('../imgs/footer-bg.jpeg') center/cover no-repeat;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer .footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* makes the image darker */
}

.site-footer .footer-content {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #f5c146; /* golden highlight */
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
/* =========================
   RESPONSIVE NAV/HERO
   ========================= */
@media (max-width: 900px) {
  .menu { display: none; }
  .menu-toggle { display: block; }
  .hero { background-attachment: scroll; }
  .destinations-grid { grid-template-columns: 1fr; }
  .card-lg { aspect-ratio: 16 / 10; }
  .site-footer { font-size: 0.9rem; }
   .brand img{
    height: 60px;
    width: 100px;
  }
}

@media (max-width: 520px) {
  .subtitle { max-width: 100%; }
  .thumbs { gap: 12px; }
}
