html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}
a {
    color: #fbb321;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: transparent;
    transition: background-color 0.5s ease, height 0.5s ease;
    height: 100px;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-header.scrolled {
    background-color: white;
    height: 70px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: auto;
}

#main-logo {
    width: 600px;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    transition: background-image 0.3s ease;
}

.navbar-nav .nav-link.active {
    color: #fbb321;
}

#main-header.scrolled .navbar-nav .nav-link.active {
    color: #fbb321;
}

#main-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
    color: white;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
    left: 0;
}

#main-header .navbar-nav .nav-link:hover,
#main-header .navbar-nav .nav-link:focus {
    color: white;
}

#main-header.scrolled .nav-link {
    color: black;
}

#main-header.scrolled .navbar-nav .nav-link:hover,
#main-header.scrolled .navbar-nav .nav-link:focus {
    color: #0056b3;
}

#main-header.scrolled .nav-link::after {
    background-color: black;
}

.btn-primary {
    background-color: #6c8493;
    border-color: #6c8493;
    color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a7180;
    border-color: #5a7180;
}

@media (max-width: 768px) {
    #main-logo {
        width: 280px;
    }

    #main-header {
        height: 80px;
    }

    #main-header.scrolled {
        height: 60px;
    }

    #main-header .nav-link {
        color: #6c757d;
        padding-left: 20px;
        padding-right: 20px;
    }

    #main-header .nav-link:hover,
    #main-header .nav-link:focus {
        color: #FFFFFF !important;
    }

    #hero {
        height: 50vh !important;
    }

    .navbar-collapse {
        background-color: white;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1030;
        max-height: 100vh;
        overflow-y: auto;
    }
    .big .carousel-item img {
        height: 300px !important;
    }

}

#hero {
    height: 100vh;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
  
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

#bg-layer-1 {
    opacity: 1 !important;
    background-image: image-set(
        url('/media/img/hero-background1-25.webp') type('image/webp'),
        url('/media/img/hero-background1-25.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
}

#bg-layer-2 {
    opacity: 0;
    background-image: image-set(
        url('/media/img/hero-background2-25.webp') type('image/webp'),
        url('/media/img/hero-background2-25.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
}

#bg-layer-3 {
    opacity: 0;
    background-image: image-set(
        url('/media/img/hero-background3-25.webp') type('image/webp'),
        url('/media/img/hero-background3-25.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
}

#hero .container {
    z-index: 2;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    z-index: 1;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#hero p {
    font-size: 1.7rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

#hero .btn-primary {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#hero .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

#about-hero, #gallery-hero {
    height: 50vh;
    background-position: center;
    background-size: cover;
    position: relative;
    color: white;
    text-align: center;
}

#about-hero h1, #gallery-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#about-hero p, #gallery-hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

#about-hero .btn-primary, #gallery-hero .btn-primary {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#about-hero .btn-primary:hover, #gallery-hero .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.about-section {
    background-color: #ffffff;
}

.carousel-section {
    background-color: #f8f9fa;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.carousel-item img {
    width: 100%;
    height: 345px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.big .carousel-item img {
    height: 600px;
}

.tab-pane img {
    width: 100%;
    height: 234px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.ga-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.tab-pane img:hover, .ga-img:hover {
    transform: scale(1.05);
}

.nav-tabs {
    border-bottom: none;
    justify-content: center;
    position: relative;
}

.nav-tabs .nav-link {
    background-color: transparent;
    color: #6c757d;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-tabs .nav-link.active {
    color: #fbb321;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #6c757d;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-tabs .nav-link:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.nav-tabs .nav-link.active::after {
    width: 100%;
    background-color: #fbb321;
}

.text-white {
    color: #fff;
}

.contact-section {
    background-color: #e9ecef;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-section .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 15px;
}

.contact-section .btn-primary {
    padding: 10px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-section .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

footer {
    background-color: #d6d8db;
    padding: 1rem 0;
}

footer p {
    margin: 0;
    color: #495057;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

  
  