/* Ajustes generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #333;
    line-height: 1.6;
}

/* Barra de navegacion */
.navbar {
    background-color: #1f2937;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar h1 {
    font-size: 1.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.navbar a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar a:hover, .navbar a.active {
    background-color: #374151;
    color: white;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
    font-size: 2rem;
}

/* Cuadricula de tarjetas (Grid) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Diseño de cada tarjeta */
.card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 5px solid #3b82f6; /* Línea azul decorativa arriba */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el cursor */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.3rem;
}

.card p {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.card strong {
    color: #111827;
}

/* Lista de gustos */
.likes-list {
    list-style-type: none;
}

.likes-list li {
    background-color: #eff6ff;
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.likes-list li::before {
    content: "✔️";
    margin-right: 10px;
    font-size: 0.8rem;
}