/* Nordic Minimalist CSS Template for Band Website */
/* Dark theme with rounded images and clean, modern design */

/* Reset default styles for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1f;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #121212;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
}

iframe {
    border: none;
    width: 100%;
    background-color: #121212;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1.5rem;
    display: inline;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a3bffa;
}

.active {
    font-weight: bold;
    color: #E0FFFF;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Verdana', serif;
    color: #ffffff;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
}

/* Paragraphs */
p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 1rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

img[srcset] {
    width: 100%;
}

/* Image gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Slideshow container */
.slideshow-container {
    width: 90vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

/* Links */
a {
    color: #a3bffa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #121212;
    text-align: center;
    padding: 1rem;
    color: #e0e0e0;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Button styles */
button, .btn {
    background-color: #2e3440;
    color: #e0e0e0;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #a3bffa;
    color: #121212;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    main {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery img {
        height: 150px;
    }

    .slideshow-container {
        width: 95vw;
        aspect-ratio: 4 / 3;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    img {
        border-radius: 10px;
    }

    .gallery img {
        height: 120px;
    }

    .slideshow-container {
        width: 100vw;
        aspect-ratio: 3 / 2;
        max-height: 50vh;
    }

    nav ul li {
        margin: 0 0.5rem;
    }

    nav ul li a {
        font-size: 1rem;
    }
}


        /* Gallery styles */
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            padding: 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            border: 2px solid #ccc;
            transition: transform 0.3s ease;
        }
        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        .gallery-item:hover, .gallery-item:active {
            transform: scale(1.05);
            cursor: pointer;
        }

        /* Lightbox styles */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .lightbox.active {
            display: flex;
        }
        .lightbox-img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: #ffffff;
            font-size: 2rem;
            cursor: pointer;
            text-decoration: none;
        }
        .lightbox-close:hover {
            color: #1e90ff;
        }
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #ffffff;
            font-size: 3rem;
            cursor: pointer;
            text-decoration: none;
            background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
            padding: 10px 15px;
            border-radius: 50%;
            user-select: none;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
        }
        .lightbox-prev {
            left: 20px;
        }
        .lightbox-next {
            right: 20px;
        }
        .lightbox-nav:hover {
            color: #1e90ff;
            background-color: rgba(0, 0, 0, 0.7);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }
            .gallery-item img {
                height: 150px;
            }
            .lightbox-nav {
                font-size: 2rem;
                padding: 8px 12px;
            }
        }
        @media (max-width: 480px) {
            .gallery-container {
                grid-template-columns: 1fr;
            }
            .gallery-item img {
                height: 200px;
            }
            .lightbox-nav {
                font-size: 1.5rem;
                padding: 6px 10px;
            }
        }


        /* Band member section */
        .band-member {
            display: flex;
            align-items: flex-start;
            background-color: #2c2c2c;
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        .band-member-text {
            flex: 1;
            padding-right: 1rem;
        }
        .band-member-text p {
            margin: 0;
            line-height: 1.5;
        }
        .band-member-text a {
            color: #1e90ff;
            text-decoration: none;
        }
        .band-member-text a:hover {
            color: #4682b4;
        }
        .band-member-image {
            width: 150px;
            height: 150px;
            border-radius: 10px;
            object-fit: cover;
            border: 2px solid #ccc;
        }

        /* Guest musicians section */
        .guest-musicians {
            background-color: #2c2c2c;
            padding: 1rem;
            border-radius: 10px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        .guest-musicians p {
            margin: 0;
            line-height: 1.5;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .band-member {
                flex-direction: column;
                align-items: center;
            }
            .band-member-text {
                padding-right: 0;
                margin-bottom: 1rem;
                text-align: center;
            }
            .band-member-image {
                width: 120px;
                height: 120px;
            }
            .band-live-image {
                width: 300px;
                height: 120px;
            }
        }
        @media (max-width: 480px) {
            .band-member-image {
                width: 100px;
                height: 100px;
            }
        }