:root {
    --primary-color: #1c1c1c;
    --secondary-color: #252525;
    --accent-color: #d4af37;  /* 奢華金色 */
    --accent-hover: #b39030;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --gradient-overlay: linear-gradient(45deg, rgba(28, 28, 28, 0.4), rgba(37, 37, 37, 0.3));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: transparent;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(28, 28, 28, 0.8);
    padding: 1rem 5%;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--text-color);
    letter-spacing: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    color: var(--text-color);
    letter-spacing: 10px;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.5rem;
    padding: 0.5rem 0;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-links a:hover {
    color: var(--accent-color);
    letter-spacing: 3px;
}

.cart {
    font-size: 1.2rem;
    cursor: pointer;
}

.hero {
    height: 100vh;
    background: var(--gradient-overlay),
                url('../images/hero.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 0 10% 8% 10%;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, rgba(28, 28, 28, 0.02) 50%, rgba(28, 28, 28, 0) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 200;
    letter-spacing: 5px;
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    font-weight: 300;
    width: 60%;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 300;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.featured {
    padding: 8rem 5%;
    background-color: var(--primary-color);
}

.featured h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--accent-color);
    font-weight: 500;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.product-card p {
    color: var(--text-secondary);
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
}

.categories {
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    background-color: var(--secondary-color);
    max-width: 1800px;
    margin: 0 auto;
}

.category {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category:hover img {
    transform: scale(1.05);
}

.category h3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--text-color);
    font-size: 2rem;
    z-index: 2;
    font-weight: 300;
    letter-spacing: 1px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    transition: opacity 0.3s ease;
}

.category:hover .overlay {
    opacity: 0.9;
}

footer {
    background-color: var(--secondary-color);
    padding: 3rem 5% 1rem;
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-secondary);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
}

.market-showcase {
    padding: 8rem 5%;
    background-color: var(--primary-color);
    position: relative;
}

.market-content {
    text-align: center;
    margin-bottom: 4rem;
}

.market-content h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.market-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.market-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .market-gallery {
        grid-template-columns: 1fr;
    }
    
    // ... existing media queries ...
}

/* 使用者選單樣式 */
.user-menu-container {
    position: relative;
}

#userMenu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 1;
    transform: translateY(0);
}

#userMenu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* 行動裝置選單樣式 */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-menu.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }

    .market-gallery {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-menu-button {
        display: none;
    }
    .mobile-menu {
        display: none;
    }
} 