/* Products Hero Section */
.products-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 2rem;
    margin-top: 60px;
}

.products-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: white;
}

.products-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.products-hero p {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 40px 40px;
    animation: patternFade 1s ease-in forwards;
}

/* Product Categories Section */
.product-categories {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.category-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* Product Showcase Section */
.product-showcase {
    padding: 5rem 2rem;
    background: white;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-text {
    padding-right: 2rem;
}

.showcase-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.showcase-features li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: #555;
}

.showcase-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.showcase-image.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.showcase-image:hover img {
    transform: scale(1.05);
}

/* Color Palette Section */
.color-palette {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.color-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-card:hover {
    transform: translateY(-10px);
}

.color-sample {
    height: 150px;
    transition: transform 0.3s ease;
}

.color-card:hover .color-sample {
    transform: scale(1.05);
}

.color-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.color-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes patternFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .showcase-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .products-hero h1 {
        font-size: 3rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .showcase-text {
        padding-right: 0;
    }

    .showcase-features {
        display: inline-block;
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 50vh;
        padding: 1rem;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .products-hero p {
        font-size: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0;
    }

    .category-card {
        padding: 1.5rem;
    }

    .showcase-text h2 {
        font-size: 2rem;
    }

    .palette-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-hero {
        height: 40vh;
    }

    .products-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* High-Performance Animations */
.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .products-hero h1,
    .products-hero p,
    .category-card,
    .showcase-image,
    .color-card {
        animation: none;
        transform: none;
        transition: opacity 0.3s ease;
    }

    .hero-pattern {
        animation: none;
    }
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background: var(--primary-color-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .featured-products {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        max-width: 100%;
    }
}

/* Categories Section */
.categories-section {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.items-count {
    display: inline-block;
    background: var(--primary-color-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-link .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: var(--primary-color-dark);
}

.category-link:hover .arrow {
    transform: translateX(5px);
} 