/* ===========================
   Global Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.nav-cta {
    background-color: #2c3e50;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   CTA Buttons
   =========================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: #ff6b6b;
    color: white;
}

.cta-primary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.cta-secondary {
    background-color: #2c3e50;
    color: white;
}

.cta-secondary:hover {
    background-color: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.cta-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ===========================
   Products Section
   =========================== */

.products {
    padding: 80px 20px;
    background-color: #ffffff;
}

.products h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.color-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.color-swatch {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.color-card:hover .color-swatch {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.color-swatch.black {
    background-color: #1a1a1a;
}

.color-swatch.navy {
    background-color: #1e3a5f;
}

.color-swatch.brown {
    background-color: #8b6f47;
}

.color-swatch.grey {
    background-color: #7a7a7a;
}

.color-swatch.tan {
    background-color: #c9b69a;
}

.color-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.color-card p {
    color: #999;
    font-size: 0.95rem;
}

.products .cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* ===========================
   Features Section
   =========================== */

.features {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer a {
    color: #ff6b6b;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff5252;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .products h2,
    .features h2,
    .cta-section h2 {
        font-size: 2rem;
    }

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

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

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

    .cta-large {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .products,
    .features,
    .cta-section {
        padding: 50px 20px;
    }

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

    .color-swatch {
        width: 90px;
        height: 90px;
    }

    .color-card h3 {
        font-size: 0.9rem;
    }

    .color-card p {
        font-size: 0.85rem;
    }
}
