
/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-padding: 100px;

  }


  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }

}

.navbar-link:is(:hover, :focus) {
  color: #95E4EE;
}

.btn:is(:hover, :focus) {
  color: #000;
}

.footer-bottom-link:is(:hover, :focus),
.contact-link:is(:hover, :focus),
.copyright a:is(:hover, :focus) {
  color: #000;
}

.social-link:is(:hover, :focus) {
  color: #000;
}

a:hover {
  color: #000;
}

html {
  scroll-behavior: smooth;
}

/* ================= GLOBAL ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ================= DESTINATION BACKGROUND ================= */

/* Wrapper holding scrolling background */
.destination-bg {
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Destination-specific backgrounds */
.destination-page.himachal .destination-bg {
  background-image: url("../images/himachal/himachal 2.avif");
}

/* Add more later */

.destination-page.Rajasthan .destination-bg {
  background-image: url("../images/rajasthan/Rajasthan_main.jpeg");
}

.destination-page.meghalaya .destination-bg {
  background-image: url("../images/Meghalaya_main.jpg");
}


/* ================= CONTAINER ================= */

/*.container {
  max-width: 2000px;
  margin: auto;
  padding: 0 20px;
}*/

.container {
  max-width: 1180px;   /* PERFECT for cards */
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HERO SECTION ================= */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Hero background per destination */
.destination-page.himachal .hero {
  background: url("../images/himachal 2.avif") center / cover no-repeat;
}

/* Dark cinematic overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
}

/* Content positioning */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-left: 0px;
}

/* MAIN HEADING */
.hero-content h1 {
  font-size: 88px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 18px;
}

/* SUB TEXT */
.hero-content p {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* EXPLORE BUTTON */
.hero-content .btn-primary {
  display: inline-block;
  background: #2f7f7c;
  color: #fff;
  padding: 14px 34px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-content .btn-primary:hover {
  background: #256866;
  transform: translateY(-2px);
}

/* ================= BUTTONS ================= */

.btn {
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary,
.btn-secondary {
  background: #2f7f7c;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
}

/* Milky layer */
.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.78);
}

/* ================= FEATURES ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fa;
}

/* ==============================
   DESTINATION SLIDER SECTION
   ============================== */
.destination-slider {
    position: relative;
    padding: 100px 0;
    overflow: hidden;

    /* Background image */
    background: url("images/bg-travel.jpg") center/cover no-repeat;
}

/* BLURRED BACKGROUND IMAGE */
.destination-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(50px);
    transform: scale(1.1); /* prevents blur edges */
    z-index: 0;
}

/* MILKY WHITE OVERLAY */
.destination-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

/* KEEP CONTENT ABOVE BACKGROUND */
.destination-slider > * {
    position: relative;
    z-index: 2;
}

/* ==============================
   TITLE
   ============================== */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
}

/* ==============================
   SLIDER
   ============================== */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Slide track */
.slide-track {
    display: flex;
    width: calc(300px * 8);
    animation: scroll 50s linear infinite;
}

/* Each slide */
.slide {
    width: 500px;
    margin: 10px 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.1s;
}

.slide:hover {
    transform: translateY(-10px);
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slide h3 {
    padding: 15px;
    font-size: 18px;
    color: #333;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slide {
        width: 50px;
    }
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;

    /* SMOOTH EDGE FADE */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 50%,
        black 80%,
        black 80%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 5%,
        black 20%,
        black 80%,
        transparent 88%
    );
    
}

/* ================= INFO SECTION ================= */
.info-section {
  position: relative;
  padding: 90px 20px;
  width: 100%;
}

/* Milky overlay */
.info-section::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: rgba(255,255,255,0.8); 
  z-index: 0; 
}

/* Each section container */
.container.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Reverse for alternate sections */
.container.info-item.reverse {
  flex-direction: row-reverse;
}

/* Image styling */
.info-image {
  flex: 1;
  max-width: 50%;
}

