/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FAF7F2;
    --color-text: #2E2A26;
    --color-accent-amber: #B7791F;
    --color-accent-sage: #7D8C74;
    --color-wood: #D4B896;
    --color-wood-dark: #C8A882;
    --color-border: #E5DFD4;
    --color-shadow: rgba(46, 42, 38, 0.08);
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    line-height: 1.3;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-accent-amber);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-accent-amber);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 0.95rem;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0.25rem 0.5rem;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 600;
}

.lang-sep {
    color: var(--color-text);
    opacity: 0.3;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

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

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    opacity: 0.85;
}

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

.hero-visual svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px var(--color-shadow));
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-shadow);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent-amber);
    border-color: var(--color-accent-amber);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Value Props */
.value-props {
    padding: 3rem 0;
    background-color: white;
}

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

.prop-item {
    text-align: center;
    padding: 1.5rem;
}

.prop-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

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

.prop-item p {
    font-size: 0.9rem;
    opacity: 0.75;
}

/* Section Common */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

/* Products Section */
.products {
    padding: 4rem 0;
}

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--color-shadow);
}

.product-visual {
    margin-bottom: 1.25rem;
    border-radius: calc(var(--border-radius) - 2px);
    overflow: hidden;
}

.product-visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    margin-bottom: 1.25rem;
    opacity: 0.85;
    flex-grow: 1;
}

.product-card .btn {
    align-self: flex-start;
}

/* Craft Section */
.craft {
    padding: 4rem 0;
    background-color: white;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

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

.step-number {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 2.5rem;
    color: var(--color-accent-sage);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.craft-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.craft-step p {
    opacity: 0.85;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Wholesale Section */
.wholesale {
    padding: 4rem 0;
    background-color: white;
}

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

.wholesale-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.wholesale-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-accent-sage);
}

.wholesale-card p {
    opacity: 0.85;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent-amber);
}

.faq-item p {
    opacity: 0.85;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: white;
}

.contact-placeholder {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    border: 1px dashed var(--color-border);
}

.contact-placeholder p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.demo-note {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav {
        gap: 1rem;
        order: 3;
        width: 100%;
        justify-content: center;
    }

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

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

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

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

@media (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .craft-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--color-accent-amber);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .lang-switch,
    .hero-cta,
    .btn {
        display: none;
    }
}
