/* =====================================
   綠光工程 × 季兒花藝 V2
===================================== */

:root{
    --green:#1B5E20;
    --green-light:#2E7D32;
    --gold:#D4AF37;
    --white:#fff;
    --light:#f8f9fa;
    --dark:#222;
    --gray:#666;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Noto Sans TC",sans-serif;
    background:#fff;
    color:var(--dark);
    line-height:1.8;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

section{
    padding:100px 0;
}

/* ==========================
Navbar
========================== */

/* ===== Navbar ===== */

.navbar{
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    padding:12px 0;
}

.navbar-brand{
    color:#1B5E20;
    font-size:1.35rem;
    font-weight:700;
}

.nav-link{
    color:#333;
    font-weight:500;
    margin-left:18px;
}

.nav-link:hover{
    color:#1B5E20;
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}
/* ==========================
Hero
========================== */

/* ==========================
Hero
========================== */

.hero{

    position:relative;

    width:100%;

    margin-top:80px;

}
.hero-image{

    width:100%;

    height:320px;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:white;

}

.hero h1{

    font-size:42px;

    font-weight:800;

}

.hero p{

    margin:18px 0 28px;

    font-size:18px;

}

@media(max-width:768px){

.hero-image{

    height:260px;

}

.hero h1{

    font-size:30px;

}

.hero p{

    font-size:16px;

}

}

.btn-success{
    background:var(--green);
    border:none;
    border-radius:50px;
    padding:14px 36px;
}

.btn-success:hover{
    background:var(--green-light);
}

.btn-outline-light{
    border-radius:50px;
    padding:14px 36px;
}

/* ==========================
Section
========================== */

.section-title{
    font-size:42px;
    font-weight:800;
    color:var(--green);
    display:inline-block;
    position:relative;
    margin-bottom:20px;
}

.section-title::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-10px;
    transform:translateX(-50%);
    width:70px;
    height:4px;
    background:var(--gold);
    border-radius:50px;
}

.section-subtitle{
    color:#777;
    margin-top:12px;
}

/* ==========================
About
========================== */

#about img{
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

#about p{
    color:#666;
}

/* ==========================
Service
========================== */

.service-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
    text-align:center;
    padding-bottom:25px;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.service-card img{
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    display:block;
}

.service-card h4{
    margin:20px 15px 10px;
    font-size:22px;
    font-weight:700;
    color:#1B5E20;
}

.service-card p{
    padding:0 20px;
    color:#666;
    margin:0;
    line-height:1.8;
}

/* ==========================
Gallery
========================== */

.gallery-img{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:18px;
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.gallery-img:hover{
    transform:scale(1.04);
}
/* ==========================
Feature
========================== */

.feature-icon{
    font-size:60px;
    color:var(--green);
    margin-bottom:20px;
    transition:.35s;
}

.feature-icon:hover{
    color:var(--gold);
    transform:translateY(-6px);
}

.feature-icon+h4{
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
}

.feature-icon+p{
    color:#666;
}

/* ==========================
Contact
========================== */

.contact-section{
    background:var(--green);
    color:#fff;
}

.contact-section h2{
    font-size:42px;
    font-weight:800;
    margin-bottom:25px;
}

.contact-section p{
    color:#fff;
    margin-bottom:15px;
}

.contact-section a{
    color:#fff;
    transition:.3s;
}

.contact-section a:hover{
    color:var(--gold);
}

.contact-section i{
    width:32px;
    color:var(--gold);
}

.contact-section iframe{
    width:100%;
    border:0;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.2);
}

/* ==========================
Footer
========================== */

footer{
    background:#111;
    padding:30px 0;
}

footer p{
    color:#bbb;
    margin:0;
    text-align:center;
}

/* ==========================
Animation
========================== */

.service-card,
.gallery-img,
.btn,
.feature-icon{
    transition:all .35s ease;
}

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

/* ==========================
Rounded
========================== */

.rounded-4{
    border-radius:20px!important;
}

.shadow{
    box-shadow:0 15px 40px rgba(0,0,0,.15)!important;
}

/* ==========================
Responsive
========================== */

@media (max-width:992px){

    .hero{
        height:65vh;
    }

    .hero-image{
        height:65vh;
    }

    .hero h1{
        font-size:48px;
    }

    .hero p{
        font-size:20px;
    }

    .section-title{
        font-size:34px;
    }

    .navbar{
        padding:14px 0;
    }

}

@media (max-width:768px){

    section{
        padding:70px 0;
    }

    .hero{
        height:45vh;
    }

    .hero-image{
        height:45vh;
    }

    .hero-overlay{
        background:rgba(0,0,0,.40);
    }

    .hero h1{
        font-size:32px;
        line-height:1.35;
    }

    .hero p{
        font-size:16px;
        margin:18px 0 25px;
    }

    .btn-success,
    .btn-outline-light{
        padding:12px 28px;
        font-size:15px;
    }

    .section-title{
        font-size:30px;
    }

    .service-card{
        padding:28px 20px;
    }

    .gallery-img{
        height:220px;
    }

    .contact-section iframe{
        margin-top:30px;
    }

}

@media (max-width:576px){

    .navbar-brand{
        font-size:1.15rem;
    }

    .nav-link{
        margin-left:0;
        padding:12px 0;
    }

    .hero{
        height:50vh;
    }

    .hero-image{
        height:50vh;
    }

    .hero h1{
        font-size:26px;
    }

    .hero p{
        font-size:15px;
    }

    .btn{
        width:100%;
        margin-bottom:12px;
    }

}.line-float{
    position:fixed;
    right:20px;
    bottom:calc(90px + env(safe-area-inset-bottom));
    width:55px;
    height:55px;
    background:#06C755;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:26px;
    z-index:999999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}
.line-float:hover{
    transform:scale(1.1);
}
