* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f8fafc;
  color: #1e293b;
}

/* AUTH TOP */
.auth-top {
  text-align: right;
  padding: 8px 8%;
  background: #f1f5f9;
  font-size: 14px;
}

.auth-top a {
  text-decoration: none;
  color: #1e3c72;
  font-weight: 600;
}

/* HEADER */
header {
  background: white;
  padding: 12px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 9999;
}

nav {
  display: flex;
  align-items: center;
}

.logo {
  height: 45px;
}

nav a {
  margin: 8px 15px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #ff9800;
}

.btn-small {
  background: #1e3c72;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
}

.btn-small:hover {
  background: #ff9800;
}

/* HERO */
.hero {
  min-height: 60vh;
  height: auto;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('../images/background.jpg') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  gap: 10px;
}

.search-box input {
  padding: 14px;
  width: 280px;
  border-radius: 6px;
  border: none;
}

.search-box button {
  padding: 14px 20px;
  border: none;
  background: #ff9800;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/* WHY */
.why-use {
  padding: 70px 8%;
  text-align: center;
}

.why-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 25px;
}

.why-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* CITIES */
.cities {
  padding: 70px 8%;
  background: #f1f5f9;
  text-align: center;
}

.card-container {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.card {
  width: 280px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

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

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #1e3c72;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.card-content a:hover {
  background: #ff9800;
}

/* EMERGENCY */
.emergency {
  padding: 70px 8%;
  background: #0f172a;
  color: white;
  text-align: center;
}

.emergency-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.emergency-buttons button {
  padding: 12px 20px;
  border: none;
  background: #ff9800;
  color: white;
  border-radius: 30px;
  cursor: pointer;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  background: #111827;
  color: white;
  font-size: 14px;
}
/* EMAIL CAPTURE */
.email-capture {
  padding: 60px 8%;
  text-align: center;
  background: #eef2ff;
}

.email-capture input {
  padding: 12px;
  width: 250px;
  margin-top: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.email-capture button {
  padding: 12px 18px;
  background: #1e3c72;
  color: white;
  border: none;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
}

/* BOOKING */
.booking-section {
  padding: 70px 8%;
  text-align: center;
  background: white;
}

.booking-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.booking-card {
  width: 280px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

.book-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.ad-space {
  margin: 40px auto;
  text-align: center;
}
/* Service Icons Section */
.service-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.service-item {
  background: #f2f2f2;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-item:hover {
  background: #1e3c72;
  color: #fff;
}

.service-item.active {
  background: #1e3c72;
  color: #fff;
}
/* Gwalior Hero */
.gwalior-hero {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('images/gwalior_images/gwalior_fort.png');

  background-size: cover;        /* 🔥 full cover */
  background-position: center;   /* 🔥 center align */
  background-repeat: no-repeat;  /* 🔥 repeat band */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.gwalior-hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.gwalior-hero p {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: 18px;
}

/* Gwalior Tourist Places */
.gwalior-section {
  padding: 70px 8%;
  text-align: center;
  background: #f1f5f9;
}

.gwalior-section .places{
display:flex;
overflow-x:auto;
gap:20px;
padding:10px;
align-items:stretch;
scroll-behavior:smooth;
}


.gwalior-section .place-card {
  background: white;
  border-radius: 16px; /* 🔥 smooth corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease; 
  text-align: center;

  min-width: 320px;   /* 🔥 bada size */
  max-width: 320px;
  height: 300px;

  display: flex;
  flex-direction: column;
}

.gwalior-section .place-card:hover {
  transform: translateY(-6px);
}

.gwalior-section .place-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gwalior-section .place-card div {
  padding: 12px 8px;
  font-weight: 600;
  font-size: 16px;
  color: #1e3c72;
}

.gwalior-section .place-card p {
  padding: 0 8px 12px 8px;
  font-size: 14px;
  color: #333;
}

/* MOBILE */
@media(max-width:768px) {
  .gwalior-hero h1 {
    font-size: 28px;
  }
  .gwalior-hero p {
    font-size: 16px;
  }
}

/* MOBILE */
@media(max-width:768px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero p{
    max-width:90%;
  }
  .search-box {
    flex-direction: column;
  }

  .search-box input {
    width: 100%;
  }

  .search-box button {
    width: 100%;
  }
}

/* ROUTE PLANNER BUTTONS */
.buttons {
  display: flex;
  justify-content: center;   /* Center horizontally */
  gap: 15px;                 /* Space between buttons */
  flex-wrap: wrap;           /* Mobile-friendly wrap */
  margin: 20px 0;            /* Top & bottom space */
}

.buttons button {
  padding: 12px 20px;
  background: #1e3c72;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.buttons button:hover {
  background: #ff9800;
}

/* MEGA MENU */
.mega-dropdown {
  position: relative;
  display: inline-block;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;              
  background: white;
  width: 850px;          
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 10px;
  z-index: 1000;

  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mega-column h4 {
  margin-bottom: 10px;
  color: #e63946;
}

.mega-column a {
  display: block;
  text-decoration: none;
  color: #333;
  margin-bottom: 6px;
  font-size: 14px;
}

.mega-column a:hover {
  color: #e63946;
}

.mega-dropdown:hover .mega-menu {
  display: grid;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;      
  left: 0;       
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.dropdown-content a:hover {
  background: #f2f2f2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* MOBILE MEGA MENU FIX */
@media(max-width:768px){
  .mega-menu{
    grid-template-columns: repeat(2,1fr);
    width: 95vw;
    padding: 20px;
    left: 0;
  }
}
.mega-dropdown > a,
.dropdown > a {
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

.mega-dropdown > a::after,
.dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  background: #ff9800;
  transition: 0.3s;
}

.mega-dropdown > a:hover::after,
.dropdown > a:hover::after {
  width: 100%;
}

/* ================= TABLET FIX ================= */

@media (max-width:1024px){

nav{
  flex-wrap: wrap;
  justify-content:center;
}

.hero h1{
  font-size:36px;
}

.card-container{
  justify-content:center;
}

.card{
  width:45%;
}

.booking-grid{
  justify-content:center;
}

.booking-card{
  width:45%;
}

/* MEGA MENU */
.mega-menu{
  width:90vw;
  grid-template-columns: repeat(3,1fr);
}

}
/* ================= MOBILE RESPONSIVE FIX ================= */

@media (max-width:768px){

/* HEADER FIX */
header{
  flex-direction: column;
  gap:10px;
}

nav{
  flex-wrap: wrap;
  justify-content:center;
}

nav a{
  margin:8px 10px;
  font-size:14px;
}

/* HERO FIX */
.hero{
  height:60vh;
  padding:30px 15px;
}

.hero h1{
  font-size:28px;
}

.hero p{
  font-size:15px;
}

/* SEARCH BOX */
.search-box{
  flex-direction:column;
  width:100%;
}

.search-box input{
  width:100%;
}

.search-box button{
  width:100%;
}

/* BOOKING CARDS */
.booking-grid{
  flex-direction:column;
  align-items:center;
}

.booking-card{
  width:90%;
}

/* GWALIOR HERO */
.gwalior-hero{
  height:50vh;
}

.gwalior-hero h1{
  font-size:26px;
}

.gwalior-hero p{
  font-size:15px;
}

/* TOURIST PLACES GRID */
/* BUTTONS */
.buttons{
  gap:10px;
}

.buttons button{
  padding:10px 15px;
  font-size:14px;
}

/* MEGA MENU */
.mega-menu{
  width:95vw;
  grid-template-columns:1fr 1fr;
  right:-20px;
}

}

/* EXTRA SMALL MOBILE */
@media (max-width:480px){

.hero h1{
  font-size:24px;
}

.gwalior-hero h1{
  font-size:22px;
}

nav a{
  font-size:13px;
}

}
@media (max-width: 768px) {

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 8px;
  }

}
/* MOBILE IMAGE SCROLL */
@media(max-width:768px){

.gwalior-section .places.city-scroll{
display:flex;
overflow-x:auto;
gap:15px;
padding:10px;
}

.gwalior-section .places.city-scroll .place-card{
min-width:250px;
flex-shrink:0;
}

}

/* FIX TOURIST PLACE CARD SIZE */

.gwalior-section .place-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}
.gwalior-section .places::-webkit-scrollbar{
display:none;
}
.places-wrapper{
position:relative;
}

.scroll-btn{
position:absolute;
top:40%;
transform:translateY(-50%);
background:#1e3c72;
color:white;
border:none;
padding:12px 16px;
font-size:22px;
cursor:pointer;
border-radius:50%;
z-index:10;
}

.scroll-btn.left{
left:-10px;
}

.scroll-btn.right{
right:-10px;
}

.scroll-btn:hover{
background:#ff9800;
}

@media (max-width:768px){

.scroll-btn{
display:none;
}

}
.city-hero{
height:60vh;
background-size:cover;
background-position:center;
background-repeat:no-repeat;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

color:white;
text-align:center;
}
.city-hero {
  height: 60vh;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  text-align: center;
  padding: 20px;

  position: relative;
}

/* Dark overlay (text clear dikhega) */
.city-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Text upar rahe */
.city-hero h1,
.city-hero p {
  position: relative;
  z-index: 1;
}

/* ================= FINAL CITY SLIDER FIX ================= */

@media (max-width:768px){

/* normal cards (बाकी sections के लिए) */
.card-container:not(.city-scroll){
  flex-direction:column;
  align-items:center;
}

/* 🔥 ONLY city slider */
.card-container.city-scroll{
  display:flex;
  flex-direction:row;
  overflow-x:auto;
  gap:15px;
  padding:10px;
  scroll-behavior:smooth;
}

/* cards side me rahenge */
.card-container.city-scroll .card{
  min-width:250px;
  flex-shrink:0;
}

/* scrollbar hide */
.card-container.city-scroll::-webkit-scrollbar{
  display:none;
}

}

/* 🔥 PRO smooth snap */
.card-container.city-scroll{
  scroll-snap-type: x mandatory;
}

.card-container.city-scroll .card{
  scroll-snap-align: start;
}
.card-container.city-scroll {
  -webkit-overflow-scrolling: touch;
}

/* FORCE SLIDER WORKING */
.card-container.city-scroll{
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  display: flex !important;
}

.card-container.city-scroll .card{
  min-width: 250px;
  flex-shrink: 0;
}

/* ================= FINAL WORKING MOBILE SLIDER ================= */

@media (max-width:768px){

  /* 🔥 override desktop center issue */
  .card-container.city-scroll{
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;

    overflow-x: auto !important;
    gap: 15px;
    padding: 10px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* cards fix */
  .card-container.city-scroll .card{
    min-width: 270px;
    max-width: 270px;
    flex-shrink: 0;
  }

  /* hide scrollbar */
  .card-container.city-scroll::-webkit-scrollbar{
    display: none;
  }

}

.view-btn{
  display:inline-block;
  margin-top:10px;
  padding:6px 12px;
  background:#2563eb;
  color:#fff;
  border-radius:6px;
  font-size:14px;
  cursor:pointer;
  transition:0.3s;
}

.view-btn:hover{
  background:#1e40af;
}

.plan-box p {
  margin: 10px 0;
  line-height: 1.6;
}

.plan-box h3 {
  color: #1e3c72;
  margin-bottom: 10px;
}

.plan-box h4 {
  margin-top: 15px;
  color: #333;
}

.plan-box hr {
  margin: 15px 0;
}
