/* Custom styles for Color Palette Picker */

/* Hero Section - Random Color Boxes */
#heroColorBoxes {
    width: 100%;
}

.color-box {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s ease;
    min-width: 0; /* Prevent flex items from overflowing */
}

.color-box .hex-code {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .color-box {
        height: 300px;
    }
    
    .color-box .hex-code {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .color-box {
        height: 200px;
    }
    
    .color-box .hex-code {
        font-size: 1rem;
    }
}

/* Generator Section */
.container.my-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.container h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Generator Section - Tints and Shades Cards */
.color-card {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.color-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.color-card .hex-code {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

/* Responsive adjustments for generator section */
@media (max-width: 576px) {
    .color-card {
        height: 120px;
    }
    
    .color-card .hex-code {
        font-size: 0.9rem;
    }
    
    .container h2 {
        font-size: 1.5rem;
    }
    
    .container h3 {
        font-size: 1.25rem;
    }
}
