html {
    scroll-behavior: smooth;
}

.font-lato {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: normal;
}

.mx-8{
    margin: 0 5rem;
}

.h-70vh {
    height: 70vh
}


/* Todo: Responsive  */ 
.h-md-80vh {
    min-height: 80vh
}

.h-60vh {
    min-height: 50vh
}

.h-50vh {
    min-height: 50vh
}

.section-wrapper {
    position: relative; /* Ensures child elements can use absolute positioning */
    width: 100%; /* Adjust as needed */
    overflow: hidden; /* Ensures the image doesn’t spill outside */
}


.section-wrapper::before {
    content: ""; /* This is used to insert the image */
    position: absolute; /* Takes the image out of normal flow */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensures the image is behind other elements */
}

/* Todo: Responsive -> 100% on >md */ 
.section-bg-img--1::before {
    width: 100%;
    height: 100%;
    background: url('../images/map03.jpeg') center/cover no-repeat; /* Image fills the div */
}

.section-bg-img--2::before {
    background: url('../images/map06.jpg') center/cover no-repeat; /* Image fills the div */
}

.section-content {
    position: relative; /* Ensures this content is above the image */
    z-index: -1;
    color: white; /* Example styling to make text visible */
    text-align: center; /* Center-aligns the text */
}

.section-background-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    opacity: 0.7;
    z-index: -1;
}

.bg-primary{
    background-color: #a77f5b!important;
}

.bg-dark{
    background-color: #1f4f3c!important;
}

.bg-light {
    background-color: #f1eae2;
}

.border-dark{
    border-color: #1f4f3c!important;
}

.btn-dark{
    background-color: #1f4f3c!important;
    border-color: #1f4f3c;
    color: #fff;
}

.btn-dark:hover{
    background-color: #fff!important;
    color: black;
}


#appear {
    position: fixed;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

#appear.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar-sticky {
    top: 0;
    width: 100vw;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.navtoggle-sticky {
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.z-1{
    z-index: 1;
}

.homeAnchor {
    position: absolute;
    top: -100px;
}

.image-wrapper {
    position: relative;
    flex: 1; /* Allows equal distribution of images in the row */
    aspect-ratio: 4 / 3; /* Ensure landscape orientation */
    overflow: hidden; /* Ensures the image doesn't overflow the wrapper */
}

.image-wrapper img {
    width: 100%; /* Fill the parent's width */
    height: 100%; /* Fill the parent's height */
    object-fit: cover; /* Ensures the image fills the wrapper while maintaining aspect ratio */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Translucent overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    cursor: pointer
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

.gallery {
    display: flex;
    gap: 16px; /* Add spacing between images */
}

.overlay-icon {
    color: white; /* Icon color */
    font-size: 2rem; /* Icon size */
    pointer-events: none; /* Prevent interaction with the icon */
}

.card-img-bottom {
    object-fit: cover; /* Ensures the image fits without distortion */
    height: 200px; /* Set the desired uniform height */
    width: 100%; /* Make the image fill the card width */
}


@media (min-width: 768px) { 
    
    .position-md-relative {
        position: relative !important
    }

    .bg-md-transparent {
        background-color: transparent!important;
    }

    .w-md-100{
        width: 100% !important;
    }

    .fs-md-2 {
        font-size: calc(1.325rem + .9vw) !important;
    }
        
    .px-md-6 {
        padding-left: 7rem !important;
        padding-right: 7rem !important;
    }
}
.image-container--styles {
    width: 100%;
    position: relative;
}

.image-container--styles img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image maintains a good appearance */
}

.position-md-absolute{
    position:absolute
}

/* Custom Hamburger Menu */
#menu-toggle {
    display: none;
}

/* Hamburger Styling */
.hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1050;
    padding: 8px;
}

/* Hamburger Lines */
.hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    background-color: #6c757d!important;
    border-radius: 5px;
    transition: 0.4s ease;
}

/* Navbar - Initially Hidden */
.navbar-collapse {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;

}

@media (min-width: 768px) {
    .navbar-collapse {
        max-height: 100%;
        opacity: 1;

    }

    .fs-md-6{
        font-size: 0.8rem;
    }
    
}

/* When Checked - Slide Down */
#menu-toggle:checked ~ .navbar-collapse {
    max-height: 500px; /* Adjust based on content */
    opacity: 1;
}


/* Perfect X alignment */
#menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.bg-muted{
    background-color: #6c757d!important;
}