/* ================================
   General Page Styles
   ================================ */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: underline;
}

/* ================================
   Navbar
   ================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: #fff;
  padding: 0.4rem 1rem;
}

.navbar a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar-brand img {
  object-fit: contain;
  display: block;
  max-height: 70px;
}

.navbar-nav .nav-link {
  line-height: 1.2;
}

/* Dropdown menu */
.dropdown-menu { background-color: #fff; }
.dropdown-item { color: #333 !important; }
.dropdown-item:hover,
.dropdown-item:focus { background-color: #f1f1f1; color: #000 !important; }
.dropdown-header { color: #555; }

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: #273429;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.btn:hover { background: #324237; }

/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.hero .btn {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
}

/* ================================
   Blog Post Container
   ================================ */
.blog-container, #post-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.blog-post-content {
  background: #fff;
  margin: 1rem auto;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3 {
  margin: 1rem 0 0.5rem 0;
}

.blog-post-content p {
  margin: 0.5rem 0;
}

/* ================================
   Blog Post Images & Captions
   ================================ */
.figure {
  margin: 1rem 0;
  text-align: center;
}

.figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: contain;
}

.figure-caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}

/* ================================
   Gallery Layout
   ================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive columns */
  gap: 15px;          /* spacing between images */
  margin: 20px 0;     /* spacing above/below gallery */
}

.gallery img {
  width: 100%;
  height: 250px;      /* uniform height for a clean grid look */
  border-radius: 6px;
  object-fit: cover;   /* crop images to fit without stretching */
  display: block;
  transition: transform 0.2s ease;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;  /* single column on small screens */
  }
  
  .gallery img {
    height: auto;               /* natural height on mobile for better flow */
  }
}


/* ================================
   Table of Contents
   ================================ */
.toc {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 200px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-height: 80vh;
  overflow-y: auto;
  font-size: 0.9rem;
  z-index: 1000;
}

.toc h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.toc ul li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: #007bff;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .toc {
    position: static;
    width: auto;
    max-height: none;
    margin-bottom: 2rem;
  }
}

/* ================================
   Travel Page Sections
   ================================ */
.travel-section {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.travel-section h2 {
  margin-top: 0;
  font-size: 2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.travel-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.travel-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.travel-section .row img {
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.travel-section .row img:hover {
  transform: scale(1.03);
}

.travel-section .btn { margin-top: 1rem; }

p.intro-text {
  font-size: 1.2rem;      /* ~19px: easier to read */
  line-height: 1.6;       /* more space between lines */
  max-width: 700px;       /* keeps text from being too wide */
  margin: 20px auto;      /* center it with spacing */
  text-align: center;     /* optional: nice for intro paragraphs */
  color: #333;            /* softer than pure black */
}


/* Indent submenus and add caret icon spacing */
.dropdown-menu .collapse {
  margin-top: 0.3rem;
}

.dropdown-menu .dropdown-item i {
  float: right;
  transition: transform 0.3s;
}

.dropdown-menu .collapse.show + a i {
  transform: rotate(180deg);
}

/* smooth rotation for caret */
.dropdown-item i {
  transition: transform 0.3s;
}

.dropdown-item i.rotate {
  transform: rotate(180deg);
}

.bi-caret-down-fill {
  transition: transform 0.3s ease;
}
.bi-caret-down-fill.rotate {
  transform: rotate(180deg);
}


h1, h2, h3, h4, h5, h6 {
  scroll-margin-top: 80px; /* Adjust based on your navbar height */
}

.special-img {
  width: 100%;
  height: auto;           /* maintain aspect ratio */
  object-fit: cover;      /* fill card width nicely */
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}


.footer-logo {
  height: 30px; /* default for desktop */
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: height 0.2s ease;
}

@media (max-width: 576px) {
  .footer-logo {
    height: 20px; /* smaller logo on mobile */
  }
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.preview-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  min-height: 100px; /* Prevent layout jump */
}


.about-card {
  background: #fffaf5; /* light warm tone for a welcoming feel */
  border-radius: 15px;
  overflow: hidden;
}

.about-img {
  height: 100%;
  object-fit: cover;
  border-radius: 15px 0 0 15px;
}

.about-card .card-body {
  padding: 1.5rem;
}
