/* ======================================================
   AYODHYA SARTHI - PREMIUM TOURISM WEBSITE
   COMPLETE STYLE SHEET
====================================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #ff6b00;
  --secondary: #8b0000;
  --bg: #fff8e7;
  --text: #1f2937;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --transition: 0.3s ease;
}

/* ==========================
   RESET
========================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: "Poppins", sans-serif;
}

/* ==========================
   CONTAINER
========================== */

.container {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
  color: #555;
}

/* ==========================
   TOP BAR
========================== */

.topbar {
  background: var(--secondary);
  color: white;
  padding: 10px 0;
  font-size: 14px;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================
   HEADER
========================== */

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary);
  font-size: 2rem;
}

.logo-text h2 {
  color: var(--secondary);
  font-size: 1.4rem;
}

.logo-text span {
  font-size: 12px;
  color: #666;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================
   HERO SECTION
========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("https://images.unsplash.com/photo-1605640840605-14ac1855827b?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==========================
   BUTTONS
========================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: white;
  color: var(--secondary);
}

.btn-secondary:hover {
  transform: translateY(-4px);
}

/* ==========================
   SEARCH BOX
========================== */

.search-section {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.search-box {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.search-form input,
.search-form select {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

/* ==========================
   GLASS CARD
========================== */

.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 25px;
}

/* ==========================
   CARD DESIGN
========================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.card:hover img {
  transform: scale(1.1);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: var(--secondary);
  margin-bottom: 10px;
}

.card-content p {
  color: #666;
  margin-bottom: 15px;
}

/* ==========================
   FEATURES
========================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-box {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.feature-box h3 {
  margin-bottom: 10px;
}

/* ==========================
   SERVICES
========================== */

.service-card {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* ==========================
   STATS
========================== */

.stats {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-box {
  text-align: center;
}

.stat-box h2 {
  font-size: 3rem;
}

.stat-box p {
  font-size: 1rem;
}

/* ==========================
   HOTEL CARDS
========================== */

.hotel-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hotel-details {
  padding: 20px;
}

.hotel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.badge {
  background: #ffe8d5;
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
}

/* ==========================
   TESTIMONIAL
========================== */

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* ==========================
   FAQ
========================== */

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 18px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 18px;
  color: #555;
}

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

.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ==========================
   PLACE DETAILS
========================== */

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.place-meta span {
  background: #fff2e8;
  padding: 8px 12px;
  border-radius: 50px;
  font-size: 13px;
}

/* ==========================
   TABLE
========================== */

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: var(--shadow);
}

table th {
  background: var(--secondary);
  color: white;
}

table th,
table td {
  padding: 14px;
  border: 1px solid #eee;
}

/* ==========================
   FORMS
========================== */

.form-box {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* ==========================
   FARE RESULT
========================== */

.fare-result {
  margin-top: 20px;
  background: #fff2e8;
  padding: 20px;
  border-radius: 15px;
}

.fare-result h3 {
  color: var(--secondary);
}

/* ==========================
   MAP
========================== */

#map {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.map-sidebar {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ==========================
   EMERGENCY
========================== */

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.emergency-card {
  background: white;
  padding: 25px;
  text-align: center;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.emergency-card i {
  font-size: 3rem;
  color: red;
  margin-bottom: 15px;
}

.call-btn {
  display: inline-block;
  background: green;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 15px;
}

/* ==========================
   CONTACT
========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  margin-bottom: 15px;
  color: var(--secondary);
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.5rem;
}

/* ==========================
   SOCIAL
========================== */

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-5px);
}

/* ==========================
   FOOTER
========================== */

footer {
  background: #111827;
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}

/* ==========================
   ANIMATIONS
========================== */

.fade-up {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 20px;
}

/* ==========================
   RESPONSIVE TABLET
========================== */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

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

  #map {
    height: 500px;
  }
}

/* ==========================
   RESPONSIVE MOBILE
========================== */

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
  }

  .nav-links.active {
    left: 0;
  }

  .hero {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .search-box {
    padding: 25px;
  }

  #map {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cta h2 {
    font-size: 2rem;
  }
}
