/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #6b705c;
    --color-primary-dark: #4a4e41;
    --color-secondary: #b5838d;
    --color-accent: #e8c8c8;
    --color-background: #fefae0;
    --color-surface: #ffffff;
    --color-text: #3d405b;
    --color-text-light: #6c6f85;
    --color-border: #ddd5c7;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --container-width: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.site-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.site-header .tagline {
    font-size: 1.15rem;
    opacity: 0.9;
    font-style: italic;
}

/* Navigation */
.main-nav {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 15px 0;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* Main Content */
main {
    padding: 40px 0 60px;
}

.content-section {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-accent);
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin: 25px 0 12px;
}

.content-section p {
    margin-bottom: 15px;
}

.content-section ul, .content-section ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 8px;
}

.content-section a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.content-section a:hover {
    color: var(--color-primary-dark);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--color-accent) 0%, #f5e6e6 100%);
    border-radius: var(--radius);
    padding: 25px 30px;
    margin: 25px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: var(--color-primary-dark);
}

.highlight-box ul {
    margin-bottom: 0;
}

/* Method Cards */
.method-card {
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--color-secondary);
}

.method-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.method-card p:last-child {
    margin-bottom: 0;
}

/* Flower Grid */
.flower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.flower-category {
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 25px;
}

.flower-category h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
}

.flower-category ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.flower-category li {
    padding: 5px 0;
    border-bottom: 1px solid var(--color-border);
}

.flower-category li:last-child {
    border-bottom: none;
}

/* Tip Box */
.tip-box {
    background: #f0f7f0;
    border: 1px solid #c5dbc5;
    border-radius: var(--radius);
    padding: 25px 30px;
    margin: 25px 0;
}

.tip-box h3 {
    margin-top: 0;
    color: #4a6741;
}

.tip-box ul {
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: #fff8f0;
    border: 1px solid #e8d5c4;
    border-radius: var(--radius);
    padding: 25px 30px;
    margin: 25px 0;
}

.warning-box h3 {
    margin-top: 0;
    color: #8b6914;
}

.warning-box ul {
    margin-bottom: 0;
}

/* Steps Container */
.steps-container {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.step-content p:last-child {
    margin-bottom: 0;
}

/* Display Grid */
.display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.display-idea {
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 25px;
}

.display-idea h3 {
    margin-top: 0;
    color: var(--color-secondary);
}

.display-idea p:last-child {
    margin-bottom: 0;
}

/* Products Container */
.products-container {
    display: grid;
    gap: 30px;
}

.product-category h3 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secondary);
}

.product-card {
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.product-link {
    display: inline-block;
    background: var(--color-secondary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.product-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--color-text);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer p:last-child {
    margin-bottom: 0;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 40px 20px;
    }

    .site-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 25px 20px;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .main-nav ul {
        gap: 3px;
    }

    .main-nav a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .flower-grid,
    .display-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .site-header h1 {
        font-size: 1.7rem;
    }

    .site-header .tagline {
        font-size: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .content-section {
        padding: 20px 15px;
    }

    .highlight-box,
    .tip-box,
    .warning-box {
        padding: 20px;
    }

    .method-card,
    .flower-category,
    .display-idea,
    .product-card {
        padding: 20px;
    }
}