.info-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Text styling */
.info-text {
  flex: 1;
  max-width: 50%;
}

.info-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.info-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #555;
}

.info-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

/* Responsive: stack vertically */
@media (max-width: 768px) {
  .container.info-item,
  .container.info-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .info-image, .info-text {
    max-width: 100%;
  }

  .info-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}


/* ================= LOCATION SECTION ================= */

.locations {
  position: relative;                /* REQUIRED */
  width: 100%;
  padding: 90px 0;
  overflow: hidden;

  background: url("../images/bg-travel.jpg") center / cover no-repeat;
}

/* MILKY GLASS OVERLAY */
.locations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}

/* CONTENT ABOVE MILK */
.locations .container {
  position: relative;
  z-index: 2;
}

/* ================= HEADING ================= */
.locations h2 {
  font-size: 34px;
  margin-bottom: 50px;
  text-align: center;
}

.locations h2 span {
  color: #2f80ed;
}

/* ================= LOCATION GRID ================= */

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* ================= CARD ================= */

.location-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.14);
}

/* ================= IMAGE ================= */

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* IMAGE OVERLAY */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.25)
  );
}

/* ================= BODY ================= */

.card-body {
  padding: 2px 2px 1px;
}

.card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #136F7C;
  line-height: 1.4;
  margin-bottom: 6px;
}

.card-location {
  font-size: 20px;
  color: #6b7280;
}

/* ================= FOOTER ================= */

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 16px;
  background: white;
  color: black;
}

/* RATING */
.rating {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating::before {
  content: "★";
  color: #facc15;
}

.rating span {
  font-size: 12px;
  opacity: 0.85;
}

/* PRICE */
.card-footer .price {
  font-size: 40px;
  font-weight: 600;
  color: black;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .locations {
    padding: 60px 0;
  }

  .location-grid {
    gap: 20px;
  }

  .card-image {
    height: 190px;
  }
}



/* ================= PAGE BREAKER ================= */

.page-breaker {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Soft white wash */
.page-breaker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
}

.page-breaker p {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 28px;
  letter-spacing: 1px;
}

/* ================= FOOTER ================= */

.footer {
  background: #2f7f7c;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
}

/* =========================
   MOBILE VIEW FIXES
   ========================= */
@media (max-width: 768px) {

  /* GLOBAL */
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  /* ================= HERO ================= */

  .hero {
    height: 90vh;
    padding: 0 16px;
  }

  .hero-content {
    max-width: 100%;
    padding-left: 0;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 42px;
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-content .btn-primary {
    padding: 12px 24px;
    font-size: 16px;
  }

  /* ================= DESTINATION SLIDER ================= */

  .destination-slider {
    padding: 100px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .slide-track {
    width: max-content;
    animation-duration: 35s;
  }

  .slide {
    width: 200px;
    margin: 10px;
  }

  .slide img {
    height: 160px;
  }

  .slide h3 {
    font-size: 15px;
    padding: 12px;
  }

  /* ================= INFO SECTION ================= */

  .info-section {
    padding: 60px 0;
  }

  .info-section .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-text h2 {
    font-size: 26px;
    margin: 0 0 12px;
  }

  .info-text p {
    margin: 0;
    font-size: 15px;
  }

  .info-image {
    text-align: center;
  }

  .info-image img {
    width: 100%;
    max-width: 320px;
  }

  /* ================= LOCATIONS ================= */

  .locations {
    padding: 60px 0;
  }

  .locations h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card-image {
    height: 180px;
  }

  .card-body h3 {
    font-size: 15px;
  }

  .price {
    font-size: 14px;
  }

  /* ================= PAGE BREAKER ================= */

  .page-breaker {
    height: 220px;
    padding: 0 16px;
  }

  .page-breaker p {
    font-size: 18px;
    text-align: center;
  }

  /* ================= FOOTER ================= */

  .footer {
    padding: 24px 12px;
    font-size: 13px;
  }
}

.locations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55); /* milky effect */
  z-index: 0;
}