/* General Styles */
@font-face {
    font-family: 'Frunchy';
    src: url('../asset/fonts/frunchy/Frunchy.ttf') format('truetype'),
         url('../asset/fonts/frunchy/Frunchy.otf') format('opentype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Header Section */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    z-index: 100;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
    background-color: transparent; /* Initial background color */
    border-radius: 0 0 10px 10px; /* Rounded bottom corners */
}
.scrolled-header {
    background-color: #6C5E61!important; /* Red background color on scroll */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Shadow to hide the edges */
    border-radius: 0 0 10px 10px; /* Rounded bottom corners */
}


#header .logo img {
    width: 250px;
}

/* Banner Section (Slider) */
#banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Us Section */
#about {
    padding: 100px 20px;
    text-align: center;
    background: url('../asset/img/aboutbg.webp') no-repeat center center/cover;
    color: #fff;
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

#about h2, #about p {
    position: relative;
    z-index: 2; /* To ensure text is above overlay */
}

#about h2 {
    font-family: 'Frunchy', sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#about p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Destinations Section */
#destinations {
    padding: 50px 20px;
    text-align: center;
}

#destinations p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
}

#destinations h2 {
    font-family: 'Frunchy', sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 2.5rem;
}

.destination-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.destination-block {
    width: 22%;
    margin: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.destination-block img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* We Are Located In Section */
#location {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f4;
}
#location h2 {
    font-family: 'Frunchy', sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 2.5rem;
}
#location p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}
/* Footer Section */
#footer {
    padding: 20px;
    background-color: #6C5E61;
    color: #fff;
    text-align: center;
}

/* Scroll to Top Button */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    .destination-block {
        width: 100%; /* Smaller block size for mobile */
    }
}