/* ======================================================================
   ARZU CAFE — HERO SECTION
   Prefix: .hero-
   Tasarım: Sıcak gün batımı gradient + çam silüetleri + güneş + dalgalar
            Denize sıfır aile çay bahçesi atmosferi
   ====================================================================== */

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        /* Üst: sıcak gün ışığı, sarı-altın tonu */
        radial-gradient(ellipse 1000px 600px at 50% -10%, rgba(247, 232, 200, 0.85) 0%, transparent 65%),
        /* Sağ üst hafif şeftali parıltısı */
        radial-gradient(ellipse 600px 400px at 85% 15%, rgba(232, 200, 150, 0.45) 0%, transparent 60%),
        /* Genel: krem kum → açık yeşil aşağıya */
        linear-gradient(180deg,
            #FFF5DC 0%,
            #FAF4E4 35%,
            #F0E8CC 65%,
            #DCE8DE 100%);
    padding: var(--sp-8) var(--sp-4);
}

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

/* ─────────── ARZU CAFE — ÇAM SİLÜETLERİ + GÜNEŞ + DALGALAR ─────────── */

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

/* Çam ağacı silüetleri — sol ve sağ alt köşelerde */
.hero-pine {
    position: absolute;
    bottom: 0;
    width: 140px;
    height: auto;
    fill: #2D4A35;
    opacity: 0.88;
    filter: drop-shadow(0 2px 8px rgba(31, 53, 38, 0.15));
}

.hero-pine-left {
    left: -10px;
    bottom: -20px;
    transform: scale(1.1);
}

.hero-pine-right {
    right: -10px;
    bottom: -10px;
    transform: scale(1.25);
}

/* İkinci sağ çam — biraz daha küçük, gerçeklik için */
.hero-pine-right ellipse {
    fill: #1F3526;
}

/* Güneş — sağ üstte yumuşak parıltı */
.hero-sun {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, #F4D58A 0%, #F4B85A 60%, transparent 100%);
    box-shadow: 0 0 100px rgba(244, 184, 90, 0.4);
    opacity: 0.85;
    animation: hero-sun-pulse 5s ease-in-out infinite;
}

@keyframes hero-sun-pulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 0.95; transform: scale(1.04); }
}

/* Dalgalar — alt şerit */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    fill: var(--info, #3A7A92);
    opacity: 0.45;
}

@media (max-width: 768px) {
    .hero-pine { width: 90px; }
    .hero-pine-left { bottom: -10px; }
    .hero-pine-right { bottom: -5px; transform: scale(1.1); }
    .hero-sun { width: 70px; height: 70px; top: 5%; right: 8%; }
    .hero-waves { height: 50px; }
}

@media (max-width: 480px) {
    .hero-pine { width: 70px; }
}

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

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.18;
    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: 80px 80px, 100px 100px, 60px 60px, 70px 70px;
    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: 44px;
    opacity: 0.18;
    user-select: none;
    pointer-events: none;
    animation: hero-float 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(45, 74, 53, 0.15));
}

.hero-deco-1 { top: 14%;  left: 18%;  animation-delay: 0s; }
.hero-deco-2 { top: 28%;  right: 24%; animation-delay: 1.5s; font-size: 60px; }
.hero-deco-3 { bottom: 32%; left: 22%; animation-delay: 3s; font-size: 52px; }
.hero-deco-4 { bottom: 38%; right: 20%; animation-delay: 4.5s; }
.hero-deco-5 { top: 50%;  left: 12%;  animation-delay: 2s; font-size: 36px; }
.hero-deco-6 { top: 60%;  right: 14%;  animation-delay: 5s; font-size: 40px; }

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

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

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

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    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 (Caveat el yazısı için optimize) ─────────── */

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 6.5rem);    /* Caveat için daha büyük, gösterişli */
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: 0.01em;
    margin: 0 0 var(--sp-4) 0;
    color: var(--text);
    text-shadow: 0 3px 12px rgba(45, 74, 53, 0.15);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    color: var(--text-muted);
    line-height: var(--lh-snug);
    font-style: italic;
    margin: 0 0 var(--sp-8) 0;
    max-width: 560px;
    margin-inline: auto;
}

/* ─────────── CTA Buton (Arzu — turunç, büyük, davetkar) ─────────── */

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 38px;
    background: var(--accent);
    color: var(--accent-on);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--fs-xl);                  /* daha büyük buton metni */
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(224, 122, 59, 0.4);
    transition: all var(--t-fast);
}
.hero-cta:hover {
    background: var(--accent-dk);
    color: var(--accent-on);
    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; }
}
