/* =============================================================
   Venyo Homepage — Hero Banner Carousel + Feature Strip
   Matches the mobile app design on web (brand purple #5f2265)
   ============================================================= */

:root {
    --venyo-purple: #5f2265;
    --venyo-purple-dark: #3e1642;
}

/* ---------- Chic brand-tinted page background (homepage only) ---------- */
body {
    background-color: #f6f1f8 !important;
    background-image:
        radial-gradient(1100px 520px at 100% -8%, rgba(95, 34, 101, 0.12), transparent 60%),
        radial-gradient(900px 520px at -12% 12%, rgba(150, 60, 160, 0.08), transparent 55%),
        radial-gradient(1000px 600px at 50% 108%, rgba(95, 34, 101, 0.10), transparent 60%),
        linear-gradient(180deg, #faf7fc 0%, #f2eaf5 100%) !important;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Keep the search console crisp-white so it pops on the tinted bg */
.product-sesction-02 .search-console {
    box-shadow: 0 18px 50px rgba(95, 34, 101, 0.10) !important;
}

/* =============================================================
   Landing Hero — label → two-line title → subtitle → 4 icons
   Sits at the very top of the homepage, above the search console.
   Brand palette: purple #5f2265 (primary) + gold #d7ab42 (accent).
   ============================================================= */
.venyo-landing-hero {
    max-width: 920px;
    margin: 0 auto 46px;
    text-align: center;
}

.venyo-landing-hero .landing-label {
    display: inline-block;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--venyo-gold-dark);
    background: linear-gradient(135deg, rgba(215, 171, 66, 0.16), rgba(215, 171, 66, 0.07));
    border: 1px solid rgba(215, 171, 66, 0.45);
    padding: 9px 22px;
    border-radius: 30px;
    margin-bottom: 26px;
}

.venyo-landing-hero .landing-title {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 61px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}

.venyo-landing-hero .landing-title span {
    display: block;
}

.venyo-landing-hero .landing-title .line-1 {
    color: var(--venyo-purple);
}

.venyo-landing-hero .landing-title .line-2 {
    color: var(--venyo-gold);
    background: linear-gradient(100deg, var(--venyo-gold-dark) 0%, var(--venyo-gold) 45%, var(--venyo-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.venyo-landing-hero .landing-subtitle {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.65;
    color: #6b5c70;
    max-width: 720px;
    margin: 0 auto 40px;
}

/* The trust strip keeps its own design; it just drops the outer
   centering when it sits inside the hero block. */
.venyo-landing-hero .venyo-features {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (max-width: 991px) {
    .venyo-landing-hero { margin-bottom: 36px; }
    .venyo-landing-hero .landing-title { font-size: 45px; }
    .venyo-landing-hero .landing-subtitle { font-size: 19px; margin-bottom: 32px; }
}

@media (max-width: 600px) {
    .venyo-landing-hero { margin-bottom: 30px; }
    .venyo-landing-hero .landing-label {
        font-size: 12.5px;
        letter-spacing: 1.6px;
        padding: 7px 16px;
        margin-bottom: 18px;
    }
    .venyo-landing-hero .landing-title { font-size: 34px; line-height: 1.25; }
    .venyo-landing-hero .landing-subtitle { font-size: 17px; margin-bottom: 26px; }
}

/* ---------- Hero Banner Carousel ---------- */
.venyo-hero {
    margin: 0 0 10px;
    padding: 0;
    max-width: 100%;
}

.venyo-hero .hero-slide {
    position: relative;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    outline: none;
}

.venyo-hero .hero-slide img.hero-bg,
.venyo-hero .hero-slide .hero-brand-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Branded default slide — brand-color design, no photo */
.venyo-hero .hero-slide.brand .hero-brand-bg {
    background:
        radial-gradient(circle at 88% 18%, rgba(196, 92, 208, 0.45), transparent 42%),
        radial-gradient(circle at 100% 105%, rgba(120, 40, 140, 0.55), transparent 45%),
        radial-gradient(circle at 12% 120%, rgba(255, 255, 255, 0.06), transparent 40%),
        linear-gradient(120deg, var(--venyo-purple) 0%, var(--venyo-purple-dark) 58%, #2a0e2e 100%);
}

.venyo-hero .hero-slide.brand .hero-brand-bg::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.05);
}

.venyo-hero .hero-slide.brand::after {
    background: linear-gradient(90deg, rgba(20, 5, 22, 0.25) 0%, transparent 70%);
}

.venyo-hero .hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(30, 8, 33, 0.85) 0%, rgba(48, 15, 52, 0.55) 45%, rgba(48, 15, 52, 0.15) 100%);
}

.venyo-hero .hero-content {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    padding: 34px 46px;
    max-width: 620px;
    color: #fff;
}

.venyo-hero .hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #f3d9ff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.venyo-hero .hero-title {
    font-family: 'Cairo', 'Outfit', sans-serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.venyo-hero .hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: #ececec;
    margin: 0 0 22px;
}

.venyo-hero .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--venyo-purple);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.venyo-hero .hero-btn:hover {
    transform: translateY(-2px);
    color: var(--venyo-purple-dark);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Slick dots */
.venyo-hero .slick-dots {
    position: absolute;
    bottom: 22px;
    right: 40px;
    left: auto;
    width: auto;
    display: flex !important;
    gap: 8px;
}

.venyo-hero .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.venyo-hero .slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: all .3s ease;
}

