/* =====================================================
   旗山－王經理水果 官方網站
   Style.css Version 2.0
===================================================== */

/* =====================================================
   Root
===================================================== */

:root{

    --green:#2E8B57;
    --green-dark:#256B44;
    --green-light:#5EA97B;

    --cream:#FFFDF8;
    --white:#FFFFFF;
    --light:#F4F6F4;

    --gray:#666;
    --text:#333;

    --shadow:0 10px 25px rgba(0,0,0,.08);
    --shadow-hover:0 15px 35px rgba(0,0,0,.15);

    --radius:20px;
    --radius-lg:28px;

    --transition:.35s;

}

/* =====================================================
   Reset
===================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;

    background:var(--cream);

    color:var(--text);

    line-height:1.8;

}

/* =====================================================
   Layout
===================================================== */

main{

    width:min(1200px,92%);

    margin:auto;

}

/* =====================================================
   Header
===================================================== */

header{

    background:linear-gradient(
        90deg,
        var(--green),
        var(--green-light)
    );

    color:white;

    text-align:center;

    padding:35px 20px;

}

header h1{

    font-size:42px;

    margin-bottom:10px;

}

header p{

    font-size:18px;

}

/* =====================================================
   Navigation
===================================================== */

nav{

    margin-top:25px;

}

nav a{

    color:white;

    text-decoration:none;

    margin:0 14px;

    font-weight:600;

    transition:var(--transition);

}

nav a:hover{

    color:#FFE082;

    border-bottom:2px solid #FFE082;

    padding-bottom:3px;

}

/* =====================================================
   Common Button
===================================================== */

.btn{

    display:inline-block;

    background:var(--green);

    color:white;

    text-decoration:none;

    padding:16px 38px;

    border-radius:10px;

    font-weight:bold;

    transition:var(--transition);

}

.btn:hover{

    background:var(--green-dark);

    transform:translateY(-3px);

}

/* =====================================================
   Common Card
===================================================== */

.card{

    background:white;

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

/* =====================================================
   Common Section
===================================================== */

.section-title{

    text-align:center;

    color:var(--green);

    font-size:38px;

    margin-bottom:12px;

}

.section-desc{

    text-align:center;

    color:var(--gray);

    font-size:18px;

    margin-bottom:45px;

}

/* =====================================================
   Footer
===================================================== */

footer{

    text-align:center;

    padding:40px 20px;

    color:#777;

    margin-top:60px;

}



/* =====================================================
   HOME PAGE
===================================================== */

/* ===== Main ===== */

main{
    width:min(1200px,92%);
    margin:auto;
}

/* =====================================================
   Hero Banner
===================================================== */

.hero{
    position:relative;
    height:600px;
    margin:40px 0 70px;
    border-radius:25px;
    overflow:hidden;

    display:flex;
    align-items:center;

    background:url("images/banner.jpg") center/cover no-repeat;

    box-shadow:var(--shadow);
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to right,
        rgba(255,255,255,.15),
        rgba(0,0,0,.15)
    );
}

.hero-text{
    position:relative;
    z-index:2;

    width:min(460px,90%);
    margin-left:70px;

    padding:45px;

    border-radius:24px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(10px);
}

.slogan{
    color:var(--green);
    font-size:18px;
    font-weight:bold;
    letter-spacing:1px;

    margin-bottom:12px;
}

.hero-text h2{
    color:var(--green);

    font-size:52px;

    line-height:1.2;

    margin-bottom:18px;
}

.hero-text p{
    color:#555;

    font-size:22px;

    margin-bottom:35px;

    line-height:1.8;
}

/* =====================================================
   共用 Section
===================================================== */

.fruit-section{
    margin:80px 0;
}

.fruit-section h2{
    text-align:center;

    color:var(--green);

    font-size:40px;

    margin-bottom:12px;
}

.section-desc{
    text-align:center;

    color:#777;

    font-size:18px;

    margin-bottom:45px;
}

/* =====================================================
   Fruit Grid
===================================================== */

.fruit-grid{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;
}

/* =====================================================
   Fruit Card
===================================================== */

.fruit-card{

    position:relative;

    overflow:hidden;

    background:#fff;

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.fruit-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

/* ===== Fruit Image ===== */

.fruit-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    display:block;

    transition:.45s;

}

