:root {
    color-scheme: dark;
}

body {
    background: radial-gradient(circle at top, rgba(255, 90, 80, 0.14), transparent 28%),
                linear-gradient(180deg, rgba(12, 12, 15, 0.98) 0%, rgba(3, 3, 6, 1) 100%);
}

.chef-hero {
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 70px 24px 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 15, 20, 0.92), rgba(30, 16, 50, 0.86)),
                url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1200&auto=format&fit=crop&q=80") center/cover no-repeat;
}

.chef-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 109, 80, 0.2), transparent 38%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 20%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    max-width: 680px;
    z-index: 1;
    animation: fadeInUp 1s ease both;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    line-height: 0.95;
    max-width: 12ch;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #ff4d4d, #ff9a3c);
    color: #fff;
    box-shadow: 0 18px 40px rgba(255, 77, 77, 0.24);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px) scale(1.01);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.page {
    padding: 50px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.page h1 {
    margin-bottom: 28px;
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    color: #fff;
    text-align: center;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.9s ease both;
}

.page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.page .card {
    position: relative;
    padding: 20px 20px 26px;
    min-height: 300px;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: fadeInUp 0.8s ease both;
}

.page .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 65%);
    pointer-events: none;
    opacity: 0.7;
}

.chef-image {
    position: relative;
    width: 100%;
    height: 210px;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 18px 30px rgba(0,0,0,0.18);
}

.chef-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.5s ease;
    display: block;
}

.chef-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
}

.page .card h3,
.page .card p {
    position: relative;
    z-index: 1;
}

.page .card:hover .chef-image img {
    transform: scale(1.08);
    filter: brightness(1.04);
}

.page .card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.page .card p {
    line-height: 1.85;
    opacity: 0.92;
}

.page .card strong {
    color: #ffb347;
}

.page .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 28px 55px rgba(255, 77, 77, 0.22);
    border-color: rgba(255, 255, 255, 0.18);
}

.page .card:hover::before {
    opacity: 0.95;
}

.btn, .page .card {
    will-change: transform, box-shadow;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .chef-hero {
        padding: 50px 18px 32px;
        min-height: auto;
    }

    .hero-copy h1 {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
