:root {
    --primary-color: #D4AF37; /* 質感金 */
    --bg-dark: #121212;
    --bg-card: rgba(30, 30, 30, 0.7);
    --text-light: #ffffff;
    --text-muted: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('./assets/hero_bg.webp') center/cover;
    z-index: -1;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.2s, textGlow 2s ease-in-out infinite alternate;
    letter-spacing: 5px;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(212,175,55,0.2), 0 0 20px rgba(212,175,55,0.2); }
    to { text-shadow: 0 0 20px rgba(212,175,55,0.6), 0 0 30px rgba(212,175,55,0.4); }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Featured Section */
.featured {
    background-color: #1a1a1a;
}

.featured-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    flex: 1;
    min-width: 300px;
}

.featured-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 15px;
}

/* 自訂捲軸樣式 */
.featured-gallery::-webkit-scrollbar {
    height: 8px;
}
.featured-gallery::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.featured-gallery::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.featured-img {
    flex: 0 0 auto;
    height: 350px;
    width: auto;
    object-fit: contain;
    scroll-snap-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background-color: #000;
}

.featured-text {
    flex: 1;
    min-width: 300px;
}

.featured-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b5952f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Info Section */
.info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.info-image {
    flex: 1;
    min-width: 300px;
    display: flex;
}

.info-storefront {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-container {
    flex: 1;
    min-width: 300px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.info-business-card {
    margin-top: 30px;
    max-width: 80%;
    border-radius: 8px;
    align-self: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.info-container p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
}

.info-container p i {
    margin-top: 5px;
}

.info-container p strong {
    color: #fff;
}

.info-container p:last-child {
    margin-bottom: 0;
}

.info-container i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.fab-text {
    position: absolute;
    right: 75px;
    background: rgba(30, 30, 30, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.fab:hover {
    transform: scale(1.1);
}

.fab:hover .fab-text {
    opacity: 1;
    transform: translateX(0);
}

.fab-phone {
    background-color: #007bff;
}
.fab-phone:hover {
    background-color: #0056b3;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.fab-mobile {
    background-color: #ff9800;
}
.fab-mobile:hover {
    background-color: #e68a00;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
}

.fab-line {
    background-color: #06C755;
}
.fab-line:hover {
    background-color: #05a044;
    box-shadow: 0 0 15px rgba(6, 199, 85, 0.5);
}

.fab-map {
    background-color: #DB4437; /* Google Red */
}
.fab-map:hover {
    background-color: #c53929;
    box-shadow: 0 0 15px rgba(219, 68, 55, 0.5);
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px;
    background-color: #0a0a0a;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* =========================================
   New Features Styles (Splash, Progress, etc)
   ========================================= */

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.splash-content {
    text-align: center;
    animation: pulse 1.0s infinite alternate;
}

.splash-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.splash-text {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #FFDF73);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Brands Marquee */
.brands-marquee {
    background-color: #0a0a0a;
    padding: 15px 0;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-left: 40px;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Process Section */
.process {
    background-color: var(--bg-dark);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    min-width: 150px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 30px;
    opacity: 0.5;
}



/* FAQ Section */
.faq {
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255,255,255,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    font-weight: normal;
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(0,0,0,0.2);
}

.faq-answer p {
    padding: 20px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   Responsive Adjustments (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .fab-text {
        display: none; /* 手機版隱藏提示文字 */
    }
    
    section {
        padding: 60px 5%;
    }
    
    /* Fix for process layout on mobile */
    .process-steps {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0;
    }
    
    .step {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0 20px 0 !important; /* Override desktop margin-top */
    }
}
