/* Wedding Color Palette - Premium Theme */

.palette-card {
    animation: paletteReveal 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.palette-card:nth-child(1) { animation-delay: 0.1s; }
.palette-card:nth-child(2) { animation-delay: 0.2s; }
.palette-card:nth-child(3) { animation-delay: 0.3s; }
.palette-card:nth-child(4) { animation-delay: 0.4s; }
.palette-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes paletteReveal {
    to { opacity: 1; transform: translateY(0); }
}

.palette-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(122, 26, 59, 0.12);
}

.color-swatch {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.color-swatch:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-swatch::after {
    content: attr(data-hex);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.color-swatch:hover::after {
    opacity: 1;
}

.color-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.color-row .color-swatch {
    flex: 1;
}

.copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1C1917;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 9999;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

.palette-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7a1a3b;
}

.best-for-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 8px;
    font-size: 0.7rem;
    color: #92400e;
    font-weight: 500;
}

.hex-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #78716c;
    text-align: center;
    margin-top: 4px;
}