.fruit-card:hover img{

    transform:scale(1.06);

}

/* ===== Tag ===== */

.fruit-tag{

    position:absolute;

    top:18px;

    left:18px;

    background:var(--green);

    color:#fff;

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

}

/* ===== Content ===== */

.fruit-card h3{

    color:var(--green);

    font-size:24px;

    margin:22px 22px 12px;

}

.fruit-card p{

    color:#666;

    line-height:1.9;

    margin:0 22px 22px;

}

/* ===== Button ===== */

.card-btn{

    display:block;

    margin:0 22px 22px;

    padding:13px;

    text-align:center;

    text-decoration:none;

    color:white;

    font-weight:bold;

    background:var(--green);

    border-radius:10px;

    transition:.3s;

}

.card-btn:hover{

    background:var(--green-dark);

}

/* =====================================================
   About Preview
===================================================== */

.about{

    margin:80px 0;

    padding:60px 40px;

    background:#fff;

    border-radius:25px;

    text-align:center;

    box-shadow:var(--shadow);

}

.about h2{

    color:var(--green);

    font-size:36px;

    margin-bottom:25px;

}

.about p{

    max-width:760px;

    margin:auto;

    color:#666;

    font-size:18px;

    line-height:2;

}

/* =====================================================
   CTA
===================================================== */

.cta{

    margin:80px 0;

    padding:70px 35px;

    text-align:center;

    border-radius:28px;

    color:white;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

    box-shadow:var(--shadow-hover);

}

.cta h2{

    font-size:38px;

    margin-bottom:18px;

}

.cta p{

    font-size:20px;

    margin-bottom:35px;

    opacity:.95;

}

/* =====================================================
   Map
===================================================== */

.map{

    margin:80px 0;

    text-align:center;

}

.map h2{

    color:var(--green);

    font-size:36px;

    margin-bottom:25px;

}

/* =====================================================
   Products Page
===================================================== */

.catalog-section{

    margin:80px 0;

}

.catalog-section h2{

    text-align:center;

    color:var(--green);

    font-size:38px;

    margin-bottom:15px;

}

.catalog-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.catalog-card{

    overflow:hidden;

    background:#fff;

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.catalog-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.catalog-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.45s;

}

.catalog-card:hover img{

    transform:scale(1.06);

}

.catalog-card h3{

    color:var(--green);

    margin:22px 22px 10px;

}

.catalog-card p{

    margin:0 22px 22px;

    color:#666;

    line-height:1.9;

}

.catalog-btn{

    display:block;

    margin:0 22px 22px;

    padding:13px;

    text-align:center;

    text-decoration:none;

    color:white;

    font-weight:bold;

    border-radius:10px;

    background:var(--green);

    transition:.3s;

}

.catalog-btn:hover{

    background:var(--green-dark);

}



/* =====================================================
   FRUIT DETAIL PAGE
===================================================== */

/* ===== Back Link ===== */

.back-link{
    width:min(1100px,92%);
    margin:35px auto 10px;
}

.back-link a{
    color:var(--green);
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    transition:.3s;
}

.back-link a:hover{
    color:var(--green-dark);
}

/* =====================================================
   Hero
===================================================== */

.fruit-hero{

    position:relative;

    width:min(1100px,92%);

    height:520px;

    margin:20px auto 60px;

    overflow:hidden;

    border-radius:26px;

    box-shadow:var(--shadow);

}

.fruit-hero img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.fruit-hero:hover img{

    transform:scale(1.05);

}

/* =====================================================
   Hero Overlay
===================================================== */

.hero-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:flex-end;

    padding:60px;

}

.hero-overlay::before{

    content:"";

    position:absolute;

    left:60px;

    bottom:45px;

    width:380px;

    height:185px;

    border-radius:24px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.35);

}

.hero-overlay>*{

    position:relative;

    z-index:2;

}

.hero-overlay h1{

    color:#fff;

    font-size:54px;

    margin-left:28px;

    margin-bottom:8px;

}

.hero-overlay p{

    color:#fff;

    font-size:22px;

    margin-left:28px;

    margin-bottom:12px;

}

.hero-stars{

    margin-left:28px;

    color:#FFD54F;

    letter-spacing:4px;

    font-size:22px;

}


/* =====================================================
   ABOUT PAGE
===================================================== */

