/* =========================
   HERO CARD
========================= */

.category-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}
.category-hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-top: -60px;
    margin-bottom: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.category-tag {
    display: inline-block;
    background: #c59d5f;
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.category-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    font-size: 15px;
    color: #666;
    max-width: 600px;
}
/* TEXTO */
.category-info h2 {
    font-size: 36px;
    margin: 10px 0;
}

.category-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}
.badge {
    display: inline-block;
    background: #c59d5f;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
}
/* =========================
   MENÚ CARD
========================= */

.menu-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* TEXTO AYUDA */
.menu-helper {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

/* =========================
   TABS
========================= */

.menu-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 18px;
    border-radius: 25px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #c59d5f;
    color: #fff;
}

/* =========================
   LISTA
========================= */

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* =========================
   ESPACIADO GENERAL
========================= */

.category-section {
    padding: 100px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =========================
   GALERÍA NUEVA (PRO)
========================= */

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* THUMBNAILS */
.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
}

.gallery-thumbs img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.gallery-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbs img.active {
    opacity: 1;
    border: 2px solid #c59d5f;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .category-hero {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 280px;
    }

    .gallery-thumbs {
        flex-wrap: wrap;
    }
}

/* =========================
   MODAL IMAGEN
========================= */

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* =========================
   DARK MODE
========================= */



/* HERO CARD */
.dark-theme.category-hero-card {
    background: #1e1e1e;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* TEXTOS */
.dark-theme .category-title,
.dark-theme .category-info h2 {
    color: #fff;
}

.dark-theme .category-description,
.dark-theme .category-info p,
.dark-theme .menu-helper {
    color: #aaa;
}

/* BADGES */
.dark-theme .category-tag,
.dark-theme .badge {
    background: #c59d5f; /* puedes dejarlo igual para mantener branding */
    color: #fff;
}

/* MENU CARD */
.dark-theme .menu-card {
    background: #1e1e1e;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* TABS */
.dark-theme .tab-btn {
    background: #2a2a2a;
    color: #ccc;
}

.dark-theme .tab-btn:hover {
    background: #333;
}

.dark-theme .tab-btn.active {
    background: #c59d5f;
    color: #fff;
}

/* LISTA */
.dark-theme .menu-list li {
    border-bottom: 1px solid #333;
}

/* GALERÍA */
.dark-theme .gallery-thumbs img {
    opacity: 0.5;
}

.dark-theme .gallery-thumbs img:hover {
    opacity: 1;
}

.dark-theme .gallery-thumbs img.active {
    border: 2px solid #c59d5f;
    opacity: 1;
}

/* MODAL (ligero ajuste) */
.dark-theme .image-modal {
    background: rgba(0,0,0,0.95);
}
