:root {
    --primary: #2a6b3f;
    --primary-light: #4c9b63;
    --secondary: #d4a86a;
    --dark: #1a3b27;
    --light: #f8f9fa;
    --accent: #8e44ad;
}

html, body {
    touch-action: pan-x pan-y;
    overscroll-behavior-y: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #000000;
}
/* Navbar */
.navbar {
    background-image: none !important;
    background-color: #e6f4ea !important; /* Light green */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 15px 0;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none; /* Allow clicks to pass through */
}

.navbar.scrolled {
    padding: 8px 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 2.1rem;
    color: var(--primary);
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}
.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
    width: 0;
}
.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}
@media (max-width: 992px) {
    .navbar-nav .nav-link {
    min-width: 100px;
    text-align: left;
    display: block;
    margin: 0;
    padding-left: 16px;
    }
    .nav-link:after {
    left: 0;
    transform: none;
    width: 0;
    max-width: 100px;
    }
    .nav-link:hover:after,
    .nav-link:focus:after,
    .nav-link.active:after {
    width: 100px;
    max-width: 100px;
    }
    .navbar-nav .nav-link:active:after {
    width: 100px;
    max-width: 100px;
    }
    .navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}
}

@media (max-width: 415px) {
    .navbar-brand span {
        font-size: 1.1rem !important;
        font-weight: 700;
    }
    .navbar-logo {
        height: 22px;
        width: 22px;
    }
    .navbar {
        padding: 8px 0;
    }
}

@media (max-width: 340px) {
    .navbar-brand span {
        font-size: 0.85rem !important;
        font-weight: 700;
    }
    .navbar-logo {
        height: 16px;
        width: 16px;
    }
    .navbar-toggler {
        padding: 2px 6px !important;
        font-size: 0.8rem !important;
        min-height: 28px;
        min-width: 28px;
    }
    body, .hero, section {
        min-width: 340px !important;
    }
}