/* ===== Hero ===== */

.about-hero{

    position:relative;

    height:520px;

    margin:40px auto 60px;

    border-radius:26px;

    overflow:hidden;

    background:url("images/about-banner.jpg") center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:var(--shadow);

}

.about-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

}

/* ===== Hero Overlay ===== */

.about-hero .hero-overlay{

    position:relative;

    z-index:2;

    width:min(540px,90%);

    padding:45px;

    text-align:center;

    color:white;

    border-radius:24px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.28);

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.hero-line{

    display:block;

    width:70px;

    height:4px;

    margin:0 auto 25px;

    border-radius:20px;

    background:#9CCC65;

}

.about-hero h1{

    font-size:48px;

    margin-bottom:12px;

}

.about-hero p{

    font-size:22px;

    margin-bottom:20px;

    opacity:.95;

}

.hero-stars{

    color:#FFD54F;

    font-size:22px;

    letter-spacing:4px;

    margin-bottom:20px;

}

.hero-badge{

    display:inline-block;

    padding:10px 24px;

    border-radius:999px;

    background:white;

    color:var(--green);

    font-size:15px;

    font-weight:bold;

}

/* =====================================================
   共用白色卡片
===================================================== */

.fruit-box{

    width:min(1100px,92%);

    margin:40px auto;

    background:white;

    border-radius:24px;

    padding:50px;

    box-shadow:var(--shadow);

}

.fruit-box h2{

    color:var(--green);

    font-size:34px;

    margin-bottom:25px;

}

.fruit-box p{

    color:#666;

    font-size:18px;

    line-height:2;

}

/* =====================================================
   品牌理念
===================================================== */

.value-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

    margin-top:35px;

}

.value-card{

    background:#fafafa;

    border-radius:20px;

    padding:35px 25px;

    text-align:center;

    transition:.35s;

}

.value-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.value-icon{

    font-size:46px;

    margin-bottom:18px;

}

.value-card h3{

    color:var(--green);

    margin-bottom:15px;

    font-size:22px;

}

.value-card p{

    color:#666;

    line-height:1.9;

}

/* =====================================================
   Gallery
===================================================== */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px;

}

.gallery-grid img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.gallery-grid img:hover{

    transform:scale(1.04);

    box-shadow:var(--shadow-hover);

}

/* =====================================================
   CTA
===================================================== */

.contact-box{

    margin:70px auto;

    padding:70px 40px;

    text-align:center;

    border-radius:28px;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

    color:white;

    box-shadow:var(--shadow-hover);

}

.contact-box h2{

    font-size:38px;

    margin-bottom:20px;

}

.contact-box p{

    font-size:20px;

    line-height:2;

    margin-bottom:35px;

}

.contact-box .btn{

    background:white;

    color:var(--green);

}

.contact-box .btn:hover{

    background:#f5f5f5;

}


/* =====================================================
   CONTACT PAGE
===================================================== */

/* ===== Hero ===== */

.contact-hero{

    position:relative;

    width:min(1100px,92%);

    height:430px;

    margin:40px auto 60px;

    overflow:hidden;

    border-radius:26px;

    background:url("images/contact-banner.jpg") center/cover no-repeat;

    box-shadow:var(--shadow);

}

.contact-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to right,
        rgba(0,0,0,.45),
        rgba(0,0,0,.15)
    );

}

.contact-hero .hero-overlay{

    position:absolute;

    left:60px;

    bottom:55px;

    z-index:2;

    width:min(460px,90%);

    padding:40px;

    border-radius:24px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.28);

}

.contact-hero h1{

    color:white;

    font-size:48px;

    margin-bottom:10px;

}

.contact-hero p{

    color:white;

    font-size:22px;

    margin-bottom:18px;

}

.contact-hero .hero-stars{

    color:#FFD54F;

    letter-spacing:4px;

    font-size:22px;

    margin-bottom:20px;

}

.hero-badge{

    display:inline-block;

    padding:8px 20px;

    border-radius:30px;

    color:white;

    background:rgba(255,255,255,.15);

}

/* =====================================================
   Contact Card
===================================================== */

.contact-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:35px;

}