.venyo-hero .slick-dots li button::before {
    display: none;
}

.venyo-hero .slick-dots li.slick-active button {
    width: 26px;
    border-radius: 6px;
    background: #fff;
}

/* Loading placeholder for the hero */
.venyo-hero.is-loading .hero-slide {
    background: linear-gradient(110deg, #ece7ef 25%, #f6f2f8 50%, #ece7ef 75%);
    background-size: 200% 100%;
    animation: heroShimmer 1.4s infinite;
}

.venyo-hero.is-loading .hero-slide img.hero-bg,
.venyo-hero.is-loading .hero-slide .hero-brand-bg,
.venyo-hero.is-loading .hero-slide::after,
.venyo-hero.is-loading .hero-content { display: none; }

@keyframes heroShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------- Wider container for restaurant sections ----------
   Cards were too narrow (4/row inside the default 1170px container),
   leaving empty side gutters. Widen only the homepage listing sections. */
@media (min-width: 1200px) {
    .product-sesction-02 > .container,
    #featured-section > .container {
        width: 92%;
        max-width: 1560px;
    }
}

/* A touch more breathing room between cards */
.product-sesction-02 .slick-padding > [class*="col-"],
#featured-restaurants-container > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 26px;
}

/* ---------- Feature / Trust Strip ---------- */
.venyo-features {
    width: 92%;
    max-width: 1560px;
    margin: 10px auto 40px;
    padding: 0;
}

.venyo-features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: #fff;
    border: 1px solid #f0eaf1;
    border-radius: 20px;
    padding: 26px 20px;
    box-shadow: 0 15px 45px rgba(95, 34, 101, 0.06);
}

.venyo-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    padding: 6px 8px;
    border-right: 1px solid #f2edf3;
}

.venyo-features .feature-item:last-child { border-right: none; }

/* Bare glyph — no circle behind it, so the text leads the strip */
.venyo-features .feature-icon {
    width: auto;
    height: auto;
    display: grid;
    place-items: center;
    border-radius: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--venyo-purple);
    background: none;
    margin-bottom: 2px;
}

.venyo-features .feature-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: var(--venyo-purple);
    margin: 0;
}

.venyo-features .feature-sub {
    font-size: 14.5px;
    line-height: 1.45;
    color: #8a7d8f;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .venyo-hero .hero-slide { height: 260px; }
    .venyo-hero .hero-content { padding: 30px 36px; }
    .venyo-hero .hero-title { font-size: 30px; }
    /* keep the trust strip at 4 across on tablets so it fills the row */
    .venyo-features .features-grid { gap: 10px; padding: 20px 14px; }
    .venyo-features .feature-title { font-size: 16.5px; }
    .venyo-features .feature-sub { font-size: 13.5px; }
    .venyo-features .feature-icon { font-size: 25px; }
}

@media (max-width: 600px) {
    .venyo-hero .hero-slide { height: 230px; border-radius: 16px; }
    .venyo-hero .hero-content { padding: 22px 22px; max-width: 100%; }
    .venyo-hero .hero-tag { font-size: 11px; margin-bottom: 10px; }
    .venyo-hero .hero-title { font-size: 22px; }
    .venyo-hero .hero-subtitle { font-size: 14px; margin-bottom: 16px; }
    .venyo-hero .hero-btn { padding: 11px 22px; font-size: 13.5px; }
    .venyo-hero .slick-dots { right: 16px; bottom: 14px; }
    .venyo-features .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; padding: 20px 12px; }
    .venyo-features .feature-item { border-right: none; }
    .venyo-features .feature-item:nth-child(odd) { border-right: 1px solid #f2edf3; }
    .venyo-features .feature-icon { font-size: 23px; }
    .venyo-features .feature-title { font-size: 15.5px; }
    .venyo-features .feature-sub { font-size: 13px; }
}

/* =============================================================
   Gold brand accents — homepage only
   Brand palette: purple #5f2265 (primary) + gold #d7ab42 (accent)
   Loaded only on customer/index.html, so these overrides are
   scoped to the homepage and don't affect the rest of the site.
   ============================================================= */
