/* ===== 首頁專用樣式 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;600;700&display=swap');

/* 首頁主視覺 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcf5;
    background-image: url('/images/hero-1-bg-v1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(252, 252, 245, 0.75);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-main-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 52px;
    font-weight: 700;
    color: #806e64;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-description {
    font-family: 'Noto Serif TC', serif;
    font-size: 20px;
    font-weight: 300;
    color: #806e64;
    line-height: 1.8;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== 介紹區塊 ===== */
.intro-section {
    padding: 150px 0;
    position: relative;
}

.intro-light {
    background-color: #fcfcf5;
}

.intro-dark {
    background-color: #f5efe8;
}

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-reverse {
    direction: ltr;
}

.intro-reverse .intro-text {
    order: 1;
}

.intro-reverse .intro-image {
    order: 2;
}

.intro-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 750px;
}

.intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 38px;
    font-weight: 700;
    color: #806e64;
    line-height: 1.4;
    letter-spacing: 1.5px;
}

.intro-description {
    font-family: 'Noto Serif TC', serif;
    font-size: 18px;
    font-weight: 300;
    color: #806e64;
    line-height: 1.9;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

/* 分店資訊區塊 */
.locations {
    padding: 150px 0;
    background: #fff4d9;
}

.locations-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.locations-header {
    text-align: center;
    margin-bottom: 70px;
}

.locations-main-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 48px;
    font-weight: 700;
    color: #806e64;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.locations-subtitle {
    font-family: 'Noto Serif TC', serif;
    font-size: 20px;
    font-weight: 300;
    color: #806e64;
    letter-spacing: 1px;
    opacity: 0.85;
}

.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: transparent;
}

.location-card:nth-child(even) {
    direction: ltr;
}

.location-card:nth-child(even) .location-image {
    order: 2;
}

.location-card:nth-child(even) .location-content {
    order: 1;
}

.location-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 700px;
}

.location-content {
    padding: 0;
}

.location-name {
    font-family: 'Noto Serif TC', serif;
    font-size: 24px;
    font-weight: 700;
    color: #806e64;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-text {
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    font-weight: 300;
    color: #806e64;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* ===== 響應式設計 ===== */

/* 平板 */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 40px;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 550px;
    }
    
    .hero-main-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* 介紹區塊 */
    .intro-section {
        padding: 100px 0;
    }
    
    .intro-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 40px;
    }
    
    .intro-reverse .intro-text,
    .intro-reverse .intro-image {
        order: unset;
    }
    
    .intro-title {
        font-size: 32px;
        text-align: center;
    }
    
    .intro-description {
        font-size: 17px;
        text-align: center;
    }
    
    /* 分店資訊 */
    .locations {
        padding: 100px 0;
    }
    
    .locations-wrapper {
        padding: 0 40px;
    }
    
    .locations-header {
        margin-bottom: 50px;
    }
    
    .locations-main-title {
        font-size: 42px;
    }
    
    .locations-subtitle {
        font-size: 18px;
    }

    .locations-grid {
        gap: 60px;
    }
    
    .location-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .location-card:nth-child(even) .location-image,
    .location-card:nth-child(even) .location-content {
        order: unset;
    }
    
    .location-content {
        padding: 0;
        text-align: center;
    }
}

/* 手機 */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 140px 0 60px;
        height: auto;
    }
    
    .hero-container {
        padding: 0 30px;
        gap: 30px;
    }
    
    .hero-image img {
        max-width: 420px;
    }
    
    .hero-main-title {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 16px;
    }
    
    /* 介紹區塊 */
    .intro-section {
        padding: 80px 0;
    }
    
    .intro-container {
        padding: 0 30px;
        gap: 35px;
    }
    
    .intro-title {
        font-size: 28px;
    }
    
    .intro-description {
        font-size: 16px;
    }
    
    /* 分店資訊 */
    .locations {
        padding: 80px 0;
    }
    
    .locations-wrapper {
        padding: 0 30px;
    }
    
    .locations-header {
        margin-bottom: 40px;
    }
    
    .locations-main-title {
        font-size: 36px;
    }
    
    .locations-subtitle {
        font-size: 17px;
    }

    .locations-grid {
        gap: 50px;
    }
    
    .location-card {
        gap: 25px;
    }
    
    .location-name {
        font-size: 22px;
    }
    
    .location-text {
        font-size: 15px;
    }
    
    .location-details {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 150px 0 60px;
    }
    
    .hero-container {
        padding: 0 20px;
        gap: 25px;
    }
    
    .hero-image img {
        max-width: 380px;
    }
    
    .hero-main-title {
        font-size: 28px;
        letter-spacing: 0.5px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 介紹區塊 */
    .intro-section {
        padding: 60px 0;
    }
    
    .intro-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .intro-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .intro-description {
        font-size: 15px;
        line-height: 1.8;
    }
    
    /* 分店資訊 */
    .locations {
        padding: 60px 0;
    }
    
    .locations-wrapper {
        padding: 0 20px;
    }
    
    .locations-main-title {
        font-size: 30px;
        letter-spacing: 1px;
    }
    
    .locations-subtitle {
        font-size: 16px;
    }
    
    .locations-grid {
        gap: 40px;
    }
    
    .location-card {
        gap: 20px;
    }
    
    .location-name {
        font-size: 20px;
    }
    
    .location-text {
        font-size: 14px;
    }
    
    .location-icon {
        font-size: 16px;
    }
}