.contact-card{

    background:white;

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.contact-icon{

    width:78px;

    height:78px;

    margin:auto auto 22px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:38px;

    color:white;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

}

.contact-card h3{

    color:var(--green);

    font-size:28px;

    margin-bottom:12px;

}

.contact-card p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;

}

.contact-link{

    display:inline-block;

    padding:12px 28px;

    border-radius:30px;

    text-decoration:none;

    color:white;

    background:var(--green);

    transition:.3s;

}

.contact-link:hover{

    background:var(--green-dark);

}

/* =====================================================
   LINE
===================================================== */

.line-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:35px;

}

.line-card{

    background:white;

    padding:35px;

    border-radius:22px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.line-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.line-avatar{

    width:90px;

    height:90px;

    margin:auto auto 20px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#06C755;

    color:white;

    font-size:42px;

}

.line-qrcode{

    width:220px;

    max-width:100%;

    border-radius:18px;

    box-shadow:var(--shadow);

}

.line-id{

    color:var(--green);

    font-size:22px;

    font-weight:bold;

    margin:20px 0 10px;

}

/* =====================================================
   Order Flow
===================================================== */

.order-flow{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

    margin-top:40px;

}

.step{

    width:210px;

    padding:30px 24px;

    background:white;

    border-radius:22px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.step:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.step span{

    display:flex;

    justify-content:center;

    align-items:center;

    width:64px;

    height:64px;

    margin:auto auto 18px;

    border-radius:50%;

    color:white;

    font-size:28px;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

}

.step h3{

    color:var(--green);

    margin-bottom:12px;

}

.step p{

    color:#666;

    line-height:1.8;

}

.arrow{

    font-size:34px;

    color:var(--green);

}

/* =====================================================
   Service Time
===================================================== */

.service-card{

    width:min(700px,100%);

    margin:40px auto;

    padding:45px;

    text-align:center;

    background:white;

    border-radius:22px;

    box-shadow:var(--shadow);

}

.service-time{

    color:var(--green);

    font-size:34px;

    font-weight:bold;

    margin-bottom:22px;

}

.service-card p{

    color:#666;

    line-height:2;

}

/* =====================================================
   Google Map
===================================================== */

.map-box{

    overflow:hidden;

    margin-top:35px;

    border-radius:22px;

    box-shadow:var(--shadow);

}

.map-box iframe{

    width:100%;

    height:450px;

    border:0;

}

/* =====================================================
   Brand
===================================================== */

.brand-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-top:35px;

}

.brand-item{

    background:white;

    padding:35px 25px;

    text-align:center;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.brand-item:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.brand-icon{

    font-size:44px;

    margin-bottom:18px;

}

.brand-item h3{

    color:var(--green);

    margin-bottom:15px;

}

/* =====================================================
   Brand Ribbon
===================================================== */

.brand-ribbon{

    width:min(900px,92%);

    margin:70px auto;

    padding:60px 40px;

    background:white;

    border-radius:28px;

    text-align:center;

    box-shadow:var(--shadow);

}

.ribbon-icon{

    font-size:58px;

    margin-bottom:20px;

}

.brand-ribbon h2{

    color:var(--green);

    font-size:38px;

    margin-bottom:15px;

}

.ribbon-text{

    margin-top:20px;

    color:#666;

    line-height:2;

}

/* =====================================================
   CTA
===================================================== */

.contact-cta{

    margin:80px auto;

    width:min(900px,92%);

    padding:70px 40px;

    border-radius:30px;

    text-align:center;

    color:white;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

    box-shadow:var(--shadow-hover);

}

.contact-cta h2{

    font-size:42px;

    margin-bottom:20px;

}

.contact-cta p{

    font-size:20px;

    line-height:2;

    margin-bottom:35px;

}

.contact-cta .btn{

    background:white;

    color:var(--green);

}


/* =====================================================
   NEWS PAGE
===================================================== */

/* ===== Hero ===== */

.news-hero{

    position:relative;

    width:min(1100px,92%);

    height:430px;

    margin:40px auto 60px;

    overflow:hidden;

    border-radius:26px;

    box-shadow:var(--shadow);

}

.news-hero img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.news-hero:hover img{

    transform:scale(1.05);

}

.news-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.18),
        rgba(0,0,0,.45)
    );

}

.news-hero .hero-overlay{

    position:absolute;

    left:50px;

    bottom:50px;

    z-index:2;

    padding:35px 40px;

    border-radius:24px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.28);

}

