/* ============================================================
   pages.css - 首页专属样式
   ============================================================ */

/* ============================================================
   ★ 轮播图：100% 全屏宽度
   ============================================================ */
.carousel-wrapper {
    position: relative;
    width: 100vw; max-height:660px;
    left: 50%;
    transform: translateX(-50%);
    background: #d9d2ca;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 200px;
}
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.slide-text-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}
.slide-text-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
    color: white;
    text-shadow: 0 6px 24px rgba(0,0,0,0.6);
    line-height: 1.2;
    transform: translateY(-10%);
}
.slide-text-content h2 {
    font-size: clamp(36px, 7vw, 68px);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2px;
    display: block;
}
.slide-text-content p {
    font-size: clamp(18px, 3.5vw, 34px);
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.95;
    display: block;
    margin-top: 2px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(2px);
    padding: 4px 18px 4px 14px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 640px) {
    .slide-text-content { padding: 0 16px; transform: translateY(-5%); }
    .slide-text-content h2 { font-size: clamp(28px, 10vw, 40px); }
    .slide-text-content p { font-size: clamp(16px, 5vw, 24px); padding: 2px 12px; }
}
@media (min-width: 1200px) {
    .slide-text-content { padding: 0 40px; }
}

/* ============================================================
   ★ 攝影活動作品列表
   ============================================================ */
.gallery-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 40px 24px;
    background: #ffffff;
}
@media (max-width: 640px) {
    .gallery-module {
        padding: 20px 16px 30px 16px;
    }
}
@media (min-width: 1200px) {
    .gallery-module {
        padding: 40px 40px 50px 40px;
    }
}

/* ============================================================
   ★ 2026七八月份攝影活動 日程表格
   ============================================================ */
.schedule-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px 0px 24px;
    background: #ffffff;
}
.schedule-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px double #1a1a1a;
}
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    scrollbar-width: thin;
    scrollbar-color: #c0b8b0 #f5f2ef;
}
.table-wrap::-webkit-scrollbar {
    height: 6px;
    background: #f5f2ef;
    border-radius: 10px;
}
.table-wrap::-webkit-scrollbar-track {
    background: #f5f2ef;
    border-radius: 10px;
}
.table-wrap::-webkit-scrollbar-thumb {
    background: #c0b8b0;
    border-radius: 10px;
    transition: background 0.2s;
}
.table-wrap::-webkit-scrollbar-thumb:hover {
    background: #a09890;
}
.schedule-table table {
    width: 100% !important;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid #e0dbd6;
}
.schedule-table table thead th {
    background: #00aeff;
    color: #ffffff;
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-right: 1px solid #0090d6;
}
.schedule-table table thead th:last-child {
    border-right: none;
}
.schedule-table table tbody td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #e8e3de;
    border-right: 1px solid #e8e3de;
    vertical-align: middle;
    color: #1e1e1e;
}
.schedule-table table tbody td:last-child {
    border-right: none;
}
.schedule-table table tbody tr:nth-child(even) {
    background: #f9f7f5;
}
.schedule-table table tbody tr:hover {
    background: #f0ebe6;
    transition: background 0.15s;
}
.schedule-table table tbody td:first-child {
    font-weight: 600;
    color: #a04030;
}
.schedule-table table tbody td:nth-child(2) {
    font-weight: 500;
    color: #2d5a5a;
}
.schedule-table table tbody td:nth-child(3) {
    font-weight: 500;
}
.schedule-table table tbody td:nth-child(4) {
    font-weight: 500;
    color: #7a4a3a;
}
.schedule-table table tbody td:nth-child(5) {
    font-weight: 600;
    color: #1a1a1a;
}
@media (max-width: 640px) {
    .schedule-module {
        padding: 10px 12px 0px 12px;
    }
    .schedule-title {
        font-size: 20px;
    }
    .schedule-table table {
        font-size: 13px;
        min-width: 600px;
    }
    .schedule-table table thead th,
    .schedule-table table tbody td {
        padding: 10px 8px;
    }
}
@media (max-width: 420px) {
    .schedule-module {
        padding: 6px 8px 0px 8px;
    }
    .schedule-title {
        font-size: 17px;
    }
    .schedule-table table {
        font-size: 12px;
        min-width: 500px;
    }
    .schedule-table table thead th,
    .schedule-table table tbody td {
        padding: 8px 6px;
    }
}
@media (min-width: 1200px) {
    .schedule-module {
        padding: 10px 40px 0px 40px;
    }
    .schedule-title {
        font-size: 30px;
    }
}

/* ============================================================
   ★ 香港人氣影會 品牌介绍
   ============================================================ */
.brand-intro-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #f8dcdc;
    padding:0px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.brand-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.brand-intro-content .left-image {
    flex: 0 0 40%;
    max-width: 40%;
}
.brand-intro-content .left-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.brand-intro-content .right-text {
    flex: 1;
    background: #ffffff;
    padding: 30px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    font-size: 16px;
    line-height: 1.8;
    color: #1e1e1e;
}
.brand-intro-content .right-text p {
    margin-bottom: 16px;
}
.brand-intro-content .right-text p:last-child {
    margin-bottom: 0;
}
.brand-intro-content .right-text .signature {
    text-align: right;
    font-weight: 600;
    color: #a04030;
    margin-top: 8px;
}
@media (max-width: 768px) {
    .brand-intro-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }
    .brand-intro-content .left-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .brand-intro-content .right-text {
        padding: 24px 20px;
        font-size: 15px;
    }
    .brand-intro-wrapper {
        padding: 35px 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .brand-intro-wrapper {
        padding: 25px 0;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .brand-intro-content .right-text {
        padding: 18px 16px;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .brand-intro-content { padding: 0 40px; }
    .brand-intro-content .right-text { padding: 40px 44px; font-size: 18px; }
    .brand-intro-wrapper {
        padding: 0px 0;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

/* ============================================================
   ★ 寫真案例 / 活動作品 (无分页)
   ============================================================ */
.case-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 50px 24px;
    background: #ffffff;
}
.case-module .gallery-header {
    margin-bottom: 28px;
}
.case-module .product-grid {
    margin-bottom: 0;
}
@media (max-width: 640px) {
    .case-module {
        padding: 10px 16px 30px 16px;
    }
}
@media (max-width: 420px) {
    .case-module {
        padding: 6px 10px 20px 10px;
    }
}
@media (min-width: 1200px) {
    .case-module {
        padding: 20px 40px 60px 40px;
    }
}

/* ============================================================
   ★ PUZZLE STUDIO 模块
   ============================================================ */
.puzzle-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #e8bcac;
    padding: 50px 0;
    margin-top: 30px;
    margin-bottom: 0;
}
.puzzle-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.puzzle-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}
.puzzle-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.puzzle-item .image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #d9c8bc;
}
.puzzle-item .title {
    padding: 14px 16px 16px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 0.5px;
    background: #ffffff;
    border-top: 1px solid #f0ece8;
}
@media (max-width: 768px) {
    .puzzle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .puzzle-wrapper {
        padding: 35px 0;
        margin-top: 20px;
    }
}
@media (max-width: 480px) {
    .puzzle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .puzzle-wrapper {
        padding: 25px 0;
        margin-top: 15px;
    }
    .puzzle-item .title {
        font-size: 13px;
        padding: 10px 12px 12px 12px;
    }
}
@media (min-width: 1200px) {
    .puzzle-content { padding: 0 40px; }
    .puzzle-wrapper {
        padding: 60px 0;
        margin-top: 40px;
    }
    .puzzle-grid {
        gap: 30px;
    }
}