/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #e67e22; /* Matches the orange in the flyer */
  --secondary-color: #2c3e50; /* Dark blue/grey for text */
  --accent-color: #27ae60; /* Green for success/nature vibe */
  --light-bg: #f4f4f4;
  --white: #ffffff;
}

body {
  line-height: 1.6;
  color: #333;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

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

.nav-links li a {
  font-weight: 500;
  transition: color 0.3s;
}

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

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

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 5px;
  transition: background 0.3s;
}

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

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 5px;
  margin-left: 10px;
  transition: all 0.3s;
}

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

/* Hero Section */
.hero {
  background: url("image-2.jpg") no-repeat center center/cover;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Darkens image for text readability */
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-list li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.about-list i {
  color: var(--primary-color);
  margin-right: 10px;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

.icon-box {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.amenities-list li {
  margin: 5px 0;
  color: #666;
}

/* Gallery Section */
.slider-container {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  width: 55%;
  max-width: 450px;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    z-index 0.4s ease;
  opacity: 0;
  z-index: 0;
  transform: translateX(0) scale(0.8);
  text-align: center;
}

.slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slide-caption {
  margin-top: 15px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--secondary-color);
  opacity: 0; /* Hidden by default, shown only on the active slide */
  transition: opacity 0.4s ease;
}

/* Slide States (Active, Prev, Next) */
.slide.active {
  opacity: 1;
  z-index: 10;
  transform: translateX(0) scale(1);
}

.slide.active .slide-caption {
  opacity: 1;
}

.slide.prev {
  opacity: 0.6;
  z-index: 5;
  transform: translateX(-60%) scale(0.85);
  cursor: pointer;
}

.slide.next {
  opacity: 0.6;
  z-index: 5;
  transform: translateX(60%) scale(0.85);
  cursor: pointer;
}

/* Navigation Buttons (Inspired by your TikTok screenshot) */
.slider-container > button {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--white);
  position: absolute;
  font-size: 3rem;
  width: 5rem;
  height: 5rem;
  top: 35%;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  opacity: 0.8;
  z-index: 20;
  cursor: pointer;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* Adds contrast so white icons show up over images */
}

.slider-container > button:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Footer & Contact */
footer {
  background: var(--secondary-color);
  color: var(--white);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

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

.contact-links a {
  display: block;
  margin: 10px 0;
  color: #ccc;
  transition: color 0.3s;
}

.contact-links a:hover {
  color: var(--white);
}

.contact-links i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.booking-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #e67e22; /* Primary color fallback */
  outline: none;
}
.price-estimate {
  background: #f4fdf8;
  padding: 15px 20px;
  border-left: 5px solid #27ae60;
  margin-top: 20px;
  border-radius: 5px;
  display: none; /* Hidden until valid dates are selected */
}
.price-estimate h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.2rem;
}
.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
}

/* Booking notification banner */
.booking-notification {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  animation: fadeInDown 0.4s ease;
}
.booking-notification.success {
  background: #eafaf1;
  border-left: 5px solid #27ae60;
  color: #1a5e38;
}
.booking-notification.error {
  background: #fdf3f2;
  border-left: 5px solid #e74c3c;
  color: #922b21;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  color: var(--white);
}

.whatsapp {
  background-color: #25d366;
}

.facebook {
  background-color: #1877f2;
}

.social-link i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  background: #233140;
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide nav on mobile by default */
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  }
  /* Gallery Slider Section */
  .slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide {
    position: absolute;
    width: 55%;
    max-width: 450px;
    transition:
      transform 0.4s ease,
      opacity 0.4s ease,
      z-index 0.4s ease;
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.8);
    text-align: center;
  }

  .slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .slide-caption {
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0; /* Hidden by default, shown only on the active slide */
    transition: opacity 0.4s ease;
  }

  /* Slide States (Active, Prev, Next) */
  .slide.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1);
  }

  .slide.active .slide-caption {
    opacity: 1;
  }

  .slide.prev {
    opacity: 0.6;
    z-index: 5;
    transform: translateX(-60%) scale(0.85);
    cursor: pointer;
  }

  .slide.next {
    opacity: 0.6;
    z-index: 5;
    transform: translateX(60%) scale(0.85);
    cursor: pointer;
  }

  /* Navigation Buttons (Inspired by your TikTok screenshot) */
  .slider-container > button {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--white);
    position: absolute;
    font-size: 3rem;
    width: 5rem;
    height: 5rem;
    top: 35%;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    opacity: 0.8;
    z-index: 20;
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* Adds contrast so white icons show up over images */
  }

  .slider-container > button:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  .prev-btn {
    left: 2%;
  }
  .next-btn {
    right: 2%;
  }

  /* Mobile Responsiveness for Slider */

  .slider-container {
    height: 350px;
  }
  .slide {
    width: 75%;
  }
  .slide img {
    height: 220px;
  }
  .slide.prev {
    transform: translateX(-40%) scale(0.8);
  }
  .slide.next {
    transform: translateX(40%) scale(0.8);
  }
  .slider-container > button {
    font-size: 2rem;
    width: 3rem;
    top: 30%;
  }
  .prev-btn {
    left: 0%;
  }
  .next-btn {
    right: 0%;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

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

  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    white-space: nowrap;
    justify-content: flex-start;
  }
  .map-container iframe {
    max-width: 95%;
    max-height: 95%;
    justify-content: center;
  }
}
