:root {
  --primary-green: #2d5016;
  --light-green: #7cb342;
  --accent-brown: #795548;
  --cream: #f5f5dc;
  --dark-text: #333;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial;
  color: var(--dark-text);
  overflow-x: hidden;
  background-color: #fff;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  background: linear-gradient(rgba(45, 80, 22, 0.4), rgba(45, 80, 22, 0.6)),
    url('images/slider_1.jpg')
      center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 70px;
  /* for fixed navbar */
}

.hero-content h1 {
  font-family: 'adobe garamond pro', Sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.55);
  animation: fadeInDown 1s ease;
}

.hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  animation: fadeInUp 1s ease;
}

.btn-nature {
  background-color: var(--light-green);
  color: white;
  padding: 12px 32px;
  font-size: 1.05rem;
  border: none;
  border-radius: 50px;
  transition: all 0.25s ease;
  animation: pulse 2.5s infinite;
  box-shadow: 0 6px 18px rgba(39, 73, 18, 0.25);
}

.btn-nature:hover {
  background-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-success {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
}
.btn-outline-success:hover {
    background: var(--primary-green);
    color: #fff;
}

.modal-header{
  background: #3eb369b9;
  color: white;
  font-weight: bold;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

/* Navbar */
.navbar {
  background-color: rgba(45, 80, 22, 0.95) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--cream) !important;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--light-green) !important;
}

/* Section Styling */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-green);
  font-family: 'adobe garamond pro', Sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 90px;
  height: 4px;
  background: var(--light-green);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* About Section (merged with History) */
#about {
  background: linear-gradient(135deg, var(--cream) 0%, #e8f5e9 100%);
  padding-top: 50px;
  padding-bottom: 50px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  min-height: 300px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.07);
}

.about-text {
  flex: 1 1 420px;
}

.about-text h3 {
  color: var(--primary-green);
  margin-bottom: 16px;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0.9rem;
}

.history-block {
  margin-top: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* Gallery Section */
#gallery {
  background-color: white;
  padding-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(45, 80, 22, 0.95));
  color: white;
  padding: 14px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* TESTIMONIALS (Static cards) - added styles */
#testimonials {
  background: linear-gradient(135deg, #ffffff 0%, #f7fff6 100%);
  padding-top: 50px;
  padding-bottom: 50px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.review-card {
  background: white;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-author {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 0.98rem;
}

.review-sub {
  font-size: 0.85rem;
  color: #777;
}

.review-rating {
  color: #f5b301;
  font-weight: 700;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.review-text {
  color: #444;
  line-height: 1.5;
  font-size: 0.95rem;
  margin-top: 6px;
  flex: 1;
}

.review-footer {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.btn-review {
  background: transparent;
  border: 1px solid var(--light-green);
  color: var(--primary-green);
  padding: 6px 12px;
  border-radius: 40px;
  font-weight: 600;
}

/* Rooms Section */
#rooms {
  background: linear-gradient(135deg, #f1f8e9 0%, var(--cream) 100%);
}

.room-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.room-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.room-card:hover .room-image img {
  transform: scale(1.06);
}

.room-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--light-green);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.room-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.room-title {
  color: var(--primary-green);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.room-price {
  font-size: 1.25rem;
  color: var(--accent-brown);
  font-weight: 700;
}

.room-price span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}

.amenity-item i {
  color: var(--light-green);
  width: 18px;
}

.btn-book {
  width: 100%;
  background-color: var(--primary-green);
  color: white;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-book:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

/* Contact Section */
#contact {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--light-green) 100%
  );
  color: white;
}

#contact .section-title {
  color: white;
}

#contact .section-title::after {
  background: white;
}

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

.contact-item {
  text-align: center;
  flex: 1 1 220px;
  min-width: 200px;
}

.contact-item i {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.contact-item h4 {
  margin-bottom: 8px;
  font-weight: 600;
}

/* Map Section */
.map-wrapper {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.map-iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */
footer {
  background-color: var(--primary-green);
  color: var(--cream);
  text-align: center;
  padding: 24px 0;
}

.social-links {
  margin-top: 12px;
}

.social-links a {
  color: var(--cream);
  font-size: 1.25rem;
  margin: 0 10px;
  transition: color 0.2s ease;
}

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

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.25);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.whatsapp-float i {
  font-size: 1.4rem;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 65vh;
    padding-top: 70px;
  }

  .gallery-item {
    height: 180px;
  }

  .room-image {
    height: 180px;
  }

  .map-iframe {
    height: 280px;
  }

  .reviews-grid {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }
}
