/* ===== 加盟頁面專用樣式 ===== */

/* 1. Hero Section - 第一屏 */
.franchise-hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
                url('https://pub-05517489ae17446cae6e0ce2375b5069.r2.dev/franchise_header.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.franchise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.franchise-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.franchise-hero-content {
    position: relative;
    z-index: 2;
    color: #fcfcf5;
    padding: 0 20px;
    max-width: 1000px;
}

.franchise-hero-title {
    font-size: clamp(42px, 6.5vw, 80px);
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 25px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.franchise-hero-subtitle {
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 50px;
    color: #fff1d4;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* 2. 品牌故事區塊 - 精緻專業版 */
.brand-story {
    background-color: #fcfcf5;
    padding: 140px 0;
}

.brand-story-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.brand-story-content {
    text-align: center;
}

.section-title {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 300;
    color: #806e64;
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: #cf9e6f;
    letter-spacing: 3px;
    margin-bottom: 60px;
    font-weight: 300;
}

.brand-story-text {
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 2.2;
    color: #5a5a5a;
    text-align: left;
    font-weight: 300;
}

.brand-story-text p {
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

/* 2.5 餐廳氛圍大圖展示 - 專業版 */
.restaurant-atmosphere {
    background-color: #fff;
    padding: 0;
    overflow: hidden;
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2px;
    max-width: 100%;
    background: #e0e0e0;
}

.atmosphere-large {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.atmosphere-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atmosphere-small-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    background: #e0e0e0;
}

.atmosphere-small {
    position: relative;
    height: 324px;
    overflow: hidden;
}

.atmosphere-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atmosphere-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 40px;
    opacity: 1;
    pointer-events: none;
}

.atmosphere-overlay h3 {
    color: #fcfcf5;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 3. 實體店面展示區塊 - 專業版重新設計 */
.store-showcase {
    background-color: #fcfcf5;
    padding: 120px 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.showcase-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 全寬大圖展示 - 更專業的設計 */
.showcase-full {
    margin-bottom: 50px;
}

.showcase-full-image {
    position: relative;
    height: 580px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.showcase-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.showcase-full-content h3 {
    color: #fcfcf5;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.showcase-full-content p {
    color: #fff1d4;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.6;
}

/* 分割展示區塊 - 更精緻的設計 */
.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.showcase-split-item {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

.showcase-split-item:hover {
    box-shadow: 0 25px 70px rgba(208, 101, 11, 0.15);
}

.showcase-split-image {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.showcase-split-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.showcase-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-split-text {
    padding: 45px 40px 50px;
}

.showcase-split-text h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.showcase-split-text p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 30px;
    font-weight: 300;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-features li {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #806e64;
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
}

.showcase-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, #d0650b, #cf9e6f);
}

/* 3.5 招牌菜色展示 - 精緻重新設計 */
.signature-dishes {
    background-color: #fff;
    padding: 120px 0 140px;
}

.dishes-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.dishes-content {
    text-align: center;
    margin-bottom: 80px;
}

/* 主打菜色 - 全寬展示 */
.featured-dish {
    margin-bottom: 60px;
}

.featured-dish-image {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.featured-dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-dish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.featured-dish-content {
    max-width: 600px;
}

.featured-dish-title {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 300;
    color: #fcfcf5;
    letter-spacing: 6px;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.featured-dish-description {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 2;
    color: #fff1d4;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 其他菜色 - 雙欄卡片 */
.dishes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.dish-card {
    display: flex;
    flex-direction: column;
}

.dish-card-image {
    height: 380px;
    overflow: hidden;
    margin-bottom: 35px;
}

.dish-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-card-content {
    flex: 1;
}

.dish-card-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.dish-card-description {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 2;
    color: #5a5a5a;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 4. 產品優勢區塊 - 精緻重新設計 */
.product-power {
    background: #fcfcf5;
    padding: 140px 0;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.product-header {
    text-align: center;
    margin-bottom: 100px;
}

.power-items {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* 單個優勢項目 */
.power-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* 反向排列 */
.power-item-reverse {
    direction: rtl;
}

.power-item-reverse > * {
    direction: ltr;
}

/* 視覺部分 */
.power-visual {
    position: relative;
}

.power-number {
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 140px;
    font-weight: 200;
    color: rgba(208, 101, 11, 0.08);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.power-image {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.power-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 內容部分 */
.power-content {
    padding: 40px 0;
}

.power-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 2px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.power-description {
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 2.1;
    color: #5a5a5a;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 5. 加盟優勢區塊 - 極簡專業版 */
.join-advantages {
    background-color: #fff;
    padding: 120px 0;
    position: relative;
}

.advantages-header {
    text-align: center;
    margin-bottom: 80px;
}

.advantages-grid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 80px;
}

.advantage-item {
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: none;
}

.advantage-icon {
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
}

.advantage-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.advantage-description {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.9;
    color: #5a5a5a;
    font-weight: 300;
}

/* 6. 加盟流程區塊 - 精緻專業版 */
.franchise-process {
    background-color: #fcfcf5;
    padding: 120px 0;
}

.process-header {
    text-align: center;
    margin-bottom: 100px;
}

.process-timeline {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    flex: 1 1 180px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.process-number {
    font-size: 72px;
    font-weight: 200;
    color: #edc59c;
    letter-spacing: 0;
    margin-bottom: 25px;
    line-height: 1;
}

.process-title {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.process-description {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: #5a5a5a;
    font-weight: 300;
}

.process-arrow {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.process-arrow svg {
    opacity: 0.3;
    width: 32px;
    height: 32px;
}

/* 7. 常見問題區塊 - 精緻專業版 */
.faq-section {
    background-color: #fff;
    padding: 120px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-question h3 {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 600;
    color: #806e64;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #d0650b;
}

.faq-icon {
    font-size: 32px;
    color: #cf9e6f;
    font-weight: 200;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 20px 35px;
}

.faq-answer p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 2;
    color: #5a5a5a;
    font-weight: 300;
}

/* 8. 聯絡表單 CTA 區塊 - 精緻專業版 */
.contact-cta {
    background: linear-gradient(135deg, #d0650b 0%, #cf9e6f 100%);
    padding: 120px 0;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-title {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 300;
    color: #fcfcf5;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: clamp(17px, 2vw, 22px);
    color: #fff1d4;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
}

.franchise-form {
    background: #fcfcf5;
    padding: 60px;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #806e64;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 18px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Noto Sans TC', sans-serif;
    transition: border-color 0.3s ease;
    background: #fff;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #806e64;
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    width: 100%;
    padding: 20px;
    font-size: 17px;
    letter-spacing: 3px;
    font-weight: 500;
    border-radius: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
}

.cta-alternative {
    text-align: center;
    margin-top: 40px;
    color: #fcfcf5;
}

.cta-alternative p {
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff1d4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.contact-method:hover {
    color: #fcfcf5;
}

.contact-method svg {
    width: 24px;
    height: 24px;
}

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

/* 桌機版 (≤1366px) */
@media (max-width: 1366px) {
    .franchise-hero {
        background-attachment: scroll;
    }
    
    .showcase-container {
        gap: 40px;
    }

    .product-grid,
    .advantages-grid {
        gap: 30px;
    }

    .process-timeline {
        gap: 15px;
    }
}

/* 平板版 (≤768px) */
@media (max-width: 768px) {
    .franchise-hero {
        min-height: 500px;
        background-attachment: scroll;
    }

    .brand-story,
    .store-showcase,
    .product-power,
    .join-advantages,
    .franchise-process,
    .faq-section,
    .contact-cta {
        padding: 60px 0;
    }

    /* 餐廳氛圍展示 */
    .atmosphere-grid {
        grid-template-columns: 1fr;
    }

    .atmosphere-large {
        height: 400px;
    }

    .atmosphere-small {
        height: 250px;
    }

    .atmosphere-small-grid {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
    }

    /* 實體店面展示 */
    .showcase-full-image {
        height: 350px;
    }

    .showcase-full-overlay {
        padding: 30px;
    }

    .showcase-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-split-image {
        height: 250px;
    }

    .showcase-split-text {
        padding: 25px 20px;
    }

    /* 招牌菜色展示 */
    .featured-dish-image {
        height: 480px;
    }

    .featured-dish-overlay {
        padding: 0 50px;
    }

    .dishes-grid {
        gap: 50px;
    }

    .dish-card-image {
        height: 320px;
        margin-bottom: 30px;
    }

    /* 產品優勢 */
    .power-item {
        gap: 60px;
    }

    .power-number {
        font-size: 110px;
        top: -25px;
        left: -25px;
    }

    .power-image {
        height: 360px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 60px;
    }

    .process-timeline {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-step {
        flex: 1 1 auto;
        width: 100%;
        max-width: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .franchise-form {
        padding: 45px 35px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
}

/* 手機版 (≤480px) */
@media (max-width: 480px) {
    .franchise-hero {
        min-height: 450px;
        background-attachment: scroll;
    }

    .brand-story,
    .restaurant-atmosphere,
    .store-showcase,
    .signature-dishes,
    .product-power,
    .join-advantages,
    .franchise-process,
    .faq-section,
    .contact-cta {
        padding: 50px 0;
    }

    .brand-story-container,
    .showcase-wrapper,
    .dishes-showcase,
    .product-grid,
    .advantages-grid,
    .process-timeline,
    .faq-container,
    .cta-content {
        padding: 0 20px;
    }

    /* 餐廳氛圍展示 */
    .atmosphere-large {
        height: 300px;
    }

    .atmosphere-small {
        height: 200px;
    }

    .atmosphere-overlay {
        padding: 20px;
    }

    /* 實體店面展示 */
    .showcase-full-image {
        height: 280px;
    }

    .showcase-full-overlay {
        padding: 20px;
    }

    .showcase-split-image {
        height: 220px;
    }

    .showcase-split-text {
        padding: 20px 18px;
    }

    /* 招牌菜色展示 */
    .signature-dishes {
        padding: 80px 0 100px;
    }

    .dishes-container {
        padding: 0 30px;
    }

    .dishes-content {
        margin-bottom: 50px;
    }

    .featured-dish-image {
        height: 380px;
    }

    .featured-dish-overlay {
        padding: 0 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .featured-dish-title {
        margin-bottom: 15px;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dish-card-image {
        height: 280px;
        margin-bottom: 25px;
    }

    /* 產品優勢 */
    .product-power {
        padding: 100px 0;
    }

    .product-container {
        padding: 0 30px;
    }

    .product-header {
        margin-bottom: 70px;
    }

    .power-items {
        gap: 70px;
    }

    .power-item,
    .power-item-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .power-number {
        font-size: 90px;
        top: -20px;
        left: -20px;
    }

    .power-image {
        height: 320px;
    }

    .power-content {
        padding: 20px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .advantage-item {
        padding: 0;
    }

    .process-step {
        padding: 25px 15px;
    }

    .franchise-form {
        padding: 40px 30px;
    }
}

