/* ============================================================
   ABOUT PAGE — PAGE-SPECIFIC OVERRIDES ONLY
   ============================================================ */

/* Page body */
body {
    margin: 0;
    padding: var(--topbar-height) 0 0 0; /* space below fixed top bar */
    background: var(--page-bg);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    text-align: center;
}

/* ============================================================
   MAIN TITLE
   ============================================================ */
h1 {
    color: var(--highlight-pink);
    margin-bottom: 20px;
}

h2, p {
    color: #131313;
}

/* ============================================================
   GALLERY (ABOUT PAGE VERSION)
   ============================================================ */

.gallery-wrapper {
    position: relative;
    max-width: 90%;
    margin: 20px auto;
}

.gallery-container-about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.gallery-container-about img {
    height: 150px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 8px;

    opacity: 0.5;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-container-about img.active {
    opacity: 1;
    transform: scale(1.5);
    z-index: 5;
}

/* Navigation buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background-color: rgba(0,0,0,0.5);
    color: white;

    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;

    z-index: 10;
    user-select: none;
}

.gallery-btn.left { left: 0; }
.gallery-btn.right { right: 0; }

.gallery-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Indicators */
.gallery-indicators {
    text-align: center;
    margin-top: 10px;
}

.gallery-indicators span {
    display: inline-block;
    width: 10px;
    height: 10px;

    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;

    cursor: pointer;
    transition: background 0.3s;
}

.gallery-indicators span.active {
    background-color: var(--brand-color);
}

/* ============================================================
   BACK TO TOP BUTTON (inherits from generalstyle.css)
   ============================================================ */
/* No changes needed — uses global styling. */

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px auto;
    width: 90%;
}

/* ============================================================
   TOPBAR (inherits from generalstyle.css)
   No modifications needed.
   ============================================================ */

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */

@media (max-width: 650px) {
    #topBar {
        flex-direction: column;
        height: auto;
        padding-bottom: 10px;
        gap: 10px;
    }

    #mainNavbar {
        white-space: normal;
        font-size: 14px;
        line-height: 22px;
    }

    #iconBar img {
        width: 26px;
        height: 26px;
    }

    body {
        padding-top: 150px; /* accommodate taller mobile topBar */
    }
}
