/* dark mode */
@media(prefers-color-scheme: dark) {
  body{
    background-color: #111;
  color: white;
  }
}
/* Home Page - Clean Hero Placeholder */
@media (max-width: 991px) {
  .home-hero-content {
    display: block;
    max-width: 760px;
  }

  .home-hero-highlights {
    margin-top: 1.4rem;
    max-width: 360px;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-navbar {
    margin-top: 0.6rem;
    border-radius: 14px !important;
    padding: 0.45rem 0.25rem !important;
  }

  .home-brand-main {
    font-size: 1.45rem;
  }

  .home-brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .home-hero-content {
    padding-top: 6.7rem;
    padding-bottom: 2.4rem;
  }

  .home-hero-clean {
    min-height: 74vh;
  }

  .home-hero-title {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .home-hero-subtitle {
    font-size: 1rem;
  }

  .home-hero-highlights {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* Footer (All Pages) */
/* Responsive */
@media (max-width: 767px) {
  .footer-section .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .footer-section h6 {
    font-size: 1.1rem;
  }
  .footer-section .small {
    font-size: 0.85rem;
  }
  .footer-section .social-link {
    font-size: 1.1rem;
  }
}

/* Travel Guide - Quick Facts Section */
@media (max-width: 767px) {
  .hero-section-travel {
    height: 60vh; /* Further reduced for mobile */
  }
  .hero-section-travel .display-4 {
    font-size: 2rem;
  }
  .hero-section-travel .lead {
    font-size: 1.1rem;
  }
  .hero-section-travel .p-4 {
    padding: 2rem !important;
  }
}
/* About Page - Video Section */
@media (max-width: 768px) {
  .video-wrapper {
    padding: 1.5rem 1rem;
  }
  .video-container {
    padding-bottom: 75%;
  }
}

/* Home Page & About Page - Timeline Section */
@media (max-width: 768px) {
  .timeline {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
  .timeline-content {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* --- Custom Additions for index.html Mobile Responsiveness --- */
  /* Card images in events section */
  @media (max-width: 767px) {
  .container .card .card-title {
    font-size: 1.3rem;
  }
  .container .card .card-text {
    font-size: 1.1rem;
  }
  .container .card .card-body {
    padding: 1.25rem !important;
  }
}
  
 


/* --- Custom Additions for travelguide.html Mobile Responsiveness --- */
@media (max-width: 575px) {
  /* Hero Section */
  .hero-section-travel .bg-dark {
    padding: 1rem !important;
  }
  .hero-section-travel h1 {
    font-size: 1.5rem !important;
  }
  .hero-section-travel p.lead {
    font-size: 1rem !important;
  }
  .hero-section-travel .btn {
    font-size: 1rem !important;
    padding: 0.5rem 1.2rem !important;
  }
  /* Quick Facts Section */
  .quick-facts i {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
  }
  .quick-facts h5 {
    font-size: 1rem !important;
  }
  .quick-facts p {
    font-size: 0.9rem !important;
  }
  /* Activities Section */
  .activity-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: unset !important;
    text-align: center !important;
    padding: 0.5rem !important;
  }
  .activity-card img.activity-img-cover {
    width: 100% !important;
    max-width: 150px !important;
    height: auto !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
  }
  .activity-card h5 {
    font-size: 1.1rem !important;
  }
  .activity-card p {
    font-size: 0.9rem !important;
  }
  /* Map Section */
  /* Responsive */
@media (max-width: 767px) {
  .map-section {
    padding: 2rem 0;
  }
  .map-section h2 {
    font-size: 2rem;
  }
  .map-iframe {
    height: 350px;
  }
}
}

/* --- Custom Additions for about.html and contact.html Mobile Responsiveness --- */
@media (max-width: 575px) {
  /* About Page Header Section */
  .header-section h1 {
    font-size: 1.5rem !important;
    padding: 0.5rem 0 !important;
  }
  .header-section .lead {
    font-size: 1rem !important;
  }
  .header-section {
    padding: 2rem 0 !important;
  }
  /* About Page Tour Guide Images */
  .card .rounded-circle {
    width: 70px !important;
    height: 70px !important;
  }
  /* About Page Timeline */
  .timeline-content h3 {
    font-size: 1.1rem !important;
  }
  .timeline-content p {
    font-size: 0.95rem !important;
  }
  /* About Page Video Section */
  .video-wrapper {
    padding: 1rem 0.5rem !important;
  }
  .video-container {
    padding-bottom: 65% !important;
  }
  /* About/Contact General Card and Container Padding */
  .container, .card, .video-wrapper {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .card {
    padding: 1rem !important;
  }
  /* Contact Page Contact Image */
  .contact-image img {
    min-height: 120px !important;
    max-height: 180px !important;
    border-radius: 1rem 1rem 0 0 !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  /* Contact Page Form Card */
  .card form {
    padding: 0.5rem !important;
  }
  /* Contact Page FAQ Cards */
  .card .fa-2x {
    font-size: 1.3rem !important;
  }
  .card h5 {
    font-size: 1rem !important;
  }
  .card p, .card label, .card input, .card textarea, .card select {
    font-size: 0.95rem !important;
  }
}

/* --- Navbar vertical stacking for mobile/tablet --- */
@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
    width: 100%;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
  .navbar-nav .nav-link {
    width: 100%;
    text-align: left;
    padding-left: 1rem;
  }

/* --- Mobile Dropdown Menu (Transparent Glass) --- */
@media (max-width: 991.98px) {
  /* Make the dropdown menu background transparent so it inherits the navbar container */
  .home-navbar .navbar-collapse {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 0 0.5rem 0 !important;
    margin-top: 0 !important;
  }

  /* Make sure the navbar becomes a solid dark green background immediately when the dropdown menu starts expanding or is open */
  .home-navbar:has(.navbar-collapse.show),
  .home-navbar:has(.navbar-collapse.collapsing) {
    background: rgba(10, 43, 24, 0.96) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
  }

  /* Remove any background or border coloring from the hamburger button toggler */
  .home-navbar .home-toggler {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
  }

  .home-navbar .navbar-nav {
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  /* Left-align all menu links and remove standard hover/active gold backgrounds */
  .home-navbar .nav-link {
    text-align: left !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    background: transparent !important; /* No solid background color */
    color: #ffffff !important;
  }

  /* Translucent white hover background with gold text on mobile */
  .home-navbar .nav-link:hover,
  .home-navbar .nav-link:focus,
  .home-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.1) !important; /* Soft transparent background */
    color: var(--accent-gold) !important; /* Gold text */
  }

  /* Align CTA button to the left on mobile */
  .home-navbar .home-nav-cta {
    width: auto !important;
    align-self: flex-start !important;
    text-align: left !important;
    margin-top: 0.4rem !important;
    padding: 0.58rem 1.5rem !important;
  }
}

/* --- Hero Section fixes for mobile devices --- */
@media (max-width: 768px) {
  .home-hero-clean {
    min-height: 100vh !important; /* Allow hero to fill viewport */
    height: auto !important; /* Allow expansion based on content */
    padding-top: 1.5rem !important;
    padding-bottom: 3.5rem !important;
    overflow: visible !important; /* Prevent cut-offs */
  }

  .home-hero-content {
    padding-top: 7.5rem !important;
    padding-bottom: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .home-hero-actions {
    justify-content: center !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
  }

  .home-hero-actions .home-hero-btn {
    flex: 1 1 auto !important;
    min-width: 130px !important;
    text-align: center !important;
  }

  .home-hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3-column layout on mobile */
    max-width: 100% !important;
    width: 100% !important;
    gap: 0.5rem !important;
    margin-top: 2rem !important;
  }

  .home-highlight-card {
    padding: 0.6rem 0.4rem !important;
    text-align: center !important;
  }

  .home-highlight-value {
    font-size: 1.15rem !important;
  }

  .home-highlight-label {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }
}

/* --- Timeline horizontal wrap on mobile --- */
@media (max-width: 768px) {
  .timeline-event {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .timeline-event img {
    margin: 0.75rem 0 !important;
    width: 130px !important;
    height: 130px !important;
  }
  .timeline-dot {
    display: none !important;
  }
}

