/* Loading Animation for Barber School */
.loading-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.loading-text {
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background-color: var(--color-blue);
    width: 0%;
    border-radius: 5px;
    animation: loadingProgress 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

@keyframes loadingProgress {
    0% {
        width: 0%;
        opacity: 0.5;
    }

    50% {
        width: 70%;
        opacity: 1;
    }

    80% {
        width: 90%;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0.8;
    }
}

.loading-status {
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-family: 'Courier New', Courier, monospace;
}

/* Barber School Section Background */
.school {
    position: relative;
    background-image: url('assets/school_bg.jpg');
    background-size: 100% 100%;
    /* Stretched to fill exactly */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    /* background-attachment: fixed; Optional: Parallax effect */
    padding: 200px 0 var(--spacing-xl) 0;
    /* Taller section */
}

.school::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Dark overlay for text readability */
    z-index: 1;
}

.school .container {
    position: relative;
    z-index: 2;
}