/* 基本重置與全域設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    scroll-behavior: smooth;
    background-color: #fff;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #6C5D55;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #7f8c8d;
    font-weight: 300;
    margin-bottom: 1rem;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* HEADER 區塊 */
.site-header {
    background: #6C5D55;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.header-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* BANNER 區塊 */
.banner {
    height: 700px;
    background: url('images/OneDrive_1_2025-11-10/S__75776022_0.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.85) 30%, 
        rgba(0, 0, 0, 0.4) 60%, 
        transparent 100%);
    z-index: 1;
}

.banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.banner-overlay .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.banner-content {
    max-width: 600px;
    text-align: center;
    padding-left: 0;
}

.banner-logo {
    margin-bottom: 3rem;
}

.company-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.company-subtitle {
    font-size: 1rem;
    color: #bdc3c7;
    letter-spacing: 3px;
    font-weight: 300;
}

.banner-slogan {
    margin-bottom: 3rem;
}

.banner-slogan h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #D4C4B0;
    font-weight: 600;
}

.banner-slogan h3 {
    font-size: 1.8rem;
    color: #ecf0f1;
    font-weight: 300;
}

.banner-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: #D4C4B0;
}

.feature-icon svg {
    color: #D4C4B0;
}

.feature-item span:last-child {
    font-size: 1.1rem;
    font-weight: 500;
}

.banner-contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.form-btn {
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* About 區塊 */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.2rem;
    color: #6C5D55;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
    color: #555;
    text-align: justify;
}

.service-partners {
    margin-top: 3rem;
}

.service-partners h4 {
    color: #6C5D55;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.partner-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: #6C5D55;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
}

.partner-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6C5D55;
}

.partner-icon svg {
    color: #6C5D55;
}

.partner-item h5 {
    color: #6C5D55;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

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

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 聯繫側邊欄 */
/* 手機版底部按鈕（桌面版隱藏）*/
.mobile-contact-buttons {
    display: none;
}

.contact-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
    padding: 1rem 0;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 25px 10px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    z-index: 999;
    margin-top: calc(-42.5vh + 115px);
}

.contact-toggle:hover {
    box-shadow: -2px 0 30px 15px rgba(255, 255, 255, 1);
}

.toggle-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.toggle-text span {
    display: block;
    line-height: 1.2;
}

