/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  /* Brand Colors */
  --bs-primary: #2C5530;
  --bs-secondary: #B68D40;

  /* Neutral Palette */
  --bs-light: #FAF9F7;
  --bs-dark: #3d3a36;
  --bs-body-bg: #FFFFFF;
  --bs-body-color: #5A5A5A;

  /* Section Backgrounds */
  --section-light: #e7e0d1;
  --section-cream: #f5e6e6;
  --section-sage: #F2F5F0;
  --section-sand: #f5eadd;
  --section-stone: #F4F4F4;

  /* Accent Colors */
  --accent-olive: #8A9B68;
  --accent-terracotta: #C45C3D;
  --accent-mustard: #D4A017;
  --accent-slate: #6B8E9C;

  /* Typography */
  --bs-font-sans-serif: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --bs-font-monospace: 'Source Code Pro', monospace;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;

  /* Borders & Shadows */
  --bs-border-color: #E8E6E1;
  --bs-border-radius: 0;
  --bs-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --bs-box-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

  /* Custom Color Shades */
  --color-primary-light: #3A6B42;
  --color-primary-dark: #1E3A24;
  --color-secondary-light: #D4B98A;
  --color-secondary-dark: #9B7530;

  /* Link Colors */
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--accent-olive);
}

/* ============================================================
   BASE BODY STYLING
============================================================ */
* {
  box-sizing: border-box
}

body {
  color: var(--bs-body-color);
  font-family: var(--bs-font-sans-serif);
  background-color: var(--bs-body-bg);
  line-height: var(--bs-body-line-height);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block
}

/* ============================================================
   Header / Navbar
============================================================ */
.header .navbar {
  background-color: var(--bs-primary);
}

.header .navbar .logo {
  width: 250px
}

.header .navbar .nav-link {
  color: var(--color-secondary-light) !important;
  font-size: 18px;
  padding: 10px 6px;
  margin-left: 15px;
  position: relative;
  transition: color .3s ease;
}

.header .navbar .nav-link:hover {
  color: var(--bs-secondary) !important
}

.header .navbar .nav-link::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 0;
  height: 5px;
  background-color: var(--bs-secondary);
  transform: translateX(-50%);
  transition: width .3s ease;
  z-index: 1;
}

.header .navbar .nav-link:hover::before,
.header .navbar .nav-link.active::before {
  width: 100%
}

.header .navbar .nav-link.active {
  color: var(--bs-secondary) !important
}

/* Dropdown */
.header .navbar .dropdown-menu {
  background-color: var(--bs-primary);
  border: none;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  visibility: hidden;
  pointer-events: none;
  display: block;
  z-index: 2;
}

.header .navbar .dropdown-item {
  color: var(--color-secondary-light);
  padding: 8px 16px;
  transition: background-color .3s ease, color .3s ease;
}

.header .navbar .dropdown-item:hover {
  background-color: var(--bs-secondary);
  color: #fff
}

/* Desktop dropdown hover behavior */
@media (min-width:992px) {
  .header .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    position: absolute;
  }

  .header .navbar .nav-item.active .nav-link::before {
    width: 100%
  }

  .header .navbar .dropdown:hover>.nav-link::before {
    width: 100%
  }
}

/* Mobile: make dropdown static and visible */
@media (max-width:991px) {
  .header .navbar .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto
  }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: url('../images/leaf.png') #f7f3e8;
  background-repeat: no-repeat;
  background-position: left bottom;
}

.hero-slider {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden
}

.hero-slider img {
  width: 100%;
  object-fit: cover;
  display: block
}

.hero-text {
  max-width: 600px;
  padding: 20px;
  text-align: left
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--bs-primary);
  margin-bottom: 15px;
  line-height: 1.3
}

.hero-text .brand {
  color: var(--bs-secondary);
  font-weight: 700
}

.hero-text h3 {
  font-size: 1.4rem;
  color: var(--accent-olive);
  font-weight: 500;
  margin-bottom: 25px
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bs-dark);
  margin-bottom: 30px;
  opacity: 0.9
}

.hero-text .subtext {
  font-size: .95rem;
  color: var(--accent-slate);
  margin-bottom: 40px;
  font-weight: 500
}

.btn-theme {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--bs-secondary), var(--accent-mustard));
  color: #fff;
  border: none;
  transition: all .3s ease;
  box-shadow: var(--bs-box-shadow);
}

.btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-lg)
}

/* ============================================================
   FEATURE / ICON CARD
============================================================ */
.feature-section {
  padding: 3rem 0 5rem 0 !important;
}

.feature-card {
  background: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  transition: .4s ease;
  overflow: hidden;
  cursor: pointer;
  border: none;
  box-shadow: var(--bs-box-shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-secondary), var(--accent-mustard));
  transform: scaleX(0);
  transition: .3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--bs-box-shadow-lg)
}

.feature-card:hover::before {
  transform: scaleX(1)
}

.feature-icon-square {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--section-sage), var(--section-light));
  border: 2px solid var(--bs-border-color);
  transition: .4s ease;
}

