* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    background: #f5f5f5;
    color: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

:root {
    --main-dark: #000000;
    --text-muted: #666666;
    --bg-light: #f5f5f5;
    --card-radius: 28px;
    --brand-orange: #ff5a2c;
}

/* Logo 樣式 */
.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.logo-light {
    filter: brightness(0) invert(1);
}

/* NAVIGATION */
.inner-nav-wrap {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.inner-nav {
    display: flex;
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    height: 64px;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--brand-orange);
}

.back-link .material-symbols-outlined {
    font-size: 1.2rem;
}

/* PAGE HEADER */
.page-title-sec {
    padding: 140px 8% 40px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #000;
    background: #fff;
    margin-bottom: 20px;
}

.page-title-sec h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.page-title-sec p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* GALLERY GRID */
.gallery-section {
    padding: 20px 8% 100px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eaeeec;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-info {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

.view-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 999px;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
}

.lightbox-caption {
    color: #fff;
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 600;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
}

.close-btn {
    top: 24px;
    right: 24px;
}

.prev-btn {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.next-btn {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

/* FOOTER */
footer {
    background: #000000;
    padding: 90px 8% 60px 8%;
    color: #888888;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.socials {
    display: flex;
    gap: 14px;
}

.socials a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: .85rem;
}

/* RWD */
@media(max-width:900px) {
    body {
        padding-top: 64px;
    }

    .page-title-sec {
        padding: 40px 5% 20px 5%;
    }

    .page-title-sec h1 {
        font-size: 2.4rem;
    }

    .gallery-section {
        padding: 10px 5% 60px 5%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    footer {
        padding: 40px 5% 50px 5%;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}