.news-hero .hero-overlay::before{

    content:"";

    display:block;

    width:70px;

    height:4px;

    margin-bottom:20px;

    border-radius:30px;

    background:#9CCC65;

}

.news-hero h1{

    color:white;

    font-size:48px;

    margin-bottom:10px;

}

.news-hero p{

    color:white;

    font-size:22px;

}

/* =====================================================
   Featured News
===================================================== */

.featured-news{

    width:min(1100px,92%);

    margin:60px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

    background:white;

    border-radius:28px;

    padding:40px;

    box-shadow:var(--shadow);

}

.featured-image{

    overflow:hidden;

    border-radius:22px;

}

.featured-image img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.5s;

}

.featured-news:hover .featured-image img{

    transform:scale(1.05);

}

.featured-content{

    padding:15px;

}

.featured-tag{

    display:inline-block;

    padding:8px 18px;

    margin-bottom:20px;

    border-radius:30px;

    background:var(--green);

    color:white;

    font-size:14px;

    font-weight:bold;

}

.featured-content h2{

    color:var(--green);

    font-size:42px;

    margin-bottom:18px;

}

.featured-subtitle{

    color:#999;

    margin-bottom:22px;

}

.featured-content p{

    color:#666;

    line-height:2;

}

/* =====================================================
   News Grid
===================================================== */

.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:40px;

}

.news-card{

    overflow:hidden;

    position:relative;

    background:white;

    border-radius:22px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-hover);

}

.news-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:0;

    height:5px;

    background:#9CCC65;

    transition:.35s;

}

.news-card:hover::before{

    width:100%;

}

.news-card::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:3px;

    background:#9CCC65;

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.news-card:hover::after{

    transform:scaleX(1);

}

.news-card img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.5s;

}

.news-card:hover img{

    transform:scale(1.06);

}

.news-content{

    padding:28px;

}

.news-tag{

    display:inline-block;

    padding:6px 16px;

    margin-bottom:14px;

    border-radius:30px;

    background:var(--green);

    color:white;

    font-size:13px;

    font-weight:600;

}

.news-date{

    display:inline-block;

    margin-bottom:16px;

    padding:6px 14px;

    border-radius:30px;

    background:#F5F7F4;

    color:#777;

    font-size:13px;

}

.news-card h3{

    color:var(--green);

    font-size:28px;

    line-height:1.4;

    margin-bottom:18px;

}

.news-card p{

    color:#666;

    line-height:1.9;

}


/* =====================================================
   RWD
   全站響應式設計
===================================================== */

/* =====================================================
   平板版：900px 以下
===================================================== */

