/* =============================================================
   Nejat Hero Widget
   ============================================================= */

/* ── Two-column layout ──────────────────────────────────────── */
.nejat-hero {
    overflow: hidden;
}

.nejat-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "text   media"
        "actions media";
    column-gap: 60px;
    row-gap: 32px;
    align-items: start;
    max-width: var(--nejat-max-width);
    margin: 0 auto;
    padding: var(--nejat-section-pad-v) var(--nejat-gutter);
}

/* ── Left: text block ───────────────────────────────────────── */
.nejat-hero__text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Left: actions block ───────────────────────────────────── */
.nejat-hero__actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nejat-hero__label {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: capitalize;
    color: #4ab3c8;
    margin: 0;
}

.nejat-hero__headline {
    font-size: clamp(30px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0;
}

.nejat-hero__description {
    font-size: 16px;
    line-height: 1.65;
    color: #555555;
    margin: 0;
}

.nejat-hero__description p { margin: 0; }

/* ── Stat ───────────────────────────────────────────────────── */
.nejat-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}
.nejat-hero__stat-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.nejat-hero__stat-icon {
    font-size: 24px;
    line-height: 1;
    background: #fef7e8;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nejat-hero__stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}
.nejat-hero__stat-rating {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}
.nejat-hero__stat-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0;
}
.nejat-hero__stat-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.nejat-hero__stat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 15px;
    background: #ffffff;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.nejat-hero__stat-btn:hover {
    background: #f9f9f9;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}
.nejat-hero__stat-btn-icon {
    flex-shrink: 0;
    display: block;
}
.nejat-hero__stat-btn .nejat-hero__stat-btn-icon {
    color: #4285f4;
}
.nejat-hero__stat-btn--yelp .nejat-hero__stat-btn-icon {
    color: #d32323;
}
.nejat-hero__stat-btn-count {
    color: #666666;
    white-space: nowrap;
}

/* ── Right: image ──────────────────────────────────────────── */
.nejat-hero__media {
    grid-area: media;
    align-self: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: 650px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── QR-code badge (bottom-left of image) ───────────────────── */
.nejat-hero__qr-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 12px 8px 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nejat-hero__qr-badge:hover {
    transform: scale(1.04);
}

.nejat-hero__qr-img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    border-radius: 5px !important;
    background: #ffffff;
}

.nejat-hero__qr-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

/* Icon hidden on desktop; shown on mobile only */
.nejat-hero__qr-icon {
    display: none;
    color: #1a1a1a;
    flex-shrink: 0;
}

.nejat-hero__qr-label {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.03em;
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1100px) {
    .nejat-hero__inner {
        column-gap: 40px;
    }
}

@media (max-width: 768px) {
    .nejat-hero__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "text"
            "media"
            "actions";
        row-gap: 24px;
        padding: 40px var(--nejat-gutter);
    }

    .nejat-hero__media {
        border-radius: var(--nejat-radius);
        aspect-ratio: 3 / 4;
        margin-bottom: 0;
    }

    .nejat-hero__img {
        position: relative;
        inset: unset;
        width: 100%;
        height: 100%;
    }

    /* Hide QR code image on mobile; keep the label text */
    .nejat-hero__qr-img {
        display: none;
    }

    /* Light pill style for mobile badge (no QR image) */
    .nejat-hero__qr-badge {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 4px;
        padding: 4px 8px;
    }

    .nejat-hero__qr-icon {
        display: block;
        color: #ffffff;
    }

    .nejat-hero__qr-label {
        color: #ffffff;
    }

    .nejat-hero__headline {
        font-size: 30px;
    }
}
