@import "font.css";

main {
    margin-top: 0;
}

/* ===================================
   Hero Section
   =================================== */

.hero_ {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 0 4rem;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 100%;
        min-width: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
        min-height: auto;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero_ h1 {
    font-size: 4.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.567);
    
    max-width: 800px;
    line-height: 1.2;
    transition: all 0.4s ease;
}

.hero_ h1:hover {
    letter-spacing: 0.1em;
}

.hero_ p {
    font-size: 2rem;
    color: #fafafa;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 600px; /* 限制寬度 */
}

.scroll-indicator {
    position: absolute;
    bottom: 8vh; /* 往上移一點 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem; /* 增加間距 */
    z-index: 1;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px); /* hover 時向上浮動 */
}

.scroll-indicator-text {
    color: #333;
    font-size: 0.95rem; /* 加大字體 */
    letter-spacing: 0.2em; /* 增加字距 */
    font-weight: 600; /* 加粗 */
    opacity: 1; /* 完全不透明 */
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8); /* 加深陰影 */
    animation: pulse 2s ease-in-out infinite; /* 脈動動畫 */
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.scroll-indicator-line {
    width: 2px; /* 加粗線條 */
    height: 50px; /* 加長 */
    background: linear-gradient( to bottom, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 1) 50%, rgba(250, 250, 250, 0) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(250, 250, 250, 0.5); /* 發光效果 */
}

.scroll-indicator-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px; /* 加大移動點 */
    background: rgba(250, 250, 250, 1);
    box-shadow: 0 0 15px rgba(250, 250, 250, 0.8); /* 發光效果 */
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-25px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(50px);
        opacity: 0;
    }
}

.scroll-indicator:hover .scroll-indicator-line::before {
    animation-duration: 1s; /* hover 時加快 */
}

.about h2::before {
    content: '01';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 250px; /* 超大字體 */
    font-weight: 800;
    color: #f0f0f0; /* 非常淡的顏色 */
    z-index: -1; /* 放到最底層 */
    line-height: 1;
}

/* ===================================
   Magazine Section
   =================================== */

.magazine-section {
    width: 100%;
    background-color: #fafafa;
}

/* ===================================
   Exhibition Swiper
   =================================== */

.exhibition-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.exhibition-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.exhibition-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.exhibition-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 保留原有的 hover 效果 */
.hero-image-section:hover .exhibition-swiper img {
    transform: scale(1.03);
}

/* Hero Image Section */
.hero-image-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-image-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-section:hover img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 2.5rem;
    max-width: 400px;
    z-index: 10;
}

.hero-image-overlay h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.hero-image-overlay p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
}

