/* ========================================================
   SEEEAT GENERIC RESTAURANT HERO (shared by all restaurants)
   Markup: <header class="restaurant-hero seeeat-hero" id="restaurantHero">
   ======================================================== */
/* ========================================================
   1. REUSABLE SEEEAT RESTAURANT HERO HEADER COMPONENT
   ======================================================== */
.restaurant-hero.seeeat-hero {
    position: relative;
    width: 100%;
    min-height: 235px;
    height: 240px;
    background: #FAF8F4;
    background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #FAF8F4 65%, #F4EFE6 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Background Animated SVG Vector Waves */
.seeeat-hero .hero-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.seeeat-hero .hero-waves-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Fluid Organic Wave Animations (Pure GPU Transforms) */
@keyframes mainWaveDrift {
    0% { transform: translate3d(0, 0, 0) scale(1, 1); }
    50% { transform: translate3d(-14px, 5px, 0) scale(1.02, 0.98) rotate(0.3deg); }
    100% { transform: translate3d(10px, -6px, 0) scale(0.99, 1.02) rotate(-0.3deg); }
}

@keyframes secondaryVeilDrift {
    0% { transform: translate3d(0, 0, 0) scale(1, 1); }
    50% { transform: translate3d(16px, -8px, 0) scale(0.98, 1.03) rotate(-0.4deg); }
    100% { transform: translate3d(-12px, 9px, 0) scale(1.02, 0.97) rotate(0.4deg); }
}

@keyframes accentWaveDrift {
    0% { transform: translate3d(0, 0, 0) scale(1, 1); }
    50% { transform: translate3d(-18px, -8px, 0) scale(1.01, 1.04) rotate(0.5deg); }
    100% { transform: translate3d(14px, 6px, 0) scale(0.99, 0.97) rotate(-0.4deg); }
}

.seeeat-hero .wave-layer-main {
    animation: mainWaveDrift 14s ease-in-out infinite alternate;
    transform-origin: 50% 50%;
    will-change: transform;
}

.seeeat-hero .wave-layer-secondary {
    animation: secondaryVeilDrift 19s ease-in-out infinite alternate;
    transform-origin: 50% 50%;
    will-change: transform;
}

.seeeat-hero .wave-layer-accent {
    animation: accentWaveDrift 24s ease-in-out infinite alternate;
    transform-origin: 50% 50%;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .wave-layer-main,
    .wave-layer-secondary,
    .seeeat-hero .wave-layer-accent {
        animation: none !important;
    }
}

/* Hero Top Bar Controls */
.seeeat-hero .hero-top-bar {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 0 14px;
    direction: ltr !important;
}

.seeeat-hero .hero-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seeeat-hero .hero-control-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #1D1D1F;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.seeeat-hero .hero-control-btn svg {
    width: 15px;
    height: 15px;
}

.seeeat-hero .hero-control-btn:active {
    transform: scale(0.92);
}

.seeeat-hero .hero-control-btn.btn-ig:hover {
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.25);
    background: #FFFFFF;
}

.seeeat-hero .hero-control-btn.btn-fb:hover {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.25);
    background: #FFFFFF;
}

.seeeat-hero .hero-control-btn.btn-lang {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1D1D1F;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: 'Heebo', sans-serif;
}

.seeeat-hero .hero-control-btn.btn-lang:hover {
    background: #FFFFFF;
    border-color: #D52C3D;
    color: #D52C3D;
    box-shadow: 0 4px 14px rgba(213, 44, 61, 0.15);
}

.seeeat-hero .hero-seeeat-brand {
    display: flex;
    align-items: center;
}

.seeeat-hero .hero-seeeat-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* Hero Restaurant Identity - CENTER FOCUS */
.seeeat-hero .hero-restaurant-identity {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
    direction: rtl;
}

.seeeat-hero .hero-logo-badge {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 6px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.seeeat-hero .hero-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}

.seeeat-hero .hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.seeeat-hero .hero-identity-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    width: 100%;
}

.seeeat-hero .hero-restaurant-name {
    font-size: 18px;
    font-weight: 900;
    color: #1D1D1F;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.seeeat-hero .hero-restaurant-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #6E6E73;
    margin: 0;
    line-height: 1.25;
}

.seeeat-hero .hero-location-pin {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    fill: #D52C3D;
    display: inline-block;
    vertical-align: middle;
}

/* Desktop Expansion (if viewport is wider than 600px) */
@media (min-width: 600px) {
    .restaurant-hero.seeeat-hero {
        min-height: 260px;
        height: 260px;
    }
    .seeeat-hero .hero-logo-badge {
        width: 132px;
        height: 132px;
    }
    .seeeat-hero .hero-restaurant-name {
        font-size: 20px;
    }
    .seeeat-hero .hero-restaurant-address {
        font-size: 13px;
    }
    .seeeat-hero .hero-control-btn {
        width: 36px;
        height: 36px;
    }
    .seeeat-hero .hero-control-btn svg {
        width: 17px;
        height: 17px;
    }
    .seeeat-hero .hero-seeeat-logo {
        height: 22px;
    }
}


/* ---- Resets against legacy per-restaurant hero styles ---- */
.restaurant-hero.seeeat-hero { background-color: #FAF8F4; }
.seeeat-hero .hero-top-bar { position: relative; top: auto; left: auto; right: auto; }
.seeeat-hero .hero-logo-img { transform: none; }

/* ---- Dynamic social buttons injected by dashboard data ---- */
.seeeat-hero .btn-social-icon,
.seeeat-hero .btn-lang-toggle {
    width: 32px; height: 32px; border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    color: #1D1D1F !important; display: flex; align-items: center; justify-content: center;
    font-family: 'Heebo', sans-serif; font-size: 11.5px; font-weight: 800; padding: 0; text-decoration: none;
}
.seeeat-hero .btn-social-icon svg { width: 15px; height: 15px; }
.seeeat-hero .btn-social-icon svg[stroke="#FFFFFF"] { stroke: #1D1D1F; }
.seeeat-hero .btn-social-icon svg[fill="#FFFFFF"] { fill: #1D1D1F; }