.feature-card:hover .feature-icon-square {
  background: linear-gradient(135deg, var(--bs-secondary), var(--accent-mustard));
  transform: scale(1.1);
  border-color: transparent;
}

.feature-icon-square img {
  width: 36px;
  height: 36px;
  transition: .4s ease;
  filter: brightness(0) saturate(100%) invert(24%) sepia(35%) saturate(437%) hue-rotate(87deg) brightness(92%) contrast(88%)
}

.feature-card:hover .feature-icon-square img {
  filter: brightness(0) invert(1);
  transform: scale(1.1)
}

.feature-card h6 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 1rem
}

.feature-card p {
  font-size: .95rem;
  line-height: 1.6
}

/* Mini feature item */
.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  padding: .75rem 1.5rem;
  box-shadow: var(--bs-box-shadow);
  color: var(--bs-body-color);
  font-weight: 500
}

.feature-icon {
  font-size: 1.1rem;
  color: var(--accent-olive)
}

/* ============================================================
   ROOM BLOCKS & INNER PAGE
============================================================ */
.rooms-section {
  padding: 5rem 0;
}

.room-block .inner-box {
  position: relative;
  overflow: hidden;
  transition: .3s ease;
  margin-bottom: 30px;
  border: 6px solid #fff;
  box-shadow: var(--bs-box-shadow-lg);
  cursor: pointer;
}

.room-block .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow)
}

.room-block .image-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: .3s ease
}

.room-block .inner-box:hover .image-box img {
  transform: scale(1.05)
}

.room-block .content-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
  z-index: 2
}

.room-block .content-box .title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bs-light)
}

.room-block .content-box .title a {
  color: inherit;
  text-decoration: none
}

.room-block .content-box .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4d3811;
}

.room-block .box-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(10px);
  z-index: 2;
  transition: .3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-block .inner-box:hover .box-caption {
  opacity: 1;
  transform: translateY(0)
}

.room-block .book-btn {
  background-color: var(--bs-secondary);
  color: var(--bs-light);
  padding: 8px 20px;
  text-decoration: none;
  border-radius: var(--bs-border-radius);
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: .3s ease;
  font-weight: 500;
}

.room-block .book-btn:hover {
  background-color: var(--color-secondary-dark)
}

.room-block .bx-links {
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none
}

.room-block .bx-links li a {
  color: var(--bs-light);
  font-size: 1.1rem;
  transition: .3s ease
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--section-sand), var(--section-cream))
}

.sec-title {
  margin-bottom: 4rem
}

.sec-title .sub-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.sec-title h2 {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--bs-primary);
  font-family: Georgia, 'Times New Roman', Times, serif
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  padding: 3rem 2.5rem;
  height: 100%;
  position: relative;
  box-shadow: var(--bs-box-shadow)
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-secondary), var(--accent-mustard))
}

.testimonial-rating {
  font-size: 1.1rem;
  color: var(--accent-mustard);
  margin-bottom: 1.5rem
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--bs-body-color);
  margin-bottom: 2rem;
  line-height: 1.7
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.2rem
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border: 3px solid var(--bs-secondary);
  object-fit: cover
}

.testimonial-author h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-primary)
}

.testimonial-author small {
  color: var(--accent-terracotta);
  font-weight: 500
}

/* ============================================================
   GALLERY
   (includes gallery-img and gallery-box-img/generics)
============================================================ */
.gallery-section {
  padding: 5rem 0;
  background: var(--section-stone)
}

.gallery-img,
.gallery-box-img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--bs-box-shadow);
  margin-bottom: 1.5rem;
  border: 4px solid #fff;
  cursor: pointer;
}

.gallery-img {
  height: 250px
}

.gallery-box-img {
  height: 180px;
  border-radius: 6px;
  transition: .3s ease
}

.gallery-box-img:hover {
  transform: scale(1.03);
  box-shadow: var(--bs-box-shadow)
}

.gallery-img:hover {
  transform: scale(1.02)
}

/* 6 images per row helper preserved (Bootstrap grid will be used). */
@media (min-width:992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.6666%
  }
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  padding: 5rem 0
}

.contact-card {
  border: 5px solid #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: .3s ease;
}

.contact-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25)
}

.address-box {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--section-sage), var(--section-light));
  height: 100%
}

.address-box h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 1.5rem;
}

.address-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: self-start;
}

.icon-square {
  width: 30px;
  height: 30px;
  background: var(--accent-mustard);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff
}

.icon-square i {
  font-size: 12px
}

.address-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--bs-dark)
}

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  padding: 5rem 0;
  padding-bottom: 9rem;
  background: var(--section-light)
}

.about-images {
  position: relative;
  height: 500px
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%
}

