/* Existing styles from your provided CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

main {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
    /* margin-bottom: 0; /* Remove bottom margin if background fills the space */


    padding: 2rem 0;
    /* padding: 2rem; /* Add horizontal padding to contain content within the background */

    /* Add a bottom border to create a line */
    border-bottom: 1px solid #eee; /* Light gray solid line */
}

/* You might want to remove the border from the last section */
section:last-of-type {
    border-bottom: none;
}


/* Style for alternating section backgrounds */
section:nth-child(odd) { /* Targets odd-numbered sections (1st, 3rd, 5th, etc.) */
    background-color: #f9f9f9; /* A very light gray */
}

section:nth-child(even) { /* Targets even-numbered sections (2nd, 4th, 6th, etc.) */
    background-color: #ffffff; /* White background */
}

/* Add margin between sections if you remove the bottom border */
section + section {
    margin-top: 2rem; /* Add space above sections, except the first one */
}



h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
}

footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* --- New Styles for Lists --- */

/* Style for the main unordered list */
ul {
    list-style-type: disc; /* Default bullet for top-level lists (e.g., Movies, TV, Music) */
    margin-left: 20px; /* Add some default indentation for top-level lists */
}

/* Style for nested unordered lists */
ul ul {
    list-style-type: circle; /* Different bullet for nested lists (e.g., Count) */
    margin-left: 20px; /* Indent nested lists further */
}

/* You can add more levels if needed, for example: */
/*
ul ul ul {
    list-style-type: square;
    margin-left: 20px;
}
*/

/* --- End of New Styles for Lists --- */


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    main {
        margin-top: 120px;
        padding: 1rem;
    }

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

    .gallery-item img {
        height: 150px;
    }

    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        font-size: 1.5rem;
        top: -30px;
    }
}
