/* --- GLOBAL THEME --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; padding: 0;
    background-color: #f8f4f9; 
    color: #4a3b4e;
}

.container { max-width: 900px; margin: 0 auto; padding: 20px; }

header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #8e7dbe, #b39cd0);
    color: white;
}

nav a {
    color: white; text-decoration: none; margin: 0 15px; font-weight: bold;
}

/* --- HOMEPAGE SLIDESHOW --- */
#slideshow-container {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #dcd6f7;
    border-radius: 12px;
    margin-top: 20px;
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-image.active { opacity: 1; z-index: 1; }

/* --- GALLERY GRID --- */
.photo-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-thumb {
    width: 100%; height: 200px; object-fit: cover;
    border-radius: 8px; cursor: pointer; border: 3px solid white;
}

/* --- LIGHTBOX (Gallery Expanded View Only) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(46, 35, 54, 0.95);
    justify-content: center; align-items: center;
}

#lightbox-img { max-width: 90%; max-height: 80%; border: 4px solid white; }

.close-btn {
    position: absolute; top: 20px; right: 40px;
    color: white; font-size: 50px; cursor: pointer;
}

/* Navigation Arrows for LIGHTBOX ONLY */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 10px 20px;
    z-index: 3000;
}
.prev { left: 20px; }
.next { right: 20px; }

footer { text-align: center; padding: 40px; color: #8e7dbe; }