/* 基本樣式重置 */


body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
/*    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* 黑色陰影 */
   
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 導航欄樣式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1920px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.0rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo img {
    height: 90px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
    margin-left: 0.5rem;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: #e74c3c;
}

/* 下拉式選單 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #e74c3c;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 手機版菜單按鈕 */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Banner輪播樣式 */
.banner {
    position: relative;
    margin-top: 70px;
    overflow: hidden;
    height: 500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    max-width: 500px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 2rem;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* 主要內容樣式 */
.container {
    max-width: 1200px;
    margin: 0.1rem auto;
    padding: 0 1rem;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.services {
    margin: 4rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
}

.contact {
    margin: 4rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 10px;
    color: #e74c3c;
}

/* 頁尾樣式 */
footer {
    background-color: #23668b;
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #e74c3c;
}

.footer-section p, .footer-section li {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #34495e;
    color: #772207;
    font-size: 0.9rem;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: #fff;
        width: 80%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    /* 漢堡菜單動畫 */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .banner {
        height: 400px;
    }

    .slide-content {
        left: 5%;
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 300px;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 250px;
        margin-top: 60px;
    }

    .slide-content {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 30px;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .services h2, .contact h2 {
        font-size: 1.8rem;
    }
}

 /* 行動呼籲按鈕 */

        .cta-button {

            display: inline-block;

            background-color: #0d82f5;

            color: white;

            padding: 12px 30px;

            border-radius: 30px;

            text-decoration: none;

            font-weight: bold;

            margin-top: 20px;

            transition: all 0.3s;

            border: none;

            cursor: pointer;

            font-size: 16px;

        }

        

        .cta-button:hover {

            background-color: #e65a2b;

            transform: translateY(-3px);

            box-shadow: 0 5px 15px rgba(230, 90, 43, 0.3);

        }

        

        .text-center {

            text-align: center;

        }

        /* 右下角浮動按鈕樣式 */
        .floating-buttons {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .float-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .float-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        }
        
        .float-btn img {
            width: 30px;
            height: 30px;
        }
        
        .phone {
            background-color: #4CAF50;
        }
        
        .line {
            background-color: #06C755;
        }
        
        .top {
            background-color: #2196F3;
        }
		.booking {
  background-color: #FF9800; /* 橘色預約按鈕 */
}
     /* 英雄區塊 */

        .hero {

            background-color: var(--primary-color);

            color: white;

            padding: 80px 0;

            text-align: center;

        }

        

        .hero h1 {

            font-size: 2.5rem;

            margin-bottom: 20px;

            color: white;

        }

        

        .tagline {

            display: flex;

            justify-content: center;

            flex-wrap: wrap;

            gap: 15px;

            margin-top: 20px;

        }

        

        .tagline-item {

            background-color: rgba(255,255,255,0.2);

            padding: 8px 15px;

            border-radius: 20px;

            font-size: 14px;

        }

        

        /* 服務保證區塊 */

        .service-highlights {

            padding: 60px 0;

        }

        

        .section-title {

            text-align: center;

            margin-bottom: 0px;

        }

        

        .guarantee-grid {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

            gap: 30px;

        }

        

        .guarantee-card {

            background: white;

            padding: 30px;

            border-radius: 8px;

            box-shadow: 0 5px 15px rgba(0,0,0,0.05);

            transition: transform 0.3s, box-shadow 0.3s;

        }

        

        .guarantee-card:hover {

            transform: translateY(-5px);

            box-shadow: 0 10px 25px rgba(0,0,0,0.1);

        }

        

        .guarantee-card h3 {

            color: var(--accent-color);

            margin-bottom: 15px;

            font-size: 1.2rem;

        }

        

        .guarantee-card i {

            font-size: 2rem;

            color: var(--primary-color);

            margin-bottom: 15px;

            display: block;

        }

        

        /* 評價區塊 */

        .reviews {

            background-color: var(--secondary-color);

            padding: 20px 0;

        }

        

        .review-grid {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

            gap: 20px;

        }

        

        .review-card {

            background: white;


            padding: 8px;

            border-radius: 8px;

            box-shadow: 0 3px 10px rgba(0,0,0,0.05);

        }

        

        .stars {

            color: #ffc107;

            margin-bottom: 15px;

        }

        

        .review-card p {

           /* margin-bottom: 15px;*/

            font-style: italic;

        }

        

        .reviewer {

            font-weight: bold;

            color: var(--primary-color);

        }

   
       