/* Custom styles */
.hero-section {
    height: 100vh;
    position: relative;
    background-image: url('../images/hero-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section h1,
.hero-section p,
.hero-section .lead {
    color: white !important;
    position: relative;
    z-index: 2;
}

.container {
    z-index: 2;
    position: relative;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

section {
    padding: 80px 0;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

/* Optional overlay effect */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Add more custom styles as needed */

.fa-chevron-down {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

html {
    scroll-behavior: smooth !important;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    color: white;
    text-decoration: none;
}

.gallery-trigger {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.gallery-trigger:hover {
    color: #0d6efd;
}

.gallery-trigger .fa-chevron-down {
    transition: transform 0.3s ease;
}

.gallery-trigger[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.gallery-header h2 {
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 10px;
}

.gallery-header h2:hover {
    color: #0d6efd;
}

/* Remove any hover effects on the gallery section itself */
#gallery {
    pointer-events: auto;
}

.gallery-header {
    text-align: center;
    pointer-events: none;
}

.gallery-header h2 {
    pointer-events: auto;
}

.collapse-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.collapse-trigger:hover {
    color: #0d6efd;
}

/* Remove any pointer events from the section */
#gallery {
    pointer-events: initial;
}

/* Reset any inherited pointer-events */
#gallery h2 {
    pointer-events: initial;
}

.gallery-header h2 {
    margin-bottom: 0.5rem;
    user-select: text;
}

.collapse-control {
    display: inline-block;
    cursor: pointer;
    color: #0d6efd;
    font-size: 1rem;
    padding: 5px 10px;
    margin-bottom: 1rem;
}

.collapse-control:hover {
    color: #0a58ca;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

/* Remove the selection highlight from the gallery section */
#gallery .row {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for the header */
#gallery h2 {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Reset all styles first */
#gallery {
    position: relative;
    z-index: 1;
}

#gallery .container {
    position: relative;
    z-index: 2;
}

.collapse-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    position: relative;
    z-index: 3;
}

.collapse-trigger:hover {
    color: #0d6efd;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.enlarged-map {
    width: 100%;
    height: auto;
}


/* Existing styles... */

.spaced-h1 {
    margin-top: 80px; /* Adjust the value as needed */
}

.spaced-paragraph {
    margin-bottom: 60px; /* Adjust the value as needed */
}