/* Importing Google Fonts for a modern and elegant typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

/* Defining CSS Variables for easy theming and consistency */
:root {
  --primary-color: #ff9933; /* Saffron - Vibrant and energetic */
  --secondary-color: #138808; /* Green - Represents nature and growth */
  --accent-color: #000080; /* Navy Blue - Trust and professionalism */
  --background-color: #f5f6f5; /* Light Off-White - Clean and minimal */
  --text-color: #2d2d2d; /* Dark Gray - Readable and neutral */
  --light-text-color: #666666; /* Light Gray - For secondary text */
  --shadow-color: rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  --transition-speed: 0.3s; /* Speed for transitions and animations */
}

/* Resetting default styles and setting base font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

/* Container for content to ensure consistent width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--accent-color);
  text-decoration: none;
}

/* Desktop Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color var(--transition-speed);
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Mobile Navigation */
nav .menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

nav .mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 10px var(--shadow-color);
  padding: 20px;
  z-index: 1000;
}

nav .mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

nav .mobile-menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color var(--transition-speed);
}

nav .mobile-menu ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section Styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-content {
  max-width: 600px;
  padding: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.3s;
}

.hero form {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeInUp 1s ease-out 0.6s;
}

.hero input,
.hero select,
.hero button {
  padding: 12px 15px;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.hero input:focus,
.hero select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(255, 153, 51, 0.3);
}

.hero button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.hero button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Destinations Section Styles */
.destinations {
  padding: 60px 0;
  text-align: center;
}

.destinations h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.destinations p {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--light-text-color);
}

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

.destination-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

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

.destination-card h3 {
  font-size: 24px;
  margin: 20px 0 10px;
  color: var(--accent-color);
}

.destination-card p {
  font-size: 16px;
  padding: 0 20px 20px;
  color: var(--light-text-color);
}

/* Why Choose Us Section Styles */
.why-choose-us {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.why-choose-us h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--accent-color);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature {
  max-width: 300px;
  text-align: center;
}

.feature img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.feature p {
  font-size: 16px;
  color: var(--light-text-color);
}

/* Testimonials Section Styles */
.testimonials {
  padding: 60px 0;
  background-color: var(--background-color);
  text-align: center;
}

.testimonials h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--accent-color);
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}

.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow-color);
  min-width: 300px;
}

.testimonial p {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.testimonial cite {
  font-style: italic;
  color: var(--light-text-color);
}

/* Booking Form Styles */
.booking {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  text-align: center;
}

.booking h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.booking p {
  font-size: 18px;
  margin-bottom: 30px;
}

.booking form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booking input,
.booking textarea,
.booking button {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
}

.booking textarea {
  resize: vertical;
}

.booking button {
  background-color: var(--accent-color);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.booking button:hover {
  background-color: #0000a0;
}

/* Contact Section Styles */
.contact {
  padding: 60px 0;
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.contact p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea,
.contact button {
  padding: 12px 15px;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.contact textarea {
  resize: vertical;
}

.contact button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.contact button:hover {
  background-color: var(--secondary-color);
}

.contact-info {
  margin-top: 30px;
  font-size: 16px;
  color: var(--light-text-color);
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  animation: popupIn 0.5s ease-out;
}

.popup h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.popup p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.popup form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup input,
.popup button {
  padding: 12px 15px;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.popup button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.popup button:hover {
  background-color: var(--secondary-color);
}

#close-popup {
  margin-top: 15px;
  background: none;
  border: none;
  color: var(--light-text-color);
  cursor: pointer;
  font-size: 14px;
}

/* Footer Styles */
footer {
  background: var(--accent-color);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.footer-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-content ul {
  list-style: none;
}

.footer-content ul li a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-speed);
}

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

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

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

.copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popupIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Navigation */
  nav ul {
    display: none;
  }

  nav .menu-toggle {
    display: block;
  }

  nav .mobile-menu {
    display: none;
  }

  nav .mobile-menu.active {
    display: block;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 36px;
  }

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

  .hero form {
    padding: 20px;
  }

  .hero input,
  .hero select,
  .hero button {
    font-size: 14px;
  }

  /* Destinations */
  .destination-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features {
    flex-direction: column;
    align-items: center;
  }

  /* Testimonials */
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero form {
    padding: 15px;
  }

  .hero input,
  .hero select,
  .hero button {
    font-size: 14px;
  }

  .destinations h2,
  .why-choose-us h2,
  .testimonials h2,
  .booking h2,
  .contact h2 {
    font-size: 28px;
  }

  .popup-content {
    padding: 20px;
  }
}