/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&family=Charmonman:wght@400;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcf8f3; /* 淺米白，營造溫暖感 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #FF7043; /* 暖橘色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E64A19; /* 深一點的橘色 */
}

h1, h2, h3 {
    font-family: 'Noto Sans TC', sans-serif;
    color: #4A148C; /* 深紫色，有質感且不失童趣 */
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em; /* 調整標題大小 */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #4A148C; /* 確保H2顏色 */
}

h2::after { /* 小裝飾線 */
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFD180; /* 淺橘色 */
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-padding {
    padding: 80px 0;
}

/* Header */
.header {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 1000;
    height: 0;
}
.header .container {
    padding: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 95vh; 
    background: url('hero-bg.png') no-repeat center top/cover;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* 介紹內容框樣式 */
.intro-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.intro-content h1 {
    font-size: 2.5em;
    margin-bottom: 8px;
    color: #4A148C;
    text-shadow: none;
}
.intro-content .english-name {
    display: block;
    font-size: 0.6em;
    font-family: 'Charmonman', cursive;
    color: #FF7043;
    margin-top: 5px;
}
.intro-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #555;
    text-shadow: none;
}
.intro-content .slogan-note {
    font-size: 1em;
    margin-top: 15px;
    opacity: 0.9;
    color: #666;
}

/* Buttons */
.btn-line, .btn-line-large {
    display: inline-block;
    background-color: #00C300;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 195, 0, 0.3);
    margin-top: 15px;
}
.btn-line:hover, .btn-line-large:hover {
    background-color: #00A600;
    transform: translateY(-2px);
}
.btn-line i, .btn-line-large i {
    margin-right: 10px;
}
.btn-line-large {
    padding: 15px 35px;
    font-size: 1.5em;
    margin-top: 30px;
}

/* 【樣式修改】為背景包裹重新加上淡化效果 */
.pattern-background-wrapper {
    background-color: #fef9fb; /* 非常淺的粉白色底 */
    /* 在圖案上方疊加一層半透明白色，達到淡化效果 */
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('pink-circles-pattern.png');
    background-size: 100px 100px; /* 您可以調整圖案的大小 */
}


/* 將 Services Section 背景設為透明 */
.services-section {
    background: transparent;
    text-align: center;
    padding-top: 60px; /* 調整上方padding */
    border-bottom: none;
}
.services-section .sub-heading {
    font-size: 1.3em;
    color: #666;
    margin-bottom: 10px;
}

/* Gallery Grid for Services Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 60px;
    max-width: 100%;
    overflow: hidden;
}
.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}

.service-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}
.service-points .point {
    background-color: #fff8e1;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #FFD180;
}
.service-points .point:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.service-points .point i {
    font-size: 3.5em;
    color: #FFC107;
    margin-bottom: 20px;
}
.service-points .point h3 {
    font-size: 1.8em;
    color: #4A148C;
    margin-bottom: 15px;
}
.service-points .point p {
    font-size: 1.1em;
    color: #555;
}

/* Contact Section */
.contact-section {
    background: transparent;
    text-align: center;
    border-bottom: none;
}

.contact-info {
    font-size: 1.3em;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #CCE5FF;
}
.contact-info p {
    margin-bottom: 15px;
}
.contact-info i {
    margin-right: 10px;
    color: #FF7043;
}
.map-link {
    margin-top: 25px;
    font-size: 1.1em;
}

/* Recruit Section */
.recruit-section {
    background: transparent;
    text-align: center;
    border-top: none;
}

.recruit-text {
    font-size: 1.5em;
    color: #4A148C;
    margin-bottom: 20px;
    font-weight: bold;
}
.recruit-contact {
    font-size: 1.2em;
    color: #666;
}

/* Footer */
.footer {
    background-color: #fff;
    color: #F06292;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* --- Responsive Design --- */

@media (max-width: 992px) {
    .hero-section { height: 70vh; }
    .intro-content h1 { font-size: 2.2em; }
    .intro-content p { font-size: 1em; }
    h2 { font-size: 2em; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-grid img { height: 150px; }
    .service-points { flex-direction: column; align-items: center; }
    .service-points .point { max-width: 400px; }
}

@media (max-width: 768px) {
    .hero-section { height: 60vh; }
    .intro-content { padding: 30px; }
    .intro-content h1 { font-size: 1.8em; }
    .intro-content p { font-size: 0.9em; }
    .btn-line, .btn-line-large { font-size: 1.1em; padding: 10px 20px; }
    .btn-line-large { font-size: 1.3em; padding: 12px 25px; }
    .section-padding { padding: 60px 0; }
    .contact-info { font-size: 1.1em; padding: 30px; }
    .recruit-text { font-size: 1.3em; }
}

@media (max-width: 480px) {
    .hero-section { height: 55vh; }
    .intro-content h1 { font-size: 1.5em; }
    .intro-content p { font-size: 0.8em; }
    h2 { font-size: 1.8em; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-grid img { height: 120px; }
    .service-points .point { min-width: unset; width: 90%; }
    .contact-info { padding: 20px; font-size: 1em; }
}