/*
 * Farbtabelle - Page-spezifische Styles
 *
 * Diese Styles werden NUR auf der Farbtabelle-Seite geladen
 * Ergänzt die gemeinsamen Styles aus hybrid-pages.css
 *
 * @package Natur-Luftballons
 * @since 1.2.0
 */

/* Color Group Container */
.color-group {
    margin-bottom: 2.5rem;
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.color-group h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #62BC66;
    border-bottom: 2px solid #62BC66;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grünton-Konsistenz: Alle Grüntöne einheitlich #62BC66 (2026-02-10) */
.ubermenu-tab-content-panel {
    background-color: #62BC66 !important;
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

/* Color Items */
.color-item {
    text-align: center;
}

.color-item a {
    display: block;
    text-decoration: none;
    transition: transform 0.2s;
}

.color-item a:hover {
    transform: translateY(-4px);
}

.color-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.color-item .color-number {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.1;
}

.color-item .color-name {
    display: block;
    margin-top: 0.03rem;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
    .color-group {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .color-group h2 {
        font-size: 1.3rem;
    }

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

    .color-item img {
        width: 70px;
        height: 70px;
    }

    .color-item .color-name {
        font-size: 0.75rem;
    }

    .color-item .color-number {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .color-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.5rem;
    }

    .color-item img {
        width: 60px;
        height: 60px;
    }
}
