/* ========================================
   SUMMER KISSES - MAIN STYLESHEET
   ======================================== */

/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}





/* ===== GENERAL BODY STYLES ===== */
/* 主要頁面樣式設定 */
body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== HERO SECTION ===== */
/* 主要橫幅區塊樣式 - 使用影片作為背景 */
.hero {
    position: relative;
    height: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

/* ===== ABOUT US SECTION (BODY001) ===== */
/* 關於我們區塊樣式 - 恢復原始設計 */
.body001 {
    height: 556px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 1rem;
}

.text-content {
    max-width: 800px;
    text-align: center;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}



.text-content p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

/* 按鈕樣式 - 恢復原始設計 */
.text-button {
    display: inline-block;
    width: 200px;
    height: 43px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #000;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.text-button:hover {
    background-color: #f7bc51;
    color: #fff;
    border-color: #f7bc51;
}

/* ===== IMAGE GALLERY SECTION (BODY002) ===== */
/* 圖片展示區塊樣式 - 恢復原始設計 */
.body002 {
    width: 100%;
    height: 600px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.image-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100%;
}

.image-left, .image-right {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.image-left {
    width: 65%;
}

.image-right {
    width: 35%;
}

.image-left img, .image-right img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-50%);
}

/* ===== RESPONSIVE DESIGN FOR BODY002 ===== */
/* 手機版斷點 - 圖片改為上下排列 */
@media (max-width: 768px) {
    .body002 {
        height: auto !important;
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .image-container {
        flex-direction: column !important;
        height: auto !important;
        gap: 0 !important;
        margin: 0 !important;
    }
    
    .image-left, .image-right {
        width: 100% !important;
        height: 300px !important;
        position: relative !important;
        margin: 0 !important;
    }
    
    .image-left img, .image-right img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* 更小的手機版斷點 */
@media (max-width: 576px) {
    .body002 {
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .image-left, .image-right {
        height: 250px !important;
        margin: 0 !important;
    }
    
    .image-container {
        gap: 0 !important;
        margin: 0 !important;
    }
}

/* ===== VIDEO PORTFOLIO SECTION (BODY004) ===== */
/* 影片作品集區塊樣式 - 恢復原始設計 */
.body004 {
    padding: 0rem 0;
    position: relative;
    overflow: hidden;
}

/* ===== CONTACT SECTION ===== */
/* 聯絡按鈕區塊樣式 - 手機版優化 */
@media (max-width: 768px) {
    .contact-section {
        margin: 2rem 0 !important;
    }
}

@media (max-width: 576px) {
    .contact-section {
        margin: 1.5rem 0 !important;
    }
}

@media (max-width: 400px) {
    .contact-section {
        margin: 1rem 0 !important;
    }
}



/* body004 區塊的文字內容樣式調整 */
.body004 .text-content {
    text-align: center;
    margin: 3rem auto 3rem auto;
    position: relative;
    z-index: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    max-width: 800px;
    width: 100%;
}

/* Video Grid 樣式已移至 HTML 內嵌 CSS */

/* ===== FOOTER SECTION ===== */
/* 頁尾樣式已移至 css/footer.css 檔案中 */

/* ===== RESPONSIVE DESIGN ===== */

/* 大螢幕樣式 (≥1920px) */
@media (min-width: 1920px) {
    .hero {
        height: 1400px;
    }
}



/* 桌面版樣式 (≥992px) */
@media (min-width: 992px) {
    .hero {
        height: 1400px;
    }
    
    .text-content .button-group {
        flex-direction: row;
        gap: 1rem;
    }
    
    .text-button {
        width: 200px;
        height: 43px;
        line-height: 40px;
        font-size: 14px;
    }
    
    .text-button:last-child {
        margin-left: 1rem;
    }
    
    /* Video Grid 樣式已移至 HTML 內嵌 CSS */
}

/* 平板版樣式 (≤991px) - 已移至 header-navigation.css */

/* 平板版樣式 (≤991px) */
@media (max-width: 991px) {
    .hero {
        height: calc(100vw * 1.7); /* 直式3:5比例，高度是寬度的1.67倍 */
        min-height: 650px; /* 最小高度限制 */
        max-height: 900px; /* 最大高度限制 */
    }
}

/* 手機版樣式 (≤768px) */
@media (max-width: 768px) {
    .hero {
        height: calc(100vw * 1.7); /* 直式3:5比例，高度是寬度的1.67倍 */
        min-height: 500px; /* 最小高度限制 */
        max-height: 750px; /* 最大高度限制 */
    }
    
    /* About Us Section 手機版優化 */
    .body001 {
        height: auto;
        min-height: 400px;
        padding: 50px 1rem;
    }
    
    .body001 .text-content {
        height: auto;
        min-height: 200px;
        padding: 1rem 0;
    }

    /* Button Styles */
    .text-content .button-group {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .text-button {
        width: 120px;
        height: 35px;
        line-height: 35px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .text-button:last-child {
        margin-bottom: 0;
    }

    /* Video Grid 樣式已移至 HTML 內嵌 CSS */
    
    /* body004 文字內容手機版優化 */
    .body004 .text-content {
        margin: 1rem auto;
        padding: 0.5rem 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .body004 .text-content p {
        font-size: 14px;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* 小手機版樣式 (≤576px) */
@media (max-width: 576px) {
    /* About Us Section 小手機版優化 */
    .body001 {
        min-height: 350px;
        padding: 50px 1rem;
    }
    
    .body001 .text-content {
        min-height: 180px;
        padding: 0.5rem 0;
    }
    
    .body001 .text-content p {
        font-size: 14px;
        margin: 1rem 0;
    }
    
    .body001 .text-button {
        width: 120px;
        height: 35px;
        line-height: 35px;
        font-size: 12px;
    }

    /* Button Styles */
    .text-content .button-group {
        gap: 20px;
    }

    .text-button {
        width: 120px;
        height: 35px;
    }

    
    /* Video Grid 樣式已移至 HTML 內嵌 CSS */
    
    /* body004 文字內容小手機版優化 */
    .body004 .text-content {
        margin: 0.5rem auto;
        padding: 0.5rem 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .body004 .text-content p {
        font-size: 13px;
        margin: 0.5rem 0;
        text-align: center;
    }
    
    /* Video Grid 樣式已移至 HTML 內嵌 CSS */
}

/* 超小螢幕樣式 (≤400px) */
@media screen and (max-width: 400px) {
    /* body002 超小螢幕優化 */
    .body002 {
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .body002 .image-left, 
    .body002 .image-right {
        height: 200px !important;
        margin: 0 !important;
    }
    
    .body002 .image-container {
        gap: 0 !important;
        margin: 0 !important;
    }
    
    .body001 .text-content img {
        width: 200px;
    }
    
    /* Video Grid 樣式已移至 HTML 內嵌 CSS */
}

/* ===== LOGO RESPONSIVE ADJUSTMENTS ===== */
/* 關於我們區塊 Logo 響應式調整 */
.body001 .text-content img {
    max-width: 100%;
    height: auto;
    width: 362px;
}

/* 大螢幕 Logo 調整 */
@media screen and (max-width: 1200px) {
    .body001 .text-content img {
        width: 300px;
    }
}

@media screen and (max-width: 992px) {
    .body001 .text-content img {
        width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .body001 .text-content img {
        width: 300px;
    }
}

@media screen and (max-width: 576px) {
    .body001 .text-content img {
        width: 250px;
    }
}

/* 手機版品牌標誌調整 - 已移至 header-navigation.css */

/* Video Grid 樣式已移至 HTML 內嵌 CSS */



