/* Color Catalog Page Styles */

/* Hero Section */
.color-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #FFFFFF 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.color-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.color-hero .container-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
}

.color-hero .container-image img {
    max-width: 600px;
    width: 100%;
    object-fit: cover;
}

.color-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.color-hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto;
}

/* Colors Section */
.colors {
    padding: 4rem 0;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.color-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.color-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.color-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.color-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.color-card:hover .color-image img {
    transform: scale(1.1);
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.color-card:hover .color-overlay {
    opacity: 1;
}

.color-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.color-content {
    padding: 2rem;
}

.color-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.color-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.color-details {
    margin-bottom: 2rem;
}

.color-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.color-info:last-child {
    border-bottom: none;
}

.color-label {
    font-weight: 600;
    color: var(--text-color);
}

.color-value {
    color: var(--text-light);
}

/* Contact CTA Section */
.contact-cta {
    padding: 4rem 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .color-hero-content h1 {
        font-size: 2.5rem;
    }

    .color-hero-content p {
        font-size: 1rem;
    }
    
    .colors-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .color-hero {
        padding: 6rem 0 3rem;
    }
    
    .color-hero-content h1 {
        font-size: 2rem;
    }
    
    .color-content {
        padding: 1.5rem;
    }
    
    .color-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation classes for color page */
.color-card {
    animation: fadeInUp 0.6s ease-out;
}

.color-card:nth-child(1) { animation-delay: 0.1s; }
.color-card:nth-child(2) { animation-delay: 0.2s; }
.color-card:nth-child(3) { animation-delay: 0.3s; }
.color-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects */
.color-card {
    position: relative;
    overflow: hidden;
}

.color-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
}

.color-card:hover::before {
    left: 100%;
}

/* Color preview animations */
.color-preview {
    animation: pulse 2s infinite;
}

/* Loading state for images */
.color-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Color scheme variations */
.color-card[data-color="red"] .color-preview {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.color-card[data-color="white"] .color-preview {
    background: linear-gradient(135deg, #F5F5DC, #FAEBD7);
}

.color-card[data-color="gray"] .color-preview {
    background: linear-gradient(135deg, #696969, #808080);
}

.color-card[data-color="brown"] .color-preview {
    background: linear-gradient(135deg, #654321, #8B4513);
}

.no-padding {
    padding: 0;
    padding-bottom: 32px;
}