/* Base page styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Slideshow container */
.slideshow {
    width: 100%;
    max-width: 900px;     /* Desktop cap */
    aspect-ratio: 16 / 10; /* Keeps consistent frame */
    background-color: #f5f5f5; /* same as body background */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Images */
.slides {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation */
nav {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    background-color: #ddd;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #aaa;
    color: #fff;
}

/* 📱 Mobile-specific tweaks */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    nav a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}