@media(max-width:900px){

    /* ===== Home ===== */

    .fruit-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-text{
        margin-left:35px;
    }

    /* ===== Fruit Detail ===== */

    .fruit-hero{
        height:420px;
    }

    .hero-overlay{
        padding:35px;
    }

    .hero-overlay h1{
        font-size:42px;
    }

    .hero-overlay p{
        font-size:20px;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .fruit-summary{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .brand-grid,
    .value-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* ===== Featured News ===== */

    .featured-news{
        grid-template-columns:1fr;
    }

    .featured-image img{
        height:320px;
    }

}

/* =====================================================
   手機版：768px 以下
===================================================== */

@media(max-width:768px){

    /* ===== Header ===== */

    header h1{
        font-size:32px;
    }

    nav a{
        display:inline-block;
        margin:8px 10px;
    }

    /* ===== Home Hero ===== */

    .hero{
        height:450px;
        justify-content:center;
        text-align:center;
    }

    .hero-text{
        width:90%;
        margin:0;
        padding:28px;
    }

    .hero-text h2{
        font-size:36px;
    }

    .hero-text p{
        font-size:18px;
    }

    /* ===== Home Cards ===== */

    .fruit-grid{
        grid-template-columns:1fr;
    }

    .fruit-card img{
        height:220px;
    }

    /* ===== Products ===== */

    .catalog-grid{
        grid-template-columns:1fr;
    }

    .catalog-card img{
        height:220px;
    }

    /* ===== Common Box ===== */

    .fruit-box{
        padding:30px 22px;
        margin:30px auto;
    }

    .fruit-box h2{
        font-size:28px;
    }

    .fruit-box p,
    .fruit-box li{
        font-size:16px;
    }

    /* ===== Fruit Detail ===== */

    .fruit-hero{
        height:320px;
        border-radius:20px;
    }

    .hero-overlay{
        padding:25px;
    }

    .hero-overlay::before{
        left:25px;
        right:25px;
        bottom:25px;
        width:auto;
        height:160px;
    }

    .hero-overlay h1{
        font-size:34px;
        margin-left:20px;
    }

    .hero-overlay p{
        font-size:18px;
        margin-left:20px;
    }

    .hero-stars{
        font-size:18px;
        margin-left:20px;
        letter-spacing:3px;
    }

    .info-card{
        padding:28px;
    }

    .fruit-summary{
        grid-template-columns:1fr;
    }

    .gallery-item img,
    .gallery-grid img{
        height:260px;
    }

    .fruit-contact{
        padding:45px 25px;
    }

    .fruit-contact h2{
        font-size:30px;
    }

    .fruit-contact p{
        font-size:17px;
    }

    .fruit-contact .btn{
        width:100%;
        max-width:280px;
    }

    /* ===== About ===== */

    .about-hero{
        height:420px;
    }

    .about-hero h1{
        font-size:36px;
    }

    .about-hero p{
        font-size:18px;
    }

    .value-grid{
        grid-template-columns:1fr;
    }

    .contact-box{
        padding:45px 25px;
    }

    .contact-box h2{
        font-size:30px;
    }

    /* ===== Contact ===== */

    .contact-hero{
        height:360px;
    }

    .contact-hero .hero-overlay{
        left:20px;
        right:20px;
        bottom:25px;
        width:auto;
        padding:25px;
    }

    .contact-hero h1{
        font-size:34px;
    }

    .contact-hero p{
        font-size:18px;
    }

    .contact-grid,
    .line-grid{
        grid-template-columns:1fr;
    }

    .contact-card,
    .line-card,
    .service-card,
    .brand-item{
        padding:28px 22px;
    }

    .contact-icon,
    .line-avatar{
        width:70px;
        height:70px;
        font-size:32px;
    }

    .line-qrcode{
        width:180px;
    }

    .order-flow{
        flex-direction:column;
    }

    .arrow{
        transform:rotate(90deg);
    }

    .step{
        width:100%;
        max-width:320px;
    }

    .brand-grid{
        grid-template-columns:1fr;
    }

    .map-box iframe{
        height:300px;
    }

    .contact-cta{
        padding:45px 25px;
    }

    .contact-cta h2{
        font-size:30px;
    }

    .contact-cta .btn{
        width:100%;
        max-width:280px;
    }

    .brand-ribbon{
        padding:45px 25px;
    }

    .brand-ribbon h2{
        font-size:30px;
    }

    .ribbon-icon{
        font-size:46px;
    }

    .ribbon-text{
        font-size:16px;
    }

    /* ===== News ===== */

    .news-hero{
        height:300px;
        margin:30px auto;
    }

    .news-hero .hero-overlay{
        left:20px;
        right:20px;
        bottom:20px;
        padding:22px;
    }

    .news-hero h1{
        font-size:32px;
    }

    .news-hero p{
        font-size:18px;
    }

    .featured-news{
        padding:25px;
        gap:25px;
    }

    .featured-image img{
        height:260px;
    }

    .featured-content{
        padding:0;
    }

    .featured-content h2{
        font-size:32px;
    }

    .news-grid{
        grid-template-columns:1fr;
    }

    .news-card img{
        height:220px;
    }

    .news-card h3{
        font-size:24px;
    }

}

/* =====================================================
   小手機：480px 以下
===================================================== */

@media(max-width:480px){

    header{
        padding:28px 16px;
    }

    header h1{
        font-size:28px;
    }

    header p{
        font-size:15px;
    }

    .hero{
        height:400px;
    }

    .hero-text h2{
        font-size:30px;
    }

    .hero-text p{
        font-size:16px;
    }

    .btn,
    .card-btn,
    .catalog-btn{
        width:100%;
        text-align:center;
    }

    .fruit-hero,
    .about-hero,
    .contact-hero,
    .news-hero{
        border-radius:18px;
    }

    .fruit-box,
    .info-card,
    .contact-card,
    .line-card,
    .service-card{
        padding:24px 18px;
    }

    .contact-cta,
    .fruit-contact,
    .brand-ribbon{
        padding:40px 22px;
    }

    .service-time{
        font-size:26px;
    }

}

/* =====================================================
   首頁 Version 4.0 Part 4
   水果卡片質感升級
===================================================== */

.fruit-card{

    transition:.35s ease;
    overflow:hidden;

}

.fruit-card:hover{

    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);

}

.fruit-card img{

    transition:.5s ease;

}

.fruit-card:hover img{

    transform:scale(1.06);

}

.fruit-card h3{

    transition:.3s ease;

}

.fruit-card:hover h3{

    color:var(--green);

}

.fruit-card p{

    line-height:1.7;

}

.card-btn{

    transition:.3s ease;

}

.card-btn:hover{

    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.18);

}