.image {
  position: absolute;
  width: 360px;
  height: 100%;
  border: 6px solid #fff;
  box-shadow: var(--bs-box-shadow-lg);
  overflow: hidden
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.image-1 {
  left: 0;
  top: 0;
  z-index: 2
}

.image-2 {
  right: 0;
  top: 55px;
  z-index: 3
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, var(--bs-primary), var(--color-primary-dark));
  color: rgba(255, 255, 255, 0.9);
  position: relative
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-secondary), var(--accent-mustard), var(--accent-terracotta))
}

.footer-logo {
  max-width: 180px;
  opacity: .9;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1)
}

.footer-title {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-secondary);
  margin-bottom: 1.5rem
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-mustard)
}

.footer-description {
  line-height: 1.6;
  opacity: .8;
  margin-bottom: 2rem
}

.footer-links li {
  width: 50%;
  float: left
}

.footer-links a {
  display: block;
  padding: .1rem 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  opacity: .8;
  transition: .2s ease;
  position: relative
}

.footer-links a:hover {
  opacity: 1;
  color: var(--bs-secondary);
  transform: translateX(2px)
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: .8;
  margin-bottom: .8rem
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: .3s ease
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  background: var(--bs-secondary);
  box-shadow: 0 8px 20px rgba(182, 141, 64, 0.3)
}

.footer-divider {
  margin: 3rem 0 1.5rem;
  border-color: rgba(255, 255, 255, 0.15)
}

.footer-bottom-links a {
  padding: .5rem 1rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: .3s ease
}

.footer-bottom-links a:hover {
  color: var(--bs-secondary);
  background: rgba(255, 255, 255, 0.1)
}

/* ============================================================
   Utilities & Misc
============================================================ */
.mobile-only {
  display: none
}

/* ============================================================
   Specific inner rooms/sections that were present
============================================================ */
.rooms-inner-section {
  background: var(--section-sage);
  padding: 5rem 0
}

.room-card {
  background: #fff;
  border-radius: 4px;
  padding: 6px;
  border: 1px solid #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  transition: .3s ease
}

.room-card:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2)
}

.room-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px
}

.inner-hero {
  position: relative;
  width: 100%;
  height: 250px;
  background-image: url("../images/inner_page_banner.jpg");
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

/* Overlay if needed */
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 58, 95, 0.65);
  z-index: 1;
}

/* Gradient bottom line (4px) */
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-secondary), var(--accent-mustard), var(--accent-terracotta));
  z-index: 2;
}


.inner-hero .container {
  position: relative;
  z-index: 2
}

.hero-content {
  padding-top: 40px
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-secondary);
  margin-bottom: 10px
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0
}

.breadcrumb-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 500
}

.breadcrumb-item a:hover {
  color: var(--bs-secondary)
}

.breadcrumb-item.active {
  color: var(--color-secondary-light)
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--color-secondary-light)
}

/* Room-specific utility classes repeated in original */
.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 12px
}

.room-description {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--bs-body-color)
}

.room-subtitle {
  color: var(--bs-primary);
  font-weight: 600;
  margin-bottom: 12px
}

/* Amenity & feature lists (original duplicates consolidated) */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 25px
}

.amenity-item {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px
}

.amenity-item i {
  color: var(--bs-primary);
  font-size: 18px
}

/* room features/check-in boxes*/
.room-features {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.feature-item {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px
}

.feature-item i {
  color: var(--bs-primary);
  font-size: 18px
}

/* ============================================================
   Responsive adjustments
============================================================ */
@media (max-width:992px) {
  .room-image {
    height: 400px;
    margin-bottom: 2rem
  }

  .amenities-grid {
    grid-template-columns: 1fr
  }

  .header .navbar .nav-link::before,
  .header .navbar .nav-link:hover::before,
  .header .navbar .nav-link.active::before {
    display: none
  }

  .hero {
    height: auto
  }

  .hero-slider {
    width: 100%
  }

  .hero-content>.hero-text {
    display: none
  }

  .mobile-only {
    display: block
  }

  .hero-text {
    max-width: 100% !important
  }

  .contact-card {
    flex-direction: column;
    min-height: auto
  }

  .map-box,
  .address-box {
    width: 100%;
    min-height: 300px
  }

  .about-images {
    height: auto
  }

  .image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem
  }

  .image {
    position: relative;
    width: 100%;
    height: 400px
  }
}

@media (max-width:768px) {
  .sec-title h2 {
    font-size: 2rem
  }

  .hero-text h1 {
    font-size: 1.8rem
  }

  .testimonial-card {
    padding: 2rem
  }

  .room-block .title {
    font-size: 1.25rem
  }

  .room-block .image-box img {
    height: 220px
  }

  .gallery-img {
    height: 180px
  }

  /* Ensure section spacing remains consistent on small screens */
  .feature-section,
  .rooms-section,
  .testimonials-section,
  .contact-section,
  .gallery-section,
  .rooms-inner-section,
  .about-section {
    padding: 5rem 0
  }
}

/* Small device tweaks */
@media (max-width:575px) {
  .room-image img {
    height: 240px
  }
}

/* Loader container */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--color-primary-light);
  /* change color if needed */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ============================================================
   End of file
============================================================ */