 /* ------------------ Navigation ------------------ */
nav {
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
}

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

nav a {
    text-decoration: none;
    font-weight: normal;
    font-size: 1em;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

nav a.active {
    color: #451501;
}

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

/* ------------------ Heading ------------------ */
h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 5em;
    text-align: center;
    background: linear-gradient(45deg, #270b00, #451501, #dc3903, #451501, #270b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.316),
        4px 4px 8px rgba(0,0,0,0.4),
        0 0 15px rgba(255,200,120,0.3);
}

.title-container {
    text-align: center;
}

.title-container h1 {
    margin-bottom: 20px;
}

/* ------------------ Footer ------------------ */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background: #11111182;
    color: #ffffff;
    font-size: 1em;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

/* ------------------ Reusable Glass Image Style ------------------ */
.glass-img {
    border: 5px solid rgba(103, 95, 95, 0.191);
    border-radius: 15px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

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


/* ------------------ Scrollable Image Row ------------------ */
.main-image {
    display: flex;
    justify-content: center;
    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::-webkit-scrollbar {
    height: 8px;
}

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

/* ------------------ Image Item (Caption Styling) ------------------ */
.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: bold;
    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);
    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;
}

.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;
    transition: 0.3s ease;
}

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

@media (max-width: 850px) {
    .content-row, 
    .content-row.center-text {
        flex-direction: column;
        gap: 10px;
    }

    .content-row.center-text .middle {
        max-width: 90%;
        text-align: center;
    }

    .content-text,
    .paragraph:first-of-type,
    .paragraph:nth-of-type(2),
    .content-text:first-of-type,
    .content-text:nth-of-type(2) {
        max-width: 90%;
        margin: 20px auto;
        text-align: center;
    }

    .content-row img,
    .image-item img {
        width: 90%;
        height: auto;
    }
}