/* ======================================================================
   YZ DEFAULT — HERO SECTION
   Prefix: .hero-
   Tasarım: Tam ekran gradient + decorative SVG pattern + büyük marka
   ====================================================================== */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--sp-8) var(--sp-4);
}

@media (max-width: 768px) {
    .hero { min-height: 60vh; }
}

/* ─────────── Decorative SVG Pattern Layer ─────────── */

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 30%, var(--primary) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 60%, var(--accent) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 20%, var(--primary) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, var(--accent) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 40px 40px, 50px 50px;
    background-position: 0 0, 20px 20px, 0 0, 10px 10px;
    pointer-events: none;
}

/* ─────────── Floating Decorative Emojis ─────────── */

.hero-deco {
    position: absolute;
    z-index: -1;
    font-size: 40px;
    opacity: 0.08;
    user-select: none;
    pointer-events: none;
    animation: hero-float 6s ease-in-out infinite;
}

.hero-deco-1 { top: 12%;  left: 8%;  animation-delay: 0s; }
.hero-deco-2 { top: 24%;  right: 12%; animation-delay: 1.5s; font-size: 56px; }
.hero-deco-3 { bottom: 18%; left: 14%; animation-delay: 3s; font-size: 48px; }
.hero-deco-4 { bottom: 22%; right: 18%; animation-delay: 4.5s; }
.hero-deco-5 { top: 50%;  left: 4%;  animation-delay: 2s; font-size: 32px; }
.hero-deco-6 { top: 65%;  right: 6%;  animation-delay: 5s; font-size: 36px; }

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(3deg); }
}

@media (max-width: 768px) {
    .hero-deco { display: none; }
}

/* ─────────── İçerik Container ─────────── */

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
    animation: hero-fade-up 0.8s ease-out;
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────── Status Pill ─────────── */

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text);
    margin-bottom: var(--sp-6);
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-soft);
    flex-shrink: 0;
}
.hero-status.is-open .hero-status-dot {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    animation: hero-pulse 2s infinite;
}
.hero-status.is-warning .hero-status-dot { background: var(--warning); }
.hero-status.is-closed .hero-status-dot  { background: var(--danger); }

@keyframes hero-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(0.7); opacity: 0.6; }
}

/* ─────────── Logo / Avatar ─────────── */

.hero-logo {
    display: inline-flex;
    margin-bottom: var(--sp-5);
}

.hero-logo-img {
    height: 80px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.hero-logo-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 64px;
    letter-spacing: -0.03em;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-logo-avatar { width: 96px; height: 96px; font-size: 52px; }
    .hero-logo-img { height: 64px; }
}

/* ─────────── Başlık & Tagline ─────────── */

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--fw-bold);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 var(--sp-4) 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-dk) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tagline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin: 0 0 var(--sp-8) 0;
    max-width: 480px;
    margin-inline: auto;
}

/* ─────────── CTA Buton ─────────── */

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
    transition: all var(--t-fast);
}
.hero-cta:hover {
    background: var(--primary-dk);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(59, 130, 246, 0.45);
}
.hero-cta:active {
    transform: translateY(0);
}
.hero-cta:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.hero-cta-icon {
    width: 20px;
    height: 20px;
}

/* Sepet adet rozeti — sadece "Siparişini Tamamla" modunda */
.hero-cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    margin-inline-start: 4px;
    backdrop-filter: blur(4px);
}

/* Sepetinde X ürün hint metni */
.hero-cta-hint {
    margin-top: var(--sp-3);
    margin-bottom: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    animation: hero-fade-up 0.8s ease-out 0.2s both;
}

/* CTA disabled (sipariş kapalı durumu) */
.hero-cta.is-disabled {
    background: var(--bg-soft);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    border: 1px solid var(--border);
}

/* ─────────── Scroll Indicator ─────────── */

.hero-scroll {
    position: absolute;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-soft);
    font-size: var(--fs-xs);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
    animation: hero-scroll-bounce 2s infinite;
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .hero-scroll { display: none; }
}
