﻿/* =========================================
   ESTILO GENERAL Y FONDO
   ========================================= */
body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/OSZB540.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.15;
        z-index: -1;
    }

/* =========================================
   ENCABEZADO Y SECCIONES
   ========================================= */
.header-section {
    text-align: center;
    padding: 40px 0;
    color: #333;
}

.main-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    margin-bottom: 0;
}

.sub-title {
    font-size: 1.5rem;
    color: #0026ff;
}

.search-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* =========================================
   TARJETAS (CARDS)
   ========================================= */
.card-canto {
    border: none;
    border-radius: 15px;
    transition: transform 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    height: 100%;
}

    .card-canto:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

/* =========================================
   BOTONES
   ========================================= */
.btn-ver-letra {
    border-radius: 10px;
    border: 1px solid #333;
    color: #333;
    font-weight: 500;
    width: 100%;
}

    .btn-ver-letra:hover {
        background-color: #333;
        color: white;
    }

.btn-success {
    background-color: #28a745;
    border: none;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        background-color: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

/* =========================================
   BADGES DE CATEGORÍAS (ESTRUCTURA)
   ========================================= */
.badge-categoria {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    min-width: 130px;
    text-align: center;
    /* Los colores ahora vienen del style dinámico en el Index.cshtml */
}


/* Efecto de elevación para las tarjetas del Coro */
.card-canto {
    transition: transform 0.3s ease, shadow 0.3s ease;
}

    .card-canto:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

/* Para que los iconos de FontAwesome se vean nítidos */
.fa-solid {
    transition: color 0.3s ease;
}

/* Efecto de agrandamiento suave al pasar el mouse */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

/* Color especial para el badge de categoría en la parte superior */
.badge-categoria {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    background-color: #e9ecef;
    color: #495057;
    display: inline-block;
}