/* ------------------ Base ------------------ */
body {
    margin: 0;
    font-family: 'Baloo 2', Arial, sans-serif;
    color: white;
    background-color: #b1c2ef3a;
}

/* ------------------ Background Video ------------------ */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(1px);
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 30, 80, 0.7),
        rgba(0, 0, 0, 0.4),
        rgba(120, 60, 20, 0.6)
    );
    z-index: -1;
}


/* ------------------ Scrollable Image Row ------------------ */
.main-image {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    min-width: max-content;
}

.main-image img {
    width: 400px;
    height: 210px;
    max-height: 210px;
    object-fit: cover;
    border: 5px solid rgba(103, 95, 95, 0.191);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.main-image::-webkit-scrollbar {
    height: 8px;
}

.main-image::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

/* ------------------ Content-row Images ------------------ */
.content-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin: 40px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.content-row img {
    width: 450px;
    height: 300px;
    object-fit: cover;
    border: 8px solid rgba(103, 95, 95, 0.6);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    scroll-snap-align: center;
}

.content-row.center-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------ Image Item (Image + Caption) ------------------ */
.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.image-item p {
    margin-top: 8px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.4em;       
    font-weight: normal;
    text-align: center;
    color: #bbb3af;
    background: rgba(0, 0, 0, 0.217);
    padding: 8px 12px;
    border-radius: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* shadow for readability */
    display: inline-block;
    letter-spacing: 2px
}

/* ------------------ Content Text ------------------ */
.content-row.center-text .middle {
    max-width: 400px;
    text-align: center;
}

.content-text {
    max-width: 400px;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: left;
}

.paragraph, .content-text {
    background: rgba(0, 0, 0, 0.235);
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(237, 70, 9, 0.277);
}

.paragraph {
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.2em;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox:target {
    display: flex;
}

.lightbox img {
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
}