/* ============================================
   CSS 重置與基礎變數
   ============================================ */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft JhengHei', 'Segoe UI', sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER 與 LOGO 樣式
   ============================================ */
header {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LOGO 圖片 - 修正版 */
.header-content .logo .logo-icon {
    width: 80px; /* 調整為更合理的尺寸 */
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.header-content .logo .logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s;
}

.header-content .logo .logo-image:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.logo-text .tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 聯繫按鈕 */
.main-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-large {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-button {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================
   聯繫與表單佈局
   ============================================ */
.contact-and-form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 2rem 0;
}

/* 左側聯繫信息 */
.contact-info-sidebar {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    height: fit-content;
}

.contact-info-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-methods {
    list-style: none;
}

.contact-methods li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.contact-methods li:last-child {
    border-bottom: none;
}

.contact-methods strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-methods a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-methods a:hover {
    text-decoration: underline;
}

/* 右側快速查詢表單 */
.quick-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quick-form h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-note a {
    color: #25D366;
    font-weight: bold;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ============================================
   價格區域樣式
   ============================================ */
.price-section {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.price-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.price-item h4 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.2rem;
}

.price {
    margin: 1.2rem 0;
    min-height: 90px;
}

/* 價格顯示樣式 */
.line-through {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: normal;
    display: inline-block;
}

.highlight {
    color: var(--danger);
    font-weight: bold;
    font-size: 1.8rem;
    display: block;
    margin: 0.5rem 0;
}

.discount-badge {
    background: var(--danger);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 10px;
    font-weight: bold;
    vertical-align: middle;
}

.regular-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--success);
    margin: 1rem 0;
}

.price-note {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    background: #fef2f2;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-top: 0.8rem;
    border: 1px dashed #fca5a5;
}

.promo-tag i {
    color: var(--danger);
    margin-right: 6px;
    font-size: 0.9rem;
}

.promo-tag span {
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   WHATSAPP 樣式
   ============================================ */
.whatsapp-large {
    font-size: 1.2rem;
    font-weight: bold;
    color: #25D366;
    text-decoration: none;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.whatsapp-large:hover {
    color: #128C7E;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   FOOTER 樣式
   ============================================ */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.business-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================
   響應式設計
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-content .logo .logo-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .main-contact {
        align-items: center;
    }
    
    .contact-and-form-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .price-item {
        padding: 1.2rem;
    }
    
    .highlight {
        font-size: 1.5rem;
    }
    
    .regular-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .price-section {
        padding: 2rem 1rem;
    }
    
    .quick-form {
        padding: 1.5rem;
    }
    
    .contact-info-sidebar {
        padding: 1.5rem;
    }
}