/* ===== CSS Variables ===== */
:root {
    --color-primary: #1A1A1A;
    --color-primary-light: #2D2D2D;
    --color-primary-dark: #0D0D0D;
    --color-gold: #C9A962;
    --color-gold-light: #D4BC7A;
    --color-gold-dark: #B8954A;
    --color-cream: #F5F0E8;
    --color-cream-light: #FAF8F4;
    --color-cream-dark: #E8E0D4;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
}

.btn-outline {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: white;
}

.btn-outline-light {
    border-color: var(--color-cream);
    color: var(--color-cream);
}

.btn-outline-light:hover {
    background-color: var(--color-cream);
    color: var(--color-primary);
}

/* ===== Section Padding ===== */
section {
    padding: 5rem 0;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
}

.hero-logo {
    max-width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-logo-text {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    padding-top: 5rem;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-light) 50%, var(--color-cream) 100%);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    color: var(--color-gold);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .gold {
    color: var(--color-gold);
}

.hero .description {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-large {
    width: 24rem;
    height: 24rem;
    background-color: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    position: absolute;
}

.circle-small {
    width: 20rem;
    height: 20rem;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-letter {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-gold);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ===== Series Section ===== */
.series-section {
    background-color: white;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.series-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    transition: all 0.3s ease;
}

.series-item:hover {
    border-color: rgba(201, 169, 98, 0.5);
    transform: translateY(-5px);
}

.series-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.series-item:hover .series-icon {
    background-color: rgba(201, 169, 98, 0.1);
}

.series-icon span {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
}

.series-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.series-item p {
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.6);
}

/* ===== Featured Products ===== */
.featured-section {
    background-color: var(--color-cream);
}

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

.product-card {
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background-color: white;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-gold);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    z-index: 2;
}

.product-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.product-circle {
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-circle span {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: rgba(201, 169, 98, 0.3);
}

.product-card:hover .product-circle {
    border-color: rgba(201, 169, 98, 0.4);
}

.product-category {
    font-size: 0.875rem;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.product-name-cn {
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 0.5rem;
}

.product-card:hover .product-name {
    color: var(--color-gold);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 500;
}

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

/* ===== Brand Story ===== */
.brand-story {
    background-color: var(--color-primary);
    color: var(--color-cream);
}

.brand-story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-story .subtitle {
    color: var(--color-gold);
}

.brand-story h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.125rem;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.frame {
    position: absolute;
    border: 1px solid rgba(201, 169, 98, 0.3);
}

.frame-1 {
    width: 20rem;
    height: 20rem;
}

.frame-2 {
    width: 16rem;
    height: 16rem;
}

.frame-3 {
    width: 12rem;
    height: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.large-letter {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-gold);
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background-color: var(--color-cream-light);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-cream);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 1rem;
    max-width: 400px;
}

.footer-brand .address {
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul li,
.footer-links ul, 
.footer-contact ul li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact li {
    color: rgba(245, 240, 232, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .brand-story .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .circle-large {
        width: 16rem;
        height: 16rem;
    }

    .circle-small {
        width: 14rem;
        height: 14rem;
    }

    .logo-letter {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .series-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Product Page Styles ===== */
.page-header {
    background-color: var(--color-primary);
    color: var(--color-cream);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(245, 240, 232, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters {
    padding: 1.5rem 0;
    background-color: var(--color-cream-light);
    position: sticky;
    top: 5rem;
    z-index: 100;
}

.filters .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.filter-btn:hover {
    background-color: rgba(201, 169, 98, 0.1);
}

.filter-btn.active {
    background-color: var(--color-gold);
    color: white;
}

.filter-select {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid rgba(201, 169, 98, 0.3);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Products Grid */
.products-section {
    padding: 5rem 0;
    background-color: white;
}

.products-section .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-section .products-grid {
        grid-template-columns: 1fr;
    }
}

.no-products {
    text-align: center;
    padding: 4rem 0;
    color: rgba(26, 26, 26, 0.6);
}

/* ===== Product Detail Page ===== */
.breadcrumb {
    padding: 1rem 0;
    background-color: var(--color-cream-light);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(26, 26, 26, 0.6);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb span {
    color: rgba(26, 26, 26, 0.4);
}

.breadcrumb .current {
    color: var(--color-gold);
}

/* Product Detail */
.product-detail {
    padding: 5rem 0;
    background-color: white;
}

.product-detail .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
}

.product-detail-image {
    position: relative;
    aspect-ratio: 1;
    background-color: var(--color-cream);
}

.product-detail-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.product-detail-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-gold);
    color: white;
    padding: 0.25rem 1rem;
    z-index: 2;
}

.product-detail-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.product-detail-circle {
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-circle span {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(201, 169, 98, 0.3);
}

.product-detail-info {
    padding: 2rem 0;
    min-width: 0;
}

.product-detail-category {
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-detail-name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.product-detail-name-en {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 2rem;
    overflow-wrap: anywhere;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.product-detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 2rem;
}

.product-info-section {
    border-top: 1px solid rgba(201, 169, 98, 0.2);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.product-info-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.product-info-section ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.product-info-section li {
    margin-bottom: 0.5rem;
    color: rgba(26, 26, 26, 0.8);
}

.product-info-section .usage-list {
    list-style: none;
    padding-left: 0;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.usage-number {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(201, 169, 98, 0.1);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.product-buttons {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
}

.product-buttons .btn {
    flex: 1;
    text-align: center;
}

/* Product Description Section */
.product-description-section {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

.product-description-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.product-description-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.product-description-text p {
    font-size: 1.25rem;
    line-height: 2;
    color: rgba(26, 26, 26, 0.8);
}

/* Related Products */
.related-products {
    padding: 5rem 0;
    background-color: white;
}

.related-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Responsive for product detail */
@media (max-width: 1024px) {
    .product-detail .container {
        grid-template-columns: 1fr;
    }
}

/* ===== About Page ===== */
.about-story {
    padding: 5rem 0;
    background-color: white;
}

.about-story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 1.5rem;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Philosophy Section */
.philosophy-section {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

.philosophy-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

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

.philosophy-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
}

.philosophy-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background-color: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon span {
    font-size: 1.75rem;
}

.philosophy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: rgba(26, 26, 26, 0.7);
}

/* Series List */
.series-list-section {
    padding: 5rem 0;
    background-color: white;
}

.series-list-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.series-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.series-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--color-cream);
    transition: background-color 0.3s ease;
}

.series-list-item:hover {
    background-color: var(--color-cream-dark);
}

.series-list-number {
    width: 5rem;
    height: 5rem;
    background-color: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.series-list-number span {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
}

.series-list-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .series-list-content {
        text-align: left;
    }
}

.series-list-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.series-list-content p {
    color: rgba(26, 26, 26, 0.7);
}

.series-list-name {
    color: var(--color-gold);
    font-weight: 500;
}

/* Company Info */
.company-section {
    padding: 5rem 0;
    background-color: var(--color-primary);
    color: var(--color-cream);
}

.company-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.company-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.company-info p {
    font-size: 1.125rem;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 2rem;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-details p {
    margin-bottom: 0;
}

.company-details strong {
    display: inline-block;
    width: 60px;
}

.company-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.company-visual .hero-logo {
    max-width: 350px;
}

.company-visual .large-letter {
    font-size: 6rem;
    display: block;
    margin-bottom: 1rem;
}

.company-visual .name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.company-visual .tagline {
    color: rgba(245, 240, 232, 0.6);
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .about-story .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .company-section .container {
        grid-template-columns: 1fr;
    }

    .company-visual {
        order: -1;
    }
}
