/* Estilos generales para encabezados */
h1, h2, h3 {
    font-weight: bold !important;
}

/* Clases específicas para line-clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Estilos para resaltado de búsqueda */
.search-highlight {
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Grid nutricional */
.nutritional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.nutritional-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nutritional-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Estilos para descripciones de ingredientes */
.ingredient-description p {
    margin-bottom: 1rem;
}

.ingredient-description p:last-child {
    margin-bottom: 0;
}

.ingredient-description strong {
    font-weight: 600;
    color: #1f2937;
}

/* Estilos para descripciones de recetas */
.recipe-description p {
    margin-bottom: 1rem;
}

.recipe-description p:last-child {
    margin-bottom: 0;
}

.recipe-description strong {
    font-weight: 600;
    color: #1f2937;
}

/* Gradientes de categorías */
.category-gradient {
    background: linear-gradient(135deg, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* Iconos de misión */
.mission-icon {
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
}

/* Estilos para hero image */
.hero-image {
    background-size: cover;
    background-position: center;
}

/* Efectos hover para tarjetas */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para contadores */
.counter {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Iconos de categorías */
.category-icon {
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Elementos de ingredientes */
.ingredient-item {
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    background-color: #fed7aa;
}

/* Números de pasos */
.step-number {
    min-width: 24px;
    min-height: 24px;
}

/* Estilos para tarjetas de recetas */
.recipe-card {
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos para navegación */
.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #f97316;
}

/* Botones */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hero-image {
        height: 250px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}