/* =====================================================
   首頁 Version 4.0 Part 5
   About 區品牌升級
===================================================== */

.about{

    width:min(900px,92%);
    margin:90px auto;
    text-align:center;

}

.about .section-en{

    color:#8b8b8b;
    letter-spacing:2px;
    margin-bottom:28px;
    font-size:15px;

}

.about p{

    line-height:2.1;
    color:#555;
    font-size:18px;
    margin-bottom:22px;

}

.about-quote{

    margin-top:45px;
    padding:28px;

    border-left:5px solid var(--green);

    background:#f8faf6;

    border-radius:12px;

    font-size:24px;
    font-style:italic;
    color:var(--green);

    line-height:1.8;

}

/* =====================================================
   首頁 Version 4.0 Part 6
   Contact CTA
===================================================== */

.cta{

    width:min(900px,92%);
    margin:90px auto;
    padding:60px 40px;

    border-radius:20px;

    background:linear-gradient(
        135deg,
        #f8faf6,
        #eef7e9
    );

    text-align:center;

    box-shadow:var(--shadow);

}

.cta h2{

    color:var(--green);
    font-size:34px;
    margin-bottom:22px;

}

.cta p{

    color:#666;
    line-height:2;
    font-size:18px;
    margin-bottom:18px;

}

.cta .btn{

    margin-top:15px;
    display:inline-block;

}

/* =====================================================
   首頁 Version 4.0 Part 7
   Footer 品牌化
===================================================== */

footer h3{

    font-size:26px;
    margin-bottom:12px;

}

.footer-quote{

    margin:18px auto;
    line-height:1.8;
    opacity:.9;

}


/* =====================================================
   Header Version 5.1
   Logo Left + Brand Text
===================================================== */

.brand-header{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;

    margin-bottom:24px;

}

.site-logo{

    width:95px;
    height:95px;
    object-fit:contain;

}

.brand-text{

    text-align:left;

}

.brand-text h1{

    margin:0;
    font-size:36px;
    letter-spacing:2px;

}

.brand-text p{

    margin-top:8px;
    font-size:17px;
    opacity:.95;

}

.brand-en{

    margin:4px 0;

    font-size:15px;

    letter-spacing:2px;

    color:rgba(255,255,255,.78);

    font-weight:300;

}

.brand-sub{

    margin-top:6px;
    font-size:17px;

    color:#555;

}

/* =====================================================
   Footer Version 5.1
   全站品牌 Footer
===================================================== */

.footer-logo{

    width:70px;
    height:70px;
    object-fit:contain;
    display:block;
    margin:0 auto 15px auto;

}

footer h3{

    font-size:26px;
    margin-bottom:12px;

}

.footer-quote{

    margin:18px auto;
    line-height:1.8;
    opacity:.9;

}


/* =====================================================
   Mobile Version 1.0
   Part 1：Header
===================================================== */

@media (max-width:768px){

    .brand-header{

        flex-direction:column;
        text-align:center;
        gap:10px;

    }

    .brand-text{

        text-align:center;

    }

    .site-logo{

        width:90px;
        height:90px;

    }

    .brand-text h1{

        font-size:28px;

    }

    .brand-text p{

        font-size:15px;

    }

    nav{

        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;

    }

    nav a{

        padding:8px 14px;
        font-size:15px;

    }

}

/* =====================================================
   404 Page
===================================================== */

.error-actions{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-top:30px;

}