/* Force the navbar's container to have no left padding or margin and be full width, ensuring the navbar starts flush with the viewport edge */
.navbar > .container {
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* If using container-fluid for navbar, ensure same flush effect */
.navbar > .container-fluid {
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* Logo in Navbar */
.navbar-logo {
    height: 48px;
    width: 48px;
    margin-left: 10px   ;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
@media (max-width: 992px) {
    .navbar-logo {
        height: 32px;
        width: 32px;
   
    
    }
    .navbar-brand span {
        font-size: 1.8rem;
    }
}
@media (max-width: 576px) {
    .navbar-logo {
        height: 28px;
        width: 28px;
    }
    .navbar-brand span {
        font-size: 1.5rem;
    }
    .mob{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('Images/homestay1.png') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin-left: 8vw;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color:#f8f9fa;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.resort-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffe082;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

/* Sections */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

section {
    padding: 5rem 0;
}
.subhead{
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.bg-alt {
    background-color: #f9f9f9;
}

/* About Section */
.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
}

/* Cottage Cards */
.cottage-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.cottage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cottage-img {
    height: 250px;
    object-fit: cover;
}

.cottage-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-note {
    font-size: 0.95em;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

.cottage-features {
    list-style: none;
    padding: 0;
}

.cottage-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.cottage-features li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Amenities */
.amenity-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.amenity-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

/* Gallery */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}
/* Gallery Section Styles */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}
.rating{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:160px;
}

/* Animation for gallery items when they enter viewport */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation for gallery items */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
/* Continue this pattern for as many items as you have */
/* Forms */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(42, 107, 63, 0.25);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Keep btn-primary green on active/focus/visited */
.btn-primary:active,
.btn-primary:focus,
.btn-primary.active,
.btn-primary:visited {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 420px) {
    .btn,
    .btn-primary,
    .btn-outline-primary {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
    }
    .btn-book-now,
    .btn.btn-primary.me-3,
    .btn.btn-primary.mt-2,
    #contact-book-now-btn {
    padding: 6px 8px !important;
    font-size: 0.82rem !important;
    border-radius: 4px !important;
    min-width: 80px;
    max-width: 130px;
    width: auto;
  }
  .popular-packages-list {
    padding-left: 0;
  }
  .popular-packages-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.97rem;
    line-height: 1.4;
    word-break: break-word;
  }
  .popular-packages-list i {
    margin-bottom: 2px;
    margin-right: 4px;
  }
  .popular-packages-list .package-desc {
    margin-left: 0;
    display: block;
    font-weight: 400;
    color: #555;
    font-size: 0.93em;
    margin-top: 2px;
  }
  .hero .btn.btn-primary {
    padding: 12px 12px !important;
    font-size: 0.8rem !important;
    max-width: 120px !important;
    min-width: 17px,!important;
    border-radius: 8px !important;
    white-space: nowrap;
    word-break: keep-all;
  }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* New Styles for Enhanced Features */
.rating-badge {
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.rating-label {
    font-size: 0.9rem;
    color: #666;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.review-rating {
    color: var(--secondary);
    font-weight: 600;
}
.cs{
    color: #000;
}

.policy-item {
    margin-bottom: 15px;
}

.policy-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 10px;
}
.hp{
    color:#1a3b27
}
.card-body{
    margin-left: 20px!important;
    margin-top:20px;
}

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

.viewers-icon {
    margin-right: 8px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-box {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stats-label {
    font-size: 0.9rem;
    color: #666;
}

.tab-content {
    padding: 20px 0;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    padding: 10px 20px;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    background: transparent;
}

.feature-badge {
    background: rgba(212, 168, 106, 0.2);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
    font-size: 2.5rem;
    }
    
    .hero-subtitle {
    font-size: 1.2rem;
    }
    
    section {
    padding: 3rem 0;
    }
    
    .cottage-card {
    margin-bottom: 20px;
    }
    
    .subhead {
    font-size: 1.8rem;
    }
}
/* Tenting and Tours Section Styles */
#tenting, #tours {
  padding: 5rem 0;
}

.tour-package {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 20px;
}

.tour-package:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tour-package h4 {
  color: var(--primary);
  margin-bottom: 15px;
}

.tour-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tour-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.tour-features li i {
  color: var(--primary);
  margin-right: 10px;
}

.package-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.package-duration {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .tour-package {
    margin-bottom: 20px;
  }
}

/* Gallery grid fade animation */
#gallery-grid.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}
#gallery-grid.fade-in {
    opacity: 1;
    transition: opacity 0.5s;
}

/* Accommodation & Pricing Details Section - Enhanced Theme */
#accommodation-pricing {
  background: linear-gradient(120deg, #e6f4ea 0%, #f8f9fa 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(42, 107, 63, 0.07);
  margin-bottom: 3rem;
}
#accommodation-pricing .section-title {
  color: var(--primary);
  font-size: 2.5rem;
  letter-spacing: 1px;
}
#accommodation-pricing .table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(42, 107, 63, 0.06);
}
#accommodation-pricing .table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
}
#accommodation-pricing .table td {
  font-size: 1.05rem;
  color: var(--dark);
  border: none;
  background: #f9f9f9;
}
#accommodation-pricing .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #f3f7f4;
}
#accommodation-pricing .alert-info {
  background: rgba(76, 155, 99, 0.08);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 500;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(42, 107, 63, 0.04);
}
#accommodation-pricing .table-responsive {
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 768px) {
  #accommodation-pricing .section-title {
    font-size: 2rem;
  }
  #accommodation-pricing .table th, #accommodation-pricing .table td {
    font-size: 0.98rem;
  }
}
@media (max-width: 420px) {
  .stats-box {
    padding: 10px 2px;
    border-radius: 7px;
    margin-bottom: 0;
    min-width: 80px;
    max-width:120px;
    width: 99%;
    display: inline-block;
    margin-right: 8px;
    margin-left: 0;
    box-sizing: border-box;
    text-align: center;
    margin-right: 20px;
  }
  .stats-number {
    font-size: 1rem;
    margin-bottom: 1px;
  }
  .stats-label {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  .row.mt-4 {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    display: flex;
    gap: 6px;
    margin-bottom: -40px;
  }
  .row.mt-4 > .col-6 {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    min-width: 100px;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* For extra rooms stacking vertically on small screens */
@media (max-width: 420px) {
  #extra-rooms .row.mt-4 {
    flex-direction: column !important;
    display: flex !important;
    gap: 12px !important;
  }
  #extra-rooms .row.mt-4 > [class^="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 98vw !important;
    width: 98vw !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  section > .container,
  header.hero > .container,
  footer > .container {
    max-width: 98vw !important;
    width: 98vw !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
@media (max-width: 421px) {
  .hero-content {
    margin-left: 0 !important;
    text-align: left !important;
  }
  .rating-badge {
    font-size: 0.85rem !important;
    padding: 4px 10px !important;
    border-radius: 14px !important;
    min-width: 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
  }
}

/* iOS Safari fix: Remove background-attachment: fixed for hero section */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll !important;
  }
}