/* ==================== Lenis Smooth Scroll CSS ==================== */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ==================== 自訂捲軸樣式 ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #333 0%, #555 100%);
    border-radius: 5px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555 0%, #777 100%);
}

* {
    scroll-behavior: smooth;
}

body.scrolled .navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s ease;
}

/* ==================== 基礎設定 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3ca4c7;
    --white: #ffffff;
    --black: #000000;
    --gray: #333333;
    --light-gray: #666666;
}


body {
    font-family: "Poppins", "Microsoft JhengHei", "微軟正黑體", sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.8em;
    letter-spacing: 0.1em;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== 導航列 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 3%;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: rgba(255,255,255,0.8);
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.cta-button:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
}

/* ==================== Section 通用樣式 ==================== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.section-tag {
    color: #ffffff;
    text-shadow: 1px 1px 0 #222, 2px 2px 0 #222, 3px 3px 0 #111, 4px 4px 0 #111, 5px 5px 0 #000, 6px 6px 0 #000, 7px 7px 0 #000, 8px 8px 15px rgba(0,0,0,0.8);
    margin-bottom: 1%;
}

.section-title {
    font-size: 3rem;
    color: var(--white);
    font-weight: bold;
    position: relative;
    display: inline-block;
}



/* ==================== 關於我們 ==================== */
.about-section {
    background-color: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(60, 164, 199, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ==================== 常見問題 ==================== */
.faq-section {
    background-color: #0a0a0a;
}

.faq-container {
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    background-color: #111111;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color:#fff;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 500;
}

.faq-icon {
    font-size: 2rem;
    color: #fff;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.8em;
}

/* ==================== 分店資訊 ==================== */
.locations-section {
    background-color: var(--black);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto; 
}

.location-card {
    background: linear-gradient(135deg, #111111, #0a0a0a);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 霓虹燈邊框效果 */
.location-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent,
        transparent,
        #fff
    );
    animation: rotate 4s linear infinite;
}

.location-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border-radius: 20px;
    z-index: 1;
}

/* 內容層級 */
.location-card > * {
    position: relative;
    z-index: 2;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(77, 77, 77, 0.5);
}

/* 霓虹燈旋轉動畫 */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 懸停時加速旋轉 */
.location-card:hover::before {
    animation: rotate 2s linear infinite;
}



@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #fff);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px #fff);
    }
}

.location-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}
.location-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fff;
    /* animation: pulse 2s ease-in-out infinite; */
}

.location-icon i {
    display: inline-block;
}

.location-address,
.location-phone,
.location-hours {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-address i,
.location-phone i,
.location-hours i {
    color: #fff;
    font-size: 1.1rem;
    min-width: 20px;
}

.location-card:hover .location-address,
.location-card:hover .location-phone,
.location-card:hover .location-hours {
    color: #ffffff;
}

.location-card:hover .location-address i,
.location-card:hover .location-phone i,
.location-card:hover .location-hours i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* ==================== 響應式設計更新 ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container,
    .locations-section,
    .footer-bottom{
        padding:0px 40px;
    }
    .nav-menu {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .locations-grid {
        grid-template-columns: 1fr; /* 手機版改為單欄 */
        gap: 30px;
    }
    .faq-section{
        padding: 40px 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }
    
    .locations-grid {
        gap: 25px;
    }
    
    .location-card {
        padding: 40px 20px;
    }
}

/* ==================== Footer ==================== */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(60, 164, 199, 0.5));
}

.footer-brand p {
    color: #999999;
    margin-top: 5px;
}

.footer-social {
    display: flex;
    gap: 30px;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666666;
    font-size: 0.9rem;
}

/* ==================== 滾動動畫 ==================== */
[data-scroll] {
    /* 動畫由 GSAP ScrollTrigger 控制 */
}

/* ==================== 響應式設計 ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

.menu-fullwidth {
    width: 100%;
    line-height: 0;
}

.menu-fullwidth img {
    width: 100%;
    height: auto;
    display: block;
}