:root {
    --venyo-gold: #d7ab42;
    --venyo-gold-light: #ecca6e;
    --venyo-gold-dark: #b8892f;
}

/* --- Section eyebrow labels (Restaurants / New / Our Services / FAQs) --- */
.swin-sc-title .top-title { color: var(--venyo-gold-dark); }
.swin-sc-title .top-title:before,
.swin-sc-title .top-title:after { background-color: var(--venyo-gold); }
.swin-sc-title .top-title span:before,
.swin-sc-title .top-title span:after { border-bottom-color: var(--venyo-gold); }
.swin-sc-title.light .top-title,
.swin-sc-title .top-title.light { color: var(--venyo-gold-light); }

/* --- Gold underline accent under each section heading --- */
.swin-sc-title .title {
    position: relative;
    padding-bottom: 22px;
}
.swin-sc-title .title:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--venyo-gold-dark), var(--venyo-gold-light));
}

/* --- Primary buttons -> gold gradient with deep-purple text --- */
.swin-btn {
    background: linear-gradient(135deg, var(--venyo-gold-light) 0%, var(--venyo-gold) 100%) !important;
    border-color: var(--venyo-gold) !important;
    color: #3e1642 !important;
    box-shadow: 0 8px 22px rgba(215, 171, 66, 0.32);
}
.swin-btn a,
.swin-btn span { color: #3e1642 !important; }
.swin-btn:after,
.swin-btn:before { background-color: #3e1642 !important; }
.swin-btn:hover,
.swin-btn:hover span { color: #2a0e2e !important; }

/* Outlined "View More" -> gold outline, gold fill on hover */
.swin-btn.btn-transparent {
    background: transparent !important;
    border-color: var(--venyo-gold) !important;
    color: var(--venyo-gold-dark) !important;
    box-shadow: none;
}
.swin-btn.btn-transparent span { color: var(--venyo-gold-dark) !important; }
.swin-btn.btn-transparent:after { background-color: var(--venyo-gold) !important; }
.swin-btn.btn-transparent:hover {
    background: linear-gradient(135deg, var(--venyo-gold-light), var(--venyo-gold)) !important;
    color: #3e1642 !important;
}
.swin-btn.btn-transparent:hover span { color: #3e1642 !important; }
.swin-btn.btn-transparent:hover:before { background-color: #3e1642 !important; }

/* --- Feature / trust strip: gold top accent + gold icons --- */
.venyo-features .features-grid {
    border-top: 3px solid var(--venyo-gold);
}
.venyo-features .feature-icon {
    color: var(--venyo-gold);
    background: none;
    box-shadow: none;
}

/* --- Hero tag + search icon: subtle gold touches --- */
.venyo-hero .hero-tag {
    color: #ffe9b0;
    border-color: rgba(215, 171, 66, 0.55);
    background: rgba(215, 171, 66, 0.16);
}
.product-sesction-02 .search-console .input-group-addon i.fa-search {
    color: var(--venyo-gold-dark) !important;
}

/* --- Search button -> gold gradient with deep-purple text --- */
#restaurantSearchBtn {
    background: linear-gradient(135deg, var(--venyo-gold-light) 0%, var(--venyo-gold) 100%) !important;
    color: #3e1642 !important;
    font-weight: 700 !important;
}

/* --- Services section: gold icons + gold number badges --- */
.service-section-02 .swin-sc-iconbox .icon-box-02 .icons {
    color: var(--venyo-gold-dark);
}
.service-section-02 .swin-sc-iconbox .icon-box-02 .wrapper-icon {
    border-color: var(--venyo-gold);
}
.service-section-02 .swin-sc-iconbox .icon-box-02 .number {
    border-color: var(--venyo-gold-light);
    color: var(--venyo-gold-dark);
}
.service-section-02 .swin-sc-iconbox .icon-box-02:hover .number {
    background-color: var(--venyo-gold);
    border-color: var(--venyo-gold-light);
    color: #3e1642;
}

/* =============================================================
   Mobile fix: keep the homepage first section clear of the header
   (.padding-top-80 in the markup is undefined, so without this the
   header/logo overlapped the "Discover And Book A Table" title).
   ============================================================= */
@media (max-width: 1024px) {
    .product-sesction-02 {
        padding-top: 124px !important;   /* mobile header is 92px tall */
    }
    .product-sesction-02 .swin-sc-title {
        margin-top: 6px;
    }
}

/* Desktop needs the same treatment: the site header is absolutely
   positioned (100px tall) and .padding-top-80 doesn't exist, so the
   landing hero would start underneath it. */
@media (min-width: 1025px) {
    .product-sesction-02 {
        padding-top: 145px !important;
    }
}
