/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0d6efd; /* Blue */
  --primary-dark: #0b5ed7;
  --secondary: #ff9800;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --mild-green: #e8f5e9;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* ========== Navbar ========== */
  .navbar {
      background-color: #ffffff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      padding: 0 1.5rem;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-container {
      max-width: 1300px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 70px;
    }

    /* Left: Logo/Name */
    .nav-logo {
      font-size: 1.6rem;
      font-weight: 700;
      color: #1e293b;
      text-decoration: none;
      white-space: nowrap;
    }

    /* Center: Nav Links */
    .nav-menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-item {
      margin: 0 0.75rem;
    }

    .nav-link {
      text-decoration: none;
      color: #334155;
      font-weight: 500;
      padding: 0.5rem 0.8rem;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link:focus {
      color: #2563eb;
      background-color: #eff6ff;
    }

    /* Right: Buttons */
    .nav-buttons {
      display: flex;
      gap: 0.75rem;
    }

    .btn {
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      text-align: center;
      transition: all 0.2s ease;
      border: none;
      font-size: 0.95rem;
    }

    .btn-book {
      background-color: #2563eb;
      color: white;
    }

    .btn-inquiry {
      background-color: #3b82f6;
      color: white;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    }

    /* Hamburger Menu (Mobile) */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: #334155;
      margin: 3px 0;
      transition: 0.3s;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        padding: 1rem 0;
      }

      .nav-menu.active {
        display: flex;
      }

      .nav-item {
        margin: 0.4rem 0;
        text-align: center;
      }

      .nav-buttons {
        display: none;
      }

      .nav-buttons-mobile {
        display: flex;
        gap: 0.75rem;
        margin-top: 1rem;
        padding: 0 1.5rem;
      }

      .hamburger {
        display: flex;
      }
    }

    @media (max-width: 576px) {
      .nav-logo {
        font-size: 1.4rem;
      }

      .btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
      }
    } 

/* ========== Hero ========== */
.hero {
  height: 100vh;
  background: linear-gradient(
              rgba(255, 255, 255, 0.4),
              rgba(0,0,0,0)
            ),
            url("img/hero.jpeg");

  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-quotes {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
}

.hero-quotes blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: #fff;
  opacity: 0.8;
}

/* ========== About Section (Mild Green Background) ========== */
.about-mild-green {
  background: var(--mild-green);
  color: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* Desktop: text left, images right */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.about-text {
  max-width: 500px;
}

.tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .about-text h2 {
    font-size: 2.5rem;
  }
}

.about-text p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .about-text p {
    margin-bottom: 2rem;
  }
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .stats {
    gap: 2rem;
    margin: 2rem 0;
  }
}

.stat-item {
  flex: 1 1 120px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .stat-item strong {
    font-size: 2rem;
  }
}

.stat-item span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .stat-item span {
    font-size: 0.9rem;
  }
}

.about-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  /* Ensure it flows below .about-text on small screens due to grid order */
}

.image-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
  .image-circle {
    width: 180px;
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .image-circle {
    width: 200px;
    height: 200px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }
}

.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Rooms ========== */
.room-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Tablet & up: 2 columns */
@media (min-width: 768px) {
  .room-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Optional: 3 columns on larger desktops */
@media (min-width: 1200px) {
  .room-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.room-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.room-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* prevents baseline spacing */
}

.room-info {
  padding: 1.5rem;
}

.room-info h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.room-info ul {
  margin-bottom: 1rem;
  padding-left: 1.2rem; /* ensure bullets are visible */
}

.room-info li {
  margin-bottom: 0.4rem;
  color: var(--gray);
}

.room-info p {
  font-weight: 600;
  margin: 0.5rem 0;
}

/* ========== Foods ========== */
.foods {
  background: #f9f9f9;
}

.food-slider {
  max-width: 900px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.food-slide {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.food-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.food-img {
  flex: 1;
}

.food-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-content {
  padding: 2rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.food-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.food-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== Packages ========== */
.package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.package-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-8px);
}

.package-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.package-info {
  padding: 1.5rem;
}

.package-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.package-info p {
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 0.5rem 0;
}

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
}

.gallery-col-left,
.gallery-col-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-card,
.gallery-card-large {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  height: 200px;
}

.gallery-card .gallery-slide,
.gallery-card-large .gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}

.gallery-card .gallery-slide.active,
.gallery-card-large .gallery-slide.active {
  display: block;
  opacity: 1;
}

.gallery-card img,
.gallery-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-large {
  height: 420px;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Tablet and up: side-by-side layout */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.contact-info ul {
  margin-bottom: 1.5rem;
}

.contact-info li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social {
  display: flex;
  gap: 1rem;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.3s;
}

.social a:hover {
  background: var(--primary-dark); /* if defined, or use a darker shade */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== Map ========== */
.map-section iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ========== Footer ========== */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo p {
  opacity: 0.8;
  margin-top: 0.8rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-legal p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== Mobile Menu ========== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.5rem 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.8rem 2rem;
    text-align: center;
    display: block;
    border-bottom: 1px solid #eee;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Responsive Adjustments */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 0;
  }

  .about-grid {
    gap: 2rem;
    flex-direction: column-reverse;
  }

  .image-circle {
    width: 150px;
    height: 150px;
  }

  .gallery-card {
    height: 150px;
  }

  .gallery-card-large {
    height: 300px;
  }

  .food-slide.active {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Extra Small Devices (iPhone SE) ========== */
@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-card img {
    height: 120px;
  }

  .gallery-card-large {
    height: 250px;
  }

  .gallery-card-large img {
    height: 50%;
  }

  .hamburger {
    width: 30px;
    height: 20px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
  }
}