/* ===== 芝麻柚子加盟頁面 ===== */

::-webkit-scrollbar {
    display: none;
}

* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    background-color: #f0f2ef;
    overflow-x: hidden;
}

input {
    display: none;
}

label {
    display: none;
}

/* 固定導航欄 */
/* 1. Hero Section */
.franchise-hero {
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(23, 20, 12, 0.4), rgba(23, 20, 12, 0.6)),
                url('https://pub-9475246d65f248548cc921356948ec3d.r2.dev/franchise_header.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 20, 12, 0.3);
}

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

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 30px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 15px;
    color: #f5f5f5;
}

.hero-subtitle-en {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #e0e0e0;
}

.btn-contact {
    display: inline-block;
    padding: 18px 50px;
    background-color: white;
    color: #17140c;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-contact:hover {
    background-color: #333;
    color: white;
    transform: translateY(-3px);
}

/* 通用區塊樣式 */
section {
    background-color: #f0f2ef;
    background-image: 
        linear-gradient(rgba(226, 230, 225, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 230, 225, 0.5) 1px, transparent 1px),
        linear-gradient(rgba(220, 225, 218, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 225, 218, 0.3) 1px, transparent 1px);
    background-size: 
        80px 80px,
        80px 80px,
        16px 16px,
        16px 16px;
    padding: 100px 0;
}

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

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

.section-title {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    text-align: center;
    color: #333;
    letter-spacing: 6px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    font-size: clamp(14px, 1.6vw, 18px);
    color: #666;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 300;
}

/* 2. 品牌故事 */
.brand-story {
    background-color: #fff;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.story-content p {
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 2.2;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 3. 店面氛圍展示 */
.atmosphere-showcase {
    padding: 0;
    background-color: #fff;
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3px;
    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: 3px;
    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.75) 0%, transparent 100%);
    padding: 30px;
    opacity: 1;
}

.atmosphere-overlay h3 {
    color: white;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

/* 4. 招牌菜色展示 */
.signature-dishes {
    background-color: #fff;
}

.featured-dish {
    margin-bottom: 60px;
}

.featured-dish-image {
    position: relative;
    height: 600px;
    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.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 80px;
}

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

.featured-dish-content h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: white;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.featured-dish-content p {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 2;
    color: #f5f5f5;
    letter-spacing: 1px;
}

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

.dish-card {
    background: white;
    transition: transform 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
}

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

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

.dish-card-content h4 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.dish-card-content p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 2;
    color: #555;
    letter-spacing: 0.5px;
}

/* 5. 產品優勢 */
.product-advantages {
    background-color: #fff;
}

.advantages-items {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.advantage-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantage-item:nth-child(even) {
    direction: rtl;
}

.advantage-item:nth-child(even) > * {
    direction: ltr;
}

.advantage-visual {
    position: relative;
}

.advantage-number {
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 120px;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    z-index: 1;
}

.advantage-image {
    height: 400px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8e8e8;
}

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

.advantage-content {
    padding: 30px 0;
}

.advantage-content h3 {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.advantage-content p {
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 2.1;
    color: #555;
    letter-spacing: 0.5px;
}

/* 6. 加盟優勢 */
.join-advantages {
    background-color: #f0f2ef;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 80px;
}

.advantage-card {
    text-align: left;
    padding: 0;
    background: transparent;
}

.advantage-icon {
    margin-bottom: 25px;
    display: inline-flex;
}

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

.advantage-card h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: #333;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.9;
    color: #555;
}

/* 7. 加盟流程 */
.franchise-process {
    background-color: #fff;
}

.process-timeline {
    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;
}

.process-number {
    font-size: 60px;
    font-weight: 200;
    color: #ccc;
    letter-spacing: 0;
    margin-bottom: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: #333;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: #666;
}

.process-arrow {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    font-size: 32px;
    color: #ccc;
}

/* 8. 常見問題 */
.faq-section {
    background-color: #f0f2ef;
}

.faq-container {
    max-width: 100%;
}

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

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

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.faq-icon {
    font-size: 32px;
    color: #999;
    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: 500px;
    padding: 0 15px 30px;
}

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

/* 9. 聯絡表單 */
.contact-cta {
    background-color: #fff;
    padding: 100px 0;
}

.cta-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    color: #333;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #666;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-info-box {
    background: #f9f9f9;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.contact-icon {
    margin: 0 auto 30px;
    display: inline-flex;
}

.contact-icon svg {
    opacity: 0.6;
}

.contact-info-box h3 {
    font-size: clamp(24px, 2.5vw, 32px);
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.contact-info-box p {
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: clamp(16px, 1.7vw, 18px);
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    padding: 12px 25px;
    background: white;
    border: 1px solid #e8e8e8;
}

.contact-method:hover {
    color: #666;
    border-color: #d4a574;
}

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

/* Footer */
footer {
    background: #2c2c2c;
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.footer-content b {
    color: #d4a574;
}

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

/* 平板版 (≤1024px) */
@media screen and (max-width: 1024px) {
    .section-container,
    .section-container-narrow {
        padding: 0 40px;
    }

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

    .atmosphere-large {
        height: 450px;
    }

    .atmosphere-small {
        height: 280px;
    }

    .advantage-item {
        gap: 60px;
    }

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

@media (max-width: 1024px) {
    .franchise-hero {
        margin-top: 70px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-container,
    .section-container-narrow {
        padding: 0 20px;
    }

    .franchise-hero {
        min-height: 500px;
    }

    .atmosphere-large {
        height: 350px;
    }

    .atmosphere-small {
        height: 220px;
    }

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

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

    .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;
    }

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

    .dish-card-image {
        height: 300px;
    }

    .advantage-item {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr !important;
    }

    .advantage-image {
        height: 320px;
    }

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

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

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

    .process-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

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

    .contact-method {
        width: 100%;
        justify-content: center;
    }
}

/* 小手機 (≤480px) */
@media screen and (max-width: 480px) {
    section {
        padding: 50px 0;
    }

    .atmosphere-large {
        height: 300px;
    }

    .atmosphere-small {
        height: 200px;
    }

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

    .advantage-number {
        font-size: 80px;
        top: -20px;
        left: -20px;
    }

    .advantage-image {
        height: 280px;
    }

    .dish-card-image {
        height: 250px;
    }
}

