html {
    scroll-padding-top: 60px; /* Adjust based on your header height */
}

.logo {
    /*width: 100px;*/
    height: 80px;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
    }

.carousel-wrapper {
    height: 50vh !important; /* Ensures the wrapper takes the desired height */
    overflow: hidden;
}

.carousel {
    height: 50vh !important;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



/* Gallery Wrapper */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%; /* Ensure it takes the full width of its container */
}

/* Gallery Image Container */
.gallery-images {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    overflow-x: auto;  /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scroll transition */
    flex: 1;
}

/* Gallery Item (Images) */
.gallery-item {
    flex-shrink: 0;
    width: 300px; /* Set a fixed width for each image */
}

.gallery-item img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  top: 0; /* Align to top */
  left: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
  padding-top: 0; /* Reset padding-top */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 900px;
  margin-top: 40px; /* Ensure image is pushed down by header height */
}



/* Modern Scroll Buttons */
.scroll-btn {
    background-color: #28a745; /* Green background */
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px; /* Slightly larger for better look */
    cursor: pointer;
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Modern shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover */
    border: 2px solid #28a745; /* Border color */
}

/* Left Button */
.scroll-btn.left {
    left: 15px; /* Increased margin for side positioning */
}

/* Right Button */
.scroll-btn.right {
    right: 15px; /* Increased margin for side positioning */
}

/* Hover Effects */
.scroll-btn:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-50%) scale(1.1); /* Slight scaling effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}




/* General styles for the header */
/*
HEADER NOT PINNED
header {
    position: relative;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other elements */
    background-color: #28a745; /* Keep the background consistent */
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}



.nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    list-style-type: none;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: white;
}

/* Hide navigation links on mobile */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide nav list on small screens */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding-bottom: 20px;
        background-color: #003826; /* Matches your header background */
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Hamburger menu */
    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 4px;
        margin: 6px auto;
        background-color: white;
        border-radius: 4px;
    }

    /* Show navigation when hamburger is clicked */
    .nav.active {
        display: flex;
        flex-direction: column;
        z-index: 9999;
        top: 100%;
    }
}

/* Default behavior for desktop (keep nav as normal) */
@media (min-width: 769px) {
    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: none; /* Hide hamburger icon on desktop */
    }
}

.phone-link {
            font-size: 1.3rem; /* Makes text larger */
            font-weight: bold; /* Makes text bold */
            color: #198754; /* Custom green color */
            text-decoration: none; /* Removes underline */
}

.phone-link:hover {
            color: #218838; /* Darker green on hover */
            text-decoration: underline; /* Optional: underline on hover */
}
