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

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-primary-dark: #0d2137;
    --color-accent: #805ad5;
    --color-accent-light: #9f7aea;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #edf2f7;
    --color-border: #e2e8f0;
    --color-success: #38a169;
    --color-warning: #d69e2e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary-dark);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Intro Section */
.intro-section {
    background: var(--color-bg-alt);
}

.intro-section h2 {
    margin-bottom: 1.5rem;
}

.intro-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

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

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

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

/* Properties Section */
.properties-section {
    background: white;
}

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

.property-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    transition: transform var(--transition);
}

.property-card:hover {
    transform: translateX(5px);
}

.property-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

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

/* Types Section */
.types-section {
    background: var(--color-bg-alt);
}

.type-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.type-card.featured {
    border: 2px solid var(--color-accent);
}

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

.type-header h3 {
    color: var(--color-primary);
    margin: 0;
}

.type-badge {
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.type-features {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.type-features li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    list-style: disc;
}

/* Color Section */
.color-section {
    background: white;
}

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

.color-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.color-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.color-swatch {
    height: 80px;
    width: 100%;
}

.color-swatch.blue { background: linear-gradient(135deg, #3182ce, #2c5282); }
.color-swatch.black { background: linear-gradient(135deg, #2d3748, #1a202c); }
.color-swatch.brown { background: linear-gradient(135deg, #8b6f47, #5d4e37); }
.color-swatch.green { background: linear-gradient(135deg, #38a169, #276749); }
.color-swatch.red { background: linear-gradient(135deg, #c53030, #742a2a); }
.color-swatch.purple { background: linear-gradient(135deg, #805ad5, #553c9a); }

.color-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--color-primary);
}

.color-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Recommendations Section */
.recommendations-section {
    background: var(--color-bg-alt);
}

.recommendation-category {
    margin-bottom: 3rem;
}

.recommendation-category h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.recommendation-category > p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

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

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    padding-right: 100px;
}

.product-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-specs {
    margin-bottom: 1.25rem;
    padding-left: 1rem;
}

.product-specs li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    list-style: disc;
}

.product-link {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition), transform var(--transition);
}

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

/* Care Section */
.care-section {
    background: white;
}

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

.care-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.care-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.care-card ul {
    padding-left: 1.25rem;
}

.care-card li {
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    list-style: disc;
    font-size: 0.95rem;
}

.cleaning-products h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.cleaning-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cleaning-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

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

/* FAQ Section */
.faq-section {
    background: var(--color-bg-alt);
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

/* Reference Section */
.reference-section {
    background: white;
}

.reference-table-container {
    overflow-x: auto;
}

.reference-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.reference-table th,
.reference-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.reference-table th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

.reference-table tr:hover {
    background: var(--color-bg-alt);
}

.reference-table td:first-child {
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

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

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

    h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 50px 0;
    }

    .properties-grid,
    .color-grid,
    .product-grid,
    .care-grid,
    .faq-grid,
    .cleaning-grid {
        grid-template-columns: 1fr;
    }

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

    .product-card h4 {
        padding-right: 0;
        margin-top: 2rem;
    }

    .reference-table {
        font-size: 0.85rem;
    }

    .reference-table th,
    .reference-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .intro-card,
    .property-card,
    .type-card,
    .product-card,
    .care-card,
    .faq-item,
    .cleaning-card {
        padding: 1.25rem;
    }
}

/* Smooth scrolling offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Print Styles */
@media print {
    .nav-container,
    .cta-button,
    .mobile-menu-btn {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}
