/* Shared styles across all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - shared across pages */
header {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(2px);
}

nav ul.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul.nav-links li {
    margin: 0 20px;
}

nav ul.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul.nav-links a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.header-logo {
    height: 75px;
    width: auto;
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

/* Footer - shared across pages */
footer {
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(2px);
    width: 100%;
    left: 0;
    margin-top: auto; /* Stick to bottom when content is short */
}

/* Social footer */
.footer-social {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: 0.95rem;
}
.footer-social a {
    color: #fff;
    text-decoration: none;
}
.footer-social a:hover {
    text-decoration: underline;
}
.footer-social .dot {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul.nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-logo {
        height: 30px;
    }
}


/* Background Slideshow (shared) */
.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-slide.active {
    opacity: 1;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}
