/**
 * MevaYemek tarif sayfası kahraman bölümü stilleri
 * 
 * Geliştirici: Vedat Ardil - www.vedatardil.com.tr
 */

/* Tarif sayfası hero - Başlık ve görsel ayrı bloklar, iç içe değil */
.recipe-hero {
    margin-bottom: 3rem;
}

/* Başlık bloğu - Kendi kartı */
.recipe-hero__header {
    text-align: center;
    padding: 2.5rem 2rem 3rem;
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.recipe-hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.recipe-hero__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.recipe-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.recipe-hero__meta-item {
    display: flex;
    align-items: center;
    margin: 0 1rem 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.recipe-hero__meta-item:hover {
    transform: none;
    box-shadow: none;
}

.recipe-hero__meta-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.recipe-hero__meta-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recipe-hero__meta-item a:hover {
    color: var(--primary-color);
}

/* Görsel bloğu - Başlıktan ayrı, kendi kartı */
.recipe-hero__image-wrap {
    margin-top: 0;
}

.recipe-hero__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.recipe-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.recipe-hero__image:hover img {
    transform: scale(1.02);
}

/* Responsive düzenlemeler */
@media (max-width: 992px) {
    .recipe-hero__header {
        padding: 2rem 1.5rem 2.5rem;
        margin-bottom: 2rem;
    }
    
    .recipe-hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .recipe-hero__header {
        padding: 1.75rem 1.25rem 2rem;
        margin-bottom: 1.75rem;
    }
    
    .recipe-hero__title {
        font-size: 2rem;
    }
    
    .recipe-hero__meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .recipe-hero__meta-item {
        margin: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .recipe-hero__header {
        padding: 1.5rem 1rem 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .recipe-hero__title {
        font-size: 1.8rem;
    }
    
    .recipe-hero__meta {
        margin-top: 1.25rem;
    }
    
    .recipe-hero__meta-item {
        margin: 0.3rem;
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
        width: calc(50% - 0.6rem);
        justify-content: center;
    }
}
