#hero {
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(19, 18, 18, 0.7), rgba(36, 35, 35, 0.75));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

#hero > * {
    position: relative;
    z-index: 2;
}

#navbar {
    transition: all 0.3s ease-in-out;
}

#navbar img {
    transition: height 0.3s ease-in-out;
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0;
}

.navbar-scrolled .container {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

/* Loading Animation Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0A;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-container {
    text-align: center;
}

.loading-container p {
    margin-top: 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

.scaffold-loader {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto;
}

.beam {
    position: absolute;
    background: linear-gradient(to right, #FFD700, #FFA500);
    width: 20px;
    height: 3px;
    border-radius: 2px;
    animation: build 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.beam:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.beam:nth-child(2) {
    top: 45%;
    animation-delay: 0.5s;
}

.beam:nth-child(3) {
    top: 70%;
    animation-delay: 1s;
}

@keyframes build {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 100%;
    }
    100% {
        left: 100%;
        width: 0;
    }
}
