/* custom.css */

/* Set text color for heading and paragraph */
h1.mt-5, h1.mt-5 + p {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* optional: for better contrast */
}

/* Add black-to-transparent fade overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

/* Navbar style improvements */
.navbar {
    background-color: rgba(0, 0, 0, 0.8); /* slight transparency */
}

.navbar .nav-link.nav-custom {
    font-size: 1.2rem;
    font-weight: bold;
    color: white !important;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar .nav-link.nav-custom:hover {
    color: #ffc107 !important; /* bright yellow on hover */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

body {
    padding-top: 70px; /* avoids text being hidden behind navbar */
}


.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlideshow 64s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }
.slide:nth-child(5) { animation-delay: 32s; }
.slide:nth-child(6) { animation-delay: 40s; }
.slide:nth-child(7) { animation-delay: 48s; }
.slide:nth-child(8) { animation-delay: 56s; }

@keyframes fadeSlideshow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}
