/* Font setup */

.navbar,
h1,
h2,
h4,
.carousel-caption.fixed-caption h1 {
    font-family: 'Red Rose', serif;
}

body,
p,
ul,
li,
.card,
.section,
.carousel-caption.fixed-caption p {
    font-family: 'Farro', sans-serif;
}


/* Navbar */

.navbar {
    background-color: #007bff !important;
}

.navbar-nav .nav-link {
    color: white !important;
}

.navbar-nav .nav-link:hover {
    color: yellow !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}


/* Carousel */

.carousel-caption.fixed-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.carousel-caption.fixed-caption img {
    width: 80px;
    margin-bottom: 15px;
}

.carousel-caption.fixed-caption h1,
.carousel-caption.fixed-caption p {
    color: #ffffff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.carousel-caption.fixed-caption p {
    font-size: 1.2rem;
}

#mountaineeringCarousel {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#mountaineeringCarousel .carousel-item {
    position: relative;
}

#mountaineeringCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

#mountaineeringCarousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
    z-index: 1;
}


/* Headings Consistency */

h2 {
    font-size: 2.8rem;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 10px;
}

h5 {
    font-size: 1.5rem;
    font-family: 'Red Rose', serif;
    color: #000;
    border-bottom: 2px solid #007bff;
    padding-bottom: 6px;
    display: inline-block;
}


/* Mountain Images Styling */

#mountains .img-fluid {
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease;
}

#mountains .img-fluid:hover {
    transform: scale(1.03);
}


/* About Section */

#about {
    margin-top: -25vh;
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    padding: 80px 15px;
}

#about h2 {
    font-size: 2.8rem;
    color: #007bff;
    /* Changed to blue */
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 10px;
}

.about-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Guide cards */

#guides {
    background-color: #ffffff;
    padding: 80px 15px;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Basic styling */

body {
    font-family: 'Farro', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}

h1,
h2,
h3 {
    font-family: 'Red Rose', serif;
    color: #007bff;
}

header {
    background-color: #007bff;
    color: white;
    padding: 30px 0;
    text-align: center;
}

section {
    margin: 40px;
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-content .section-title {
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.history-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline .event {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline .event h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.timeline .event p {
    font-size: 1.1rem;
}

footer {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}
/* Full-width hero with background image */
header.hero-shelter {
    position: relative;
    background: url('images/shelter_hero.jpg') no-repeat center center/cover;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Red Rose', serif;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }

  header.hero-shelter h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 10px;
  }

  /* Two column info with sidebar */
  .content-area {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  .main-content {
    flex: 2;
    min-width: 300px;
    padding-right: 40px;
  }

  .sidebar {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
    font-family: 'Farro', sans-serif;
  }

  .sidebar h3 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
  }

  /* Section headings style */
  section h2 {
    font-family: 'Red Rose', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
  }

  /* Image with caption style */
  figure {
    margin: 1.5rem 0;
  }

  figure img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  }

  figure figcaption {
    font-size: 0.9rem;
    text-align: center;
    color: #666;
    margin-top: 6px;
  }

  /* Button style */
  .btn-join {
    background-color: #007bff;
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 30px;
    display: inline-block;
  }

  .btn-join:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .content-area {
      flex-direction: column;
    }

    .main-content {
      padding-right: 0;
    }

    .sidebar {
      margin-top: 30px;
    }
  }
  .history-content img {
    display: block;
    margin: 1.5rem auto;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
html{
    scroll-behavior: smooth !important;
}