.contact-sidebar {
    position: fixed;
    right: -400px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    max-height: 85vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 16px 0 0 16px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-sidebar.open {
    right: 0;
}

.sidebar-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 1;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-header {
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.sidebar-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-btn {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.contact-btn .info-icon {
    background: white;
}

.contact-btn .info-text strong,
.contact-btn .info-text .info-value {
    color: #6C5D55;
}

.info-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text strong {
    display: block;
    color: #6C5D55;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.info-text a {
    color: #6C5D55;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.info-text .info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.info-text span {
    color: #495057;
    font-size: 0.95rem;
}

.sidebar-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sidebar-highlight strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.sidebar-highlight p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 699的承諾 */
.promise {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
}

.promise-intro {
    text-align: center;
    font-size: 1.3rem;
    color: #6C5D55;
    margin-bottom: 1rem;
    font-weight: 500;
}

.promise-slogan {
    text-align: center;
    font-size: 1.5rem;
    color: #6C5D55;
    margin-bottom: 6rem;
    font-weight: 600;
}

.promise-values {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #6C5D55;
}

.value-icon svg {
    color: #6C5D55;
}

.value-item h4 {
    color: #6C5D55;
    font-size: 1.1rem;
    margin: 0;
}

/* 服務項目 */
.services {
    padding: 100px 0;
    background: white;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-nav-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid transparent;
}

.service-nav-item:hover,
.service-nav-item.active {
    background: white;
    color: #6C5D55;
    border-color: #6C5D55;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

.service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6C5D55;
}

.service-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.services-content {
    position: relative;
    min-height: 400px;
}

.service-detail {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.service-detail.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.service-detail-text h3 {
    font-size: 2rem;
    color: #6C5D55;
    margin-bottom: 2rem;
    border-bottom: 3px solid #6C5D55;
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.service-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
    color: #555;
    font-size: 1.1rem;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6C5D55;
    color: #666;
    font-style: italic;
    margin: 0;
}

.service-detail-image {
    position: relative;
    height: 100%;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 服務地區 */
.service-areas {
    padding: 100px 0;
    background: #f8f9fa;
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.area-map {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.area-map img,
.area-map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    border-radius: 0 0 12px 12px;
}

.area-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #6C5D55;
}

.area-info p {
    font-size: 1rem;
    margin: 0;
}

.areas-grid {
    display: block;
    width: 100%;
}

.area-item {
    width: 100%;
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #6C5D55; /* Changed to top border for single container look */
    border-left: none;
}

.area-integrated {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.area-group {
    flex: 0 1 calc(30% - 2rem); /* 3 items per row roughly */
    min-width: 200px;
    text-align: center;
    margin-bottom: 1rem;
}

.area-group h4 {
    color: #6C5D55;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.area-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #D4C4B0;
}

.area-group ul {
    list-style: none;
    padding: 0;
}

.area-group li {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.area-group li:hover {
    color: #6C5D55;
}

.service-promise {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.promise-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-promise .promise-slogan {
    font-size: 1.4rem;
    margin: 0;
    color: #D4C4B0;
}

/* 案例介紹 */
.portfolio {
    padding: 100px 0;
    background: white;
}

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

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #6C5D55;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-date {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.portfolio-content h3 {
    color: #6C5D55;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.portfolio-category {
    color: #6C5D55;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.portfolio-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #6C5D55;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more:hover {
    text-decoration: underline;
}

.portfolio-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.portfolio-footer p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* 施工側拍 */
.gallery {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
}

.gallery-footer {
    text-align: center;
}

/* 施工側拍分頁 */
.gallery-page {
    display: none;
}

.gallery-page.active {
    display: block;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem 0;
}

.page-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #6C5D55;
    background: white;
    color: #6C5D55;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #6C5D55;
    color: white;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #6C5D55;
    color: white;
}

/* 聯絡表單 */
.contact-form {
    padding: 100px 0;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-section {
    padding: 2rem;
}

.contact-info-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item-large {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-item-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon-large {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    color: #6C5D55;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text a {
    color: #6C5D55;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-text span {
    color: #666;
    font-size: 1.1rem;
}

.contact-text .info-value {
    color: #6C5D55;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.phone {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.social-btn.line {
    background: linear-gradient(135deg, #00c300, #00b300);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-icon {
    font-size: 1.5rem;
    color: white;
}

.form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #6C5D55;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-content {
    max-width: none;
    margin: 0;
    background: none;
    padding: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #6C5D55;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6C5D55;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.reset-button,
.submit-button {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-button {
    background: #95a5a6;
    color: white;
}

.reset-button:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.submit-button {
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Footer */
.footer {
    background: #6C5D55;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    /* Header 調整 */
    .site-header {
        padding: 15px 0;
    }
    
    .header-logo {
        height: 60px;
    }
    
    /* Banner 調整 */
    .banner {
        height: 600px;
    }
    
    .banner::before {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.85) 0%, 
            rgba(0, 0, 0, 0.75) 50%, 
            rgba(0, 0, 0, 0.85) 100%);
    }
    
    .banner-overlay .container {
        justify-content: center;
        padding: 0 20px;
    }
    
    .banner-content {
        max-width: 100%;
        padding-left: 0;
    }
    
    .banner-logo {
        margin-bottom: 2rem;
    }
    
    .company-name {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }
    
    .company-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .banner-slogan {
        margin-bottom: 2rem;
    }
    
    .banner-slogan h2 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .banner-slogan h3 {
        font-size: 1.3rem;
    }
    
    .banner-features {
        flex-direction: row;
        gap: 1.5rem;
        margin-bottom: 2rem;
        justify-content: space-around;
    }
    
    .feature-item {
        gap: 0.3rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-item span:last-child {
        font-size: 0.85rem;
    }
    
    .banner-contact {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .phone-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* 隱藏桌面版側邊欄和按鈕 */
    .contact-toggle {
        display: none;
    }
    
    .contact-sidebar {
        display: none;
    }
    
    /* 手機版底部固定按鈕 */
    .mobile-contact-buttons {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 998;
        gap: 0;
        background: white;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-contact-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem;
        text-decoration: none;
        color: white;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        border: none;
    }
    
    .mobile-contact-btn.phone {
        background: linear-gradient(135deg, #6C5D55, #6C5D55);
    }
    
    .mobile-contact-btn.line {
        background: linear-gradient(135deg, #06C755, #00B140);
    }
    
    .mobile-contact-btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .mobile-contact-btn svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-contact {
        right: -280px;
        top: auto;
        bottom: 120px;
        transform: none;
    }
    
    .floating-contact.expanded {
        right: 0;
    }
    
    .contact-tab {
        height: 60px;
        width: 120px;
        border-radius: 12px 0 0 12px;
        flex-direction: row;
    }
    
    .tab-icon {
        padding: 0.8rem;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .tab-text {
        padding: 0.8rem;
        font-size: 0.9rem;
        flex-direction: row;
        gap: 0.1rem;
        letter-spacing: 0.05em;
        writing-mode: horizontal-tb;
    }
    
    .tab-text span {
        display: inline;
    }
    
    .contact-panel {
        left: 120px;
        width: 280px;
        border-radius: 0 12px 12px 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .promise-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .services-nav {
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-grid {
        display: block;
        width: 100%;
    }

    .area-item {
        padding: 1.5rem;
    }

    .area-integrated {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .area-group {
        flex: none;
        width: auto;
        min-width: 0;
        margin-bottom: 0;
    }
    
    .area-group h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .area-group li {
        font-size: 0.9rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-section .section-header {
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .gallery-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Header 調整 */
    .site-header {
        padding: 10px 0;
    }
    
    .header-logo {
        height: 50px;
    }
    
    /* Banner 調整 */
    .banner {
        height: 550px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .banner-logo {
        margin-bottom: 1.5rem;
    }
    
    .company-name {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .company-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }
    
    .banner-slogan {
        margin-bottom: 1.5rem;
    }
    
    .banner-slogan h2 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .banner-slogan h3 {
        font-size: 1.1rem;
    }
    
    .banner-features {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-item span:last-child {
        font-size: 0.75rem;
    }
    
    .banner-contact {
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .phone-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .promise-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-item {
        min-width: auto;
        padding: 1rem;
    }
    
    .services-nav {
        padding: 0.5rem;
    }
    
    .service-nav-item {
        padding: 1rem 0.5rem;
        min-width: 120px;
        flex-shrink: 0;
    }
    
    .service-name {
        font-size: 0.8rem;
    }
    
    .contact-item-large {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .form-section {
        padding: 2rem 1.5rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

/* 案例詳情彈窗樣式 */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    height: calc(100vh - 200px);
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: sticky;
    top: 20px;
    left: 100%;
    margin-left: -60px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    float: right;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem;
}

.modal-header h2 {
    font-size: 2rem;
    color: #6C5D55;
    margin-bottom: 1rem;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.modal-category {
    color: #6C5D55;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modal-main-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.modal-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.modal-description,
.modal-details {
    margin-bottom: 2rem;
}

.modal-description h3,
.modal-details h3,
.modal-gallery h3 {
    font-size: 1.5rem;
    color: #6C5D55;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6C5D55;
}

.modal-description p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.modal-details ul {
    list-style: none;
    padding: 0;
}

.modal-details li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.modal-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6C5D55;
    font-weight: bold;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.modal-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.05);
}

.modal-contact {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
}

.modal-contact p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.modal-contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6C5D55, #6C5D55);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.modal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.read-more {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-main-image img {
        height: 250px;
    }
    
    .modal-images {
        grid-template-columns: 1fr;
    }
    
    .modal-images img {
        height: 250px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}