/* Text Section */
.text-section {
    max-width: 900px;
    margin: 12vh auto;
    padding: 0 8vw;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.text-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.text-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.text-section p {
    font-size: 0.9rem;
    color: #666;
    line-height: 2.2;
    margin-bottom: 1.5rem;
}

/* Three Images Grid */
.three-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 8vh 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.three-images-grid.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.grid-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-image:hover img {
    transform: scale(1.08);
}

/* Side by Side Section */
.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
    margin: 10vh 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.side-by-side.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.side-by-side-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.side-by-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.side-by-side:hover .side-by-side-image img {
    transform: scale(1.05);
}

.side-by-side-text {
    background-color: #f8f8f8;
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-by-side-text h3 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.side-by-side-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Dark Section */
.dark-section {
    background-color: #1a3a52;
    color: #fafafa;
    padding: 12vh 8vw;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.dark-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.dark-section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.dark-section h2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.dark-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.dark-section-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

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

.dark-section-item h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #ddd;
}

.dark-section-item p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.8;
}

/* Large Text Section */
.large-text-section {
    max-width: 1000px;
    margin: 15vh auto;
    padding: 0 8vw;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.large-text-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.large-text-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
}

.large-text-section p {
    font-size: 0.95rem;
    color: #666;
    line-height: 2.2;
}

/* Image Caption Section */
.image-caption-section {
    max-width: 1000px;
    margin: 10vh auto;
    padding: 0 8vw;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.image-caption-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.image-caption-section img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.image-caption-section:hover img {
    transform: scale(1.02);
}

.image-caption-text {
    text-align: center;
}

.image-caption-text h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.image-caption-text p {
    font-size: 0.88rem;
    color: #666;
    line-height: 2;
}

/* Color Block */
.color-block {
    background-color: #e8e8e8;
    padding: 8vh 8vw;
    margin: 10vh 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.color-block.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.color-block-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.color-block h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.color-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 2.2;
}

/* ===================================
   Works Section
   =================================== */

.works-section {
    padding: 10vh 4rem;
    background: #fafafa;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.works-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4vh;
}

.works-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0;
}

.works-nav {
    display: flex;
    gap: 1rem;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e5e5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-button:hover {
    background-color: #46b036;
    color: #fafafa;
    transform: scale(1.1);
}

.works-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.works-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
    width: 100%;
}

.works-slider::-webkit-scrollbar {
    display: none;
}

.work-card {
    flex: 0 0 280px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.work-card:nth-child(1) {
    animation-delay: 0.1s;
}
.work-card:nth-child(2) {
    animation-delay: 0.2s;
}
.work-card:nth-child(3) {
    animation-delay: 0.3s;
}
.work-card:nth-child(4) {
    animation-delay: 0.4s;
}
.work-card:nth-child(5) {
    animation-delay: 0.5s;
}
.work-card:nth-child(6) {
    animation-delay: 0.6s;
}
.work-card:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0;
    position: relative;
}

.work-card img {
    width: 100%;
    height: auto;
    margin: 10px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.work-card:hover img {
    transform: scale(1.08);
}

.work-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafafa;
    font-size: 0.9rem;
    pointer-events: none;
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 0.8rem 2rem;
    background-color: #111;
    color: #fafafa;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #009944;
    transform: translateX(5px);
}

/* ===================================
   Credits Section
   =================================== */

.credits-section {
    padding: 100px 40px;
    background: #fafafa;
    opacity: 1 !important;
    transform: none !important;
}

.credits-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.credits-title {
    font-size: 48px;
    font-weight: 100;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.credits-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.credits-toggle-btn span {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.credits-toggle-btn:hover {
    color: #009944;
}

.credits-icon {
    transition: transform 0.3s ease;
}

.credits-icon circle {
    transition: stroke 0.3s ease;
}

.credits-icon .plus-vertical {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.credits-toggle-btn:hover .credits-icon {
    transform: rotate(90deg);
}

.credits-toggle-btn.active .plus-vertical {
    transform: rotate(90deg);
    opacity: 0;
}

.credits-toggle-btn.active .credits-icon {
    transform: rotate(45deg);
}

.credits-content {
    max-height: 3000px;
    overflow: visible;
    opacity: 1;
    margin-top: 40px;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.credits-content.hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
}

.credits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    row-gap: 30px;
    width: 100%;
}

.credit-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credit-item p {
    margin: 0;
    line-height: 1.8;
}

.credit-zh {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.02em;
}

.credit-en {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.02em;
}

/* ===================================
   Exhibition Section
   =================================== */

.exhibition {
    background-color: #333;
    color: #fafafa;
    padding: 12vh 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.exhibition.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.exhibition h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
}

.exhibition-details {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: left;
}

.exhibition-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.exhibition.fade-in .exhibition-info:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.exhibition.fade-in .exhibition-info:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.exhibition.fade-in .exhibition-info:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.exhibition.fade-in .exhibition-info:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.exhibition-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #aaa;
    letter-spacing: 0.1em;
}

.exhibition-info p {
    font-size: 1rem;
    line-height: 2;
    color: #fafafa;
}

.exhibition-info a {
    color: #fafafa;
}

/* ===================================
   Responsive Design (平板以下)
   =================================== */

/* 中型平板 (≥ 768px and < 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero_ {
        padding: 0 3rem 5rem;
    }

    .hero_ h1 {
        font-size: 3.5rem;
    }

    .hero_ p {
        font-size: 1.5rem;
    }

    .text-section,
    .large-text-section,
    .image-caption-section {
        max-width: 700px;
        padding: 0 6vw;
        margin: 10vh auto;
    }

    .text-section h2 {
        font-size: 1.8rem;
    }

    .side-by-side-text {
        padding: 4rem 3rem;
    }

    .side-by-side-text h3 {
        font-size: 2.5rem;
    }

    .hero-image-overlay {
        bottom: 3rem;
        right: 3rem;
        padding: 1.8rem 2rem;
        max-width: 350px;
    }

    .dark-section {
        padding: 10vh 6vw;
    }

    .dark-section h2 {
        font-size: 2rem;
    }

    .works-section {
        padding: 8vh 3rem;
    }

    .works-header h2 {
        font-size: 2rem;
    }

    .work-card {
        flex: 0 0 240px;
    }

    .work-card-image {
        height: 380px;
    }

    .exhibition {
        padding: 10vh 3rem;
    }

    .exhibition h2 {
        font-size: 2.2rem;
    }
}

/* 手機和小型平板 (< 1024px) */
@media (max-width: 1023px) {
    .three-images-grid,
    .dark-section-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .side-by-side {
        grid-template-columns: 1fr;
        min-height: auto;
        margin: 8vh 0;
    }

    .side-by-side-text {
        padding: 4rem 3rem;
    }

    .grid-image {
        height: 300px;
    }

    .work-card {
        flex: 0 0 240px;
    }

    .work-card-image {
        height: 240px;
    }

    .work-info {
        padding: 12px;
    }

    .work-title {
        font-size: 1rem;
    }

    .exhibition-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .color-block {
        padding: 6vh 6vw;
        margin: 8vh 0;
    }

    .credits-list {
        column-gap: 40px;
    }
}

/* 手機裝置 (< 768px) */
@media (max-width: 767px) {
    /* Hero Section */
    .hero_ {
        padding: 0 2rem 4rem;
        height: 100vh;
        min-height: 600px; /* 確保最小高度 */
    }

    .hero-video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* 直立手機（高度大於寬度）*/
    @media (orientation: portrait) {
        .hero-video {
            width: auto;
            height: 100%;
            min-width: 100%;
            min-height: auto;
        }
    }

    /* 橫向手機（寬度大於高度）*/
    @media (orientation: landscape) {
        .hero-video {
            width: 100%;
            height: auto;
            min-width: auto;
            min-height: 100%;
        }
    }

    .hero_ h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .hero_ p {
        font-size: clamp(1rem, 4vw, 1.3rem);
        max-width: 100%;
    }

    .scroll-indicator {
        bottom: 3vh;
        font-size: 0.85rem;
    }

    /* Magazine Section Elements */
    .hero-image-section {
        height: 50vh;
        min-height: 400px;
        position: relative; /* 確保是 relative */
        display: flex;
        flex-direction: column;
    }

    .hero-image-overlay {
        position: relative; /* 改為 relative */
        bottom: auto;
        right: auto;
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
        z-index: 10; /* 確保在 Swiper 上層 */
        background: rgba(255, 255, 255, 0.95);
        margin-top: auto; /* 推到底部 */
    }

    .hero-image-overlay h3 {
        font-size: 1rem;
    }

    .hero-image-overlay p {
        font-size: 0.8rem;
    }

    /* 修正 Swiper 在手機上的高度 */
    .exhibition-swiper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Text Sections */
    .text-section,
    .large-text-section,
    .image-caption-section {
        max-width: 100%;
        padding: 0 5vw;
        margin: 8vh auto;
    }

    .text-section h2,
    .large-text-section h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .text-section p,
    .large-text-section p {
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
        line-height: 2;
    }

    /* Three Images Grid */
    .three-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 6vh 0;
    }

    .grid-image {
        height: 250px;
    }

    /* Side by Side */
    .side-by-side {
        margin: 6vh 0;
    }

    .side-by-side-image {
        min-height: 300px;
    }

    .side-by-side-text {
        padding: 3rem 2rem;
    }

    .side-by-side-text h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }

    .side-by-side-text p {
        font-size: clamp(0.82rem, 2.3vw, 0.88rem);
        line-height: 2;
    }

    /* Dark Section */
    .dark-section {
        padding: 8vh 5vw;
    }

    .dark-section h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 2rem;
    }

    .dark-section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .dark-section-item img {
        height: 200px;
        margin-bottom: 1rem;
    }

    .dark-section-item h4 {
        font-size: 0.95rem;
    }

    .dark-section-item p {
        font-size: 0.82rem;
    }

    /* Image Caption */
    .image-caption-section {
        margin: 6vh auto;
    }

    .image-caption-section img {
        margin-bottom: 1.5rem;
    }

    .image-caption-text h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.3rem);
        margin-bottom: 0.8rem;
    }

    .image-caption-text p {
        font-size: clamp(0.82rem, 2.3vw, 0.88rem);
    }

    /* Color Block */
    .color-block {
        padding: 6vh 5vw;
        margin: 6vh 0;
    }

    .color-block h3 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 1rem;
    }

    .color-block p {
        font-size: clamp(0.82rem, 2.3vw, 0.88rem);
        line-height: 2;
    }

    /* Works Section */
    .works-section {
        padding: 8vh 1.5rem;
    }

    .works-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        margin-bottom: 3vh;
    }

    .works-header h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .works-nav {
        align-self: flex-end;
    }

    .nav-button {
        width: 36px;
        height: 36px;
    }

    .works-slider {
        gap: 1.5rem;
    }

    .work-card {
        flex: 0 0 200px;
    }

    .placeholder-text {
        font-size: 0.9rem;
    }

    .work-card-image {
        height: 200px;
    }

    .work-info {
        padding: 10px;
    }

    .work-title {
        font-size: 0.9rem;
    }

    .view-more-btn {
        margin-top: 2rem;
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }

    /* Credits Section */
    .credits-section {
        padding: 80px 20px;
    }

    .credits-container {
        max-width: 100%;
    }

    .credits-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .credits-toggle-btn {
        padding: 12px 30px;
    }

    .credits-toggle-btn span {
        font-size: 1.5rem;
    }

    .credits-content {
        margin-top: 30px;
    }

    .credits-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 25px;
    }

    .credit-zh {
        font-size: 15px;
    }

    .credit-en {
        font-size: 13px;
    }

    /* Exhibition Section */
    .exhibition {
        padding: 8vh 2rem;
    }

    .exhibition h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 3rem;
    }

    .exhibition-details {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .exhibition-info h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .exhibition-info p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* 小型手機 (< 480px) */
@media (max-width: 479px) {
    .hero_ {
        padding: 0 1.5rem 3rem;
        min-height: 550px;
    }

    .hero_ h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        font-weight: 800;
    }

    .hero_ p {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    }

    .hero-image-section {
        height: 45vh;
        min-height: 350px;
    }

    .hero-image-overlay {
        padding: 1.2rem;
    }

    .text-section,
    .large-text-section,
    .image-caption-section,
    .color-block {
        padding: 0 4vw;
    }

    .text-section h2,
    .large-text-section h2 {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }

    .text-section p,
    .large-text-section p,
    .color-block p {
        font-size: clamp(0.8rem, 2.2vw, 0.85rem);
    }

    .grid-image {
        height: 220px;
    }

    .side-by-side-image {
        min-height: 250px;
    }

    .side-by-side-text {
        padding: 2.5rem 1.5rem;
    }

    .side-by-side-text h3 {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    }

    .dark-section {
        padding: 6vh 4vw;
    }

    .dark-section h2 {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }

    .dark-section-item img {
        height: 180px;
    }

    .color-block {
        padding: 5vh 4vw;
        margin: 5vh 0;
    }

    .color-block h3 {
        font-size: clamp(1.2rem, 3.8vw, 1.4rem);
    }

    .works-section {
        padding: 6vh 1rem;
    }

    .works-header h2 {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }

    .works-slider {
        gap: 1rem;
    }

    .work-card {
        flex: 0 0 180px;
    }

    .placeholder-text {
        font-size: 0.85rem;
    }

    .work-card-image {
        height: 180px;
    }

    .work-title {
        font-size: 0.85rem;
    }

    .view-more-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.8rem;
    }

    .credits-toggle-btn span {
        font-size: 1.3rem;
    }

    .exhibition {
        padding: 6vh 1.5rem;
    }

    .exhibition h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 2.5rem;
    }

    .exhibition-info h3 {
        font-size: 0.95rem;
    }

    .exhibition-info p {
        font-size: 0.9rem;
    }
}

