/* 重置和基本樣式 - 無印簡約風 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    background-color: #fafafa;
    overflow-x: hidden;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航欄 - 無印簡約風 */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c2c2c;
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #2c2c2c;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主頁橫幅 - 無印簡約風 */
.hero {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #2c2c2c;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23f0f0f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #666;
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: #666;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #2c2c2c;
    color: white;
    border: 1px solid #2c2c2c;
    box-shadow: none;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: #2c2c2c;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* 服務特色 - 無印簡約風 */
.features {
    padding: 100px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #2c2c2c;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #2c2c2c;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid #f0f0f0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #666;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c2c2c;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.95rem;
}

/* 價格方案 - 無印簡約風 */
.pricing {
    padding: 100px 0;
    background: #fafafa;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: #2c2c2c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #2c2c2c;
    letter-spacing: 0.5px;
}



.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: #666;
    font-weight: 300;
}

.amount {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0.2rem;
    color: #2c2c2c;
}

.period {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    font-weight: 300;
    border-bottom: 1px solid #f8f8f8;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #2c2c2c;
    font-size: 1rem;
}

/* 預約表單 - 無印簡約風 */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fafafa;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-item:hover {
    background: #f5f5f5;
    transform: translateX(3px);
    border-color: #e0e0e0;
}

.contact-item i {
    font-size: 1.3rem;
    color: #666;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #2c2c2c;
    font-weight: 300;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-weight: 300;
    font-size: 0.9rem;
}

.booking-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.booking-form h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: #2c2c2c;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #ffffff;
    color: #2c2c2c;
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c2c2c;
    box-shadow: 0 0 0 2px rgba(44, 44, 44, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 頁腳 - 無印簡約風 */
.footer {
    background: #fafafa;
    color: #2c2c2c;
    padding: 3rem 0 1rem;
    border-top: 1px solid #f0f0f0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-weight: 300;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .contact-info,
    .booking-form {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .amount {
        font-size: 3rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.contact-info,
.booking-form {
    animation: fadeInUp 0.6s ease-out;
}

/* 滾動效果 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 表單驗證樣式 */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.success-message {
    background: #2ecc71;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.success-message i {
    font-size: 1.2rem;
}

/* 日期和時間選擇器樣式 */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

input[type="date"]:before {
    content: attr(placeholder);
    width: 100%;
    color: #6c757d;
}

input[type="date"]:focus:before,
input[type="date"]:valid:before {
    display: none;
}

/* 電話號碼點擊樣式 */
.contact-item p {
    transition: all 0.3s ease;
}

.contact-item p:hover {
    transform: scale(1.05);
}

/* 語言切換器樣式 */
.language-selector {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: transparent;
    border: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.language-btn:hover {
    background: #f8f9fa;
    color: #3498db;
}

.language-btn i.fa-globe {
    font-size: 1.1rem;
}

.language-btn i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu.active + .language-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #3498db;
}

.lang-option.active {
    background: #e3f2fd;
    color: #1976d2;
}

.lang-option .flag {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* 多語言字體支援 */
body[data-lang="zh"] {
    font-family: 'Noto Sans TC', sans-serif;
}

body[data-lang="en"] {
    font-family: 'Noto Sans TC', sans-serif;
}

body[data-lang="ja"] {
    font-family: 'Noto Sans JP', sans-serif;
}

body[data-lang="fil"] {
    font-family: 'Noto Sans TC', sans-serif;
}

body[data-lang="id"] {
    font-family: 'Noto Sans TC', sans-serif;
}

/* 響應式表格優化 */
@media (max-width: 768px) {
    .booking-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .language-menu {
        right: -50px;
        min-width: 180px;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .lang-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}
