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

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

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff; /* 設置白色背景 */
    overflow-x: hidden; /* 防止水平滾動 */
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== FONT DEFINITIONS ===== */
/* 使用 Google Fonts ABeeZee 字體，已在 HTML 中引入 */

/* ===== UTILITY CLASSES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* 完整版链接样式 */
.complete-version-link {
    color: #f7bc51;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.complete-version-link:hover {
    color: #e5a93c;
    text-decoration: none;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-warning {
    color: #f7bc51 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.btn-warning {
    background-color: #f7bc51 !important;
    border-color: #f7bc51 !important;
    color: #fff !important;
}

.btn-warning:hover {
    background-color: #e5a93c !important;
    border-color: #e5a93c !important;
}

.bg-gradient {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.section-title {
    font-family: 'ABeeZee', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #f7bc51;
}

/* ===== HERO SECTION ===== */
/* 主要橫幅區塊樣式 - 關於我們頁面專用 */
.hero {
    position: relative;
    height: 700px;
    background-image: url('../images/hero/0623_08.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* About Hero Section - 從 about.css 整合 */
.about-hero {
    position: relative;
    height: 700px;
    background-image: url('../images/hero/0623_06.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.about-hero .row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .col-12 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}

.about-hero-content h1 {
    font-family: 'ABeeZee', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
    color: #fff;
}

/* 移除未使用的樣式，因為HTML使用Bootstrap類別 */

/* ===== ABOUT STORY SECTION ===== */
.about-story {
    background-color: #fff;
    padding: 5rem 0;
}

/* 移除未使用的樣式，因為HTML使用Bootstrap容器 */

/* 移除可能與Bootstrap衝突的樣式 */

/* 移除未使用的樣式 */

/* 移除未使用的樣式 */

/* 移除未使用的CSS Grid樣式，因為HTML使用Bootstrap網格系統 */

/* 移除可能與Bootstrap衝突的樣式 */

.story-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.story-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.story-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.story-image:hover .overlay {
    opacity: 1;
    pointer-events: auto;
}

.overlay-content {
    text-align: center;
}

.overlay-content span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.story-image:hover .overlay-content span {
    background: transparent;
    color: #fff;
}

.story-text {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
    margin: 0 auto;
}

.story-text h3 {
    font-family: 'ABeeZee', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1.5rem;
}

.story-text p {
    font-family: "Noto Sans TC", sans-serif;
    /* font-size: 0.875rem; 移除固定字體大小，使用統一的響應式設定 */
    font-weight: 300;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

/* 移除未使用的樣式 */

/* ===== ABOUT TEAM SECTION ===== */
.about-team {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

/* 移除可能與Bootstrap衝突的樣式 */

/* 移除未使用的CSS Grid樣式，因為HTML使用Bootstrap網格系統 */

.team-member {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.member-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.member-info h3 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-info p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #f7bc51;
}

.team-text {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
    margin: 0 auto;
}

.team-text h3 {
    font-family: 'ABeeZee', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* ===== TEXT CAROUSEL ===== */
.text-carousel-container {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #f7bc51;
    background: transparent;
    color: #f7bc51;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    outline: none;
}

.carousel-btn.active {
    background: #f7bc51;
    color: #fff;
    transform: scale(1.05);
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: #f7bc51;
    color: #fff;
    transform: scale(1.1);
}

.carousel-btn:not(.active):hover,
.carousel-btn:not(.active):focus {
    background: rgba(247, 188, 81, 0.1);
    color: #f7bc51;
}

.carousel-content {
    position: relative;
    width: 100%;
    height: 750px; /* 固定高度以第二段文字為準 */
    overflow: hidden;
}

.message-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1;
    overflow-y: auto;
}

.message-content[data-slide="0"] {
    transform: translateX(-100%);
}

.message-content[data-slide="1"] {
    transform: translateX(100%);
}

.message-content.active {
    opacity: 1;
    transform: translateX(0) !important;
    z-index: 2;
    overflow-y: auto;
}

.message-content p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    text-align: justify;
}

.message-content strong {
    color: #333;
    font-weight: 500;
}

.message-content a {
    color: #f7bc51;
    text-decoration: none;
    font-weight: 500;
}

.message-content a:hover {
    text-decoration: underline;
}

/* ===== ABOUT CONTACT SECTION ===== */
.about-contact {
    padding: 5rem 0;
}

/* 移除未使用的CSS Grid樣式，因為HTML使用Bootstrap網格系統 */

.info-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-item i {
    font-size: 2.5rem;
    color: #f7bc51;
    margin-bottom: 1rem;
}

.info-content h3 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 1rem;
    color: #666;
}

/* 移除未使用的樣式，因為HTML使用Bootstrap按鈕 */

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

/* Desktop Styles (≥992px) */
@media (min-width: 992px) {
    /* About Hero Section */
    .about-hero {
        height: 50vh;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .about-hero .row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero .col-12 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.2rem;
    }
}

/* Tablet Styles (≤991px) */
@media (max-width: 991px) {
    .hero {
        height: 500px;
    }
    
    /* About Hero Section */
    .about-hero {
        height: 40vh;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .about-hero .row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-hero .col-12 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .about-hero-content h1 {
        font-size: 1.25rem; /* 20px */
    }

    .about-hero-content p {
        font-size: 0.9375rem; /* 15px */
    }
    
    .about-story .container,
    .about-team .container {
        padding: 0 1rem;
    }
    
    .story-text {
        margin-top: 2rem;
    }
    

    
    .team-text h3 {
        font-size: 0.75rem; /* 12px */
    }
    
    .member-info h3 {
        font-size: 1rem; /* 16px */
    }
    
    .member-info p {
        font-size: 0.75rem; /* 12px */
    }
    
    .member-image {
        height: auto;
    }
}

/* Mobile Styles (≤576px) */
@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    /* About Hero Section */
    .about-hero-content h1 {
        font-size: 1.125rem; /* 18px */
    }

    .about-hero-content p {
        font-size: 0.8125rem; /* 13px */
    }
    
    .story-text p {
        font-size: 0.625rem; /* 10px */
    }
    
    .team-text h3 {
        font-size: 0.625rem; /* 10px */
    }
    
    .member-info h3 {
        font-size: 0.875rem; /* 14px */
    }
    
    .member-info p {
        font-size: 0.625rem; /* 10px */
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .carousel-navigation {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ===== CONTAINER RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}

.story-image img,
.team-member img {
    width: 100%;
    height: auto;
    display: block;
} 

/* ===== CUSTOM BADGE STYLES ===== */
.badge-new-series {
    background-color: #6bc4ff !important; 
    color: #fff !important;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge-new-series:hover {
    background-color: #ff4d8a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.badge-new-series i {
    font-size: 0.875rem;
} 

/* ===== RESPONSIVE DESIGN FOR BADGE-NEW-SERIES ===== */
@media (min-width: 1200px) {
    .badge-new-series {
        font-size: 0.6875rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    
    .badge-new-series i {
        font-size: 0.6rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .badge-new-series {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
    }
    
    .badge-new-series i {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 767px) {
    .badge-new-series {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.7rem !important;
    }
    
    .badge-new-series i {
        font-size: 0.65rem !important;
    }
}

/* ===== MEMORIES SERIES LIST STYLES ===== */
.memories-series-list {
    margin: 0;
    padding: 0;
}

.memories-series-list li {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.1rem; /* 從 0.25rem 縮小到 0.1rem，讓行距更緊湊 */
    line-height: 1.2; /* 從 1 調整到 1.2，讓文字行距更緊湊 */
    position: relative;
}

.memories-series-list li i {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1;
    position: relative;
    top: 0;
    vertical-align: baseline;
}

.memories-series-list li span {
    flex: 1;
    line-height: 0.4;
    display: inline-block;
    vertical-align: baseline;
}

/* 確保圖標和文字完美對齊 */
.memories-series-list li i.fa-check,
.memories-series-list li i.fa-times {
    margin-top: 0;
    margin-bottom: 0;
}

/* 強制確保 fa-times 圖示顯示紅色 */
.memories-series-list li i.fa-times.text-danger {
    color: #dc3545 !important;
}

/* 額外確保所有 fa-times 圖示都能正確顯示紅色 */
.memories-series-list li .fa-times.text-danger {
    color: #dc3545 !important;
}

/* ===== 回憶系列輪播樣式 ===== */
.memories-carousel {
    position: relative;
    overflow: hidden;
}

.memories-carousel-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    filter: blur(25px) !important;
    transition: all 3.5s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    z-index: 1 !important;
}

.memories-carousel-img.active {
    opacity: 1 !important;
    position: relative !important;
    filter: blur(0) !important;
    z-index: 2 !important;
}

/* 強制覆蓋Bootstrap樣式 */
.memories-carousel .memories-carousel-img {
    transition: all 3.5s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.memories-carousel .memories-carousel-img.active {
    transition: all 3.5s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
} 

/* ===== TRANSPORT COST TEXT RESPONSIVE FONT SIZES ===== */
/* 確保 transport cost 區塊下方的文字與車馬費資訊提示字體大小一致 */
/* 所有斷點使用相同的字體大小，便於後續統一修改 */

.text-muted.small {
    font-size: 0.825rem !important; /* 約 12px */
} 