/* 超小型手機 (< 360px) */
@media (max-width: 359px) {
    .hero_ {
        padding: 0 1.2rem 2.5rem;
        min-height: 500px;
    }

    .hero_ h1 {
        font-size: 1.6rem;
    }

    .hero_ p {
        font-size: 0.9rem;
    }

    .text-section h2,
    .large-text-section h2 {
        font-size: 1.1rem;
    }

    .grid-image {
        height: 200px;
    }

    .side-by-side-text {
        padding: 2rem 1.2rem;
    }

    .side-by-side-text h3 {
        font-size: 1.2rem;
    }

    .dark-section-item img {
        height: 160px;
    }

    .work-card {
        flex: 0 0 160px;
    }

    .work-card-image {
        height: 160px;
    }

    .works-slider {
        gap: 1.5rem;
    }

    .work-title {
        font-size: 0.8rem;
    }

    .credits-toggle-btn span {
        font-size: 1.2rem;
    }
}

/* 橫向模式優化 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero_ {
        height: auto;
        min-height: 100vh;
        padding: 60px 40px 40px;
        justify-content: flex-end;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 超寬螢幕優化 (21:9 等) */
    @media (min-aspect-ratio: 21/9) {
        .hero-video {
            width: 100%;
            height: auto;
            min-height: 100%;
        }
    }

    /* 超高螢幕優化 (手機直立) */
    @media (max-aspect-ratio: 9/16) {
        .hero-video {
            width: auto;
            height: 100%;
            min-width: 100%;
        }
    }

    .hero_ h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero_ p {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-image-section {
        height: 80vh;
    }

    .text-section,
    .large-text-section {
        margin: 6vh auto;
    }

    .side-by-side-text {
        padding: 3rem 2.5rem;
    }

    .dark-section,
    .exhibition {
        padding: 8vh 4vw;
    }
}

/* 觸控裝置優化 */
@media (hover: none) and (pointer: coarse) {
    .work-card-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .nav-button {
        width: 44px;
        height: 44px;
    }

    .view-more-btn {
        padding: 0.9rem 2.2rem;
        font-size: 0.95rem;
    }

    .credits-toggle-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* 高解析度螢幕優化 */
@media (min-width: 1440px) {
    .text-section,
    .large-text-section {
        max-width: 1000px;
    }

    .dark-section-content,
    .exhibition-details {
        max-width: 1300px;
    }

    .credits-container {
        max-width: 1200px;
    }
}