/* Custom styles for Jose Jalapenos */

/* Back-to-top button */
.jj-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #C41E1E;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jj-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.jj-scroll-top:hover {
    background: #a01818;
}

/* Specials countdown — 2×2 grid instead of single row */
.ul-discount .ul-countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Clip absolutely-positioned footer vector images so they don't overflow */
.ul-footer {
    overflow: hidden;
}

/* Menu/drinks page intro heading — center-stack instead of left/right spread */
.ul-inner-menu .ul-section-heading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* WYSIWYG output — restore list styling reset by template base CSS */
.ul-blog-details ul,
.ul-blog-details ol {
    padding-left: 1.75rem;
    margin-bottom: 1rem;
}
.ul-blog-details ul {
    list-style-type: disc;
}
.ul-blog-details ol {
    list-style-type: decimal;
}
.ul-blog-details li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}
.ul-blog-details ul ul {
    list-style-type: circle;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Locations link in header top bar — white and slightly bold */
.ul-header-contact-info a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}
.ul-header-contact-info a:hover {
    color: rgba(255,255,255,0.8) !important;
}
/* Slider image border radius */
.ul-banner-img-slider .swiper-slide img {
  border-radius: 999px 0 0 999px;
}

/* Task 03 - remove decorative wavy "squiggle" edges (client req 2026-06-11) */
.ul-header-top                       { clip-path: none; padding: clamp(8px,0.6vw,12px) 0; }
.ul-header .header-top-bg-wrapper    { clip-path: none; }
.ul-header .header-bottom-bg-wrapper { top: 90%; }
.ul-header-bottom                    { background-color: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08); padding: clamp(10px,0.9vw,11px) 0; }
.ul-header-bottom-wrapper            { padding-bottom: 0; }
.ul-header-bottom::before,
.ul-header-bottom::after             { display: none; }
.ul-testimonial::before              { display: block; clip-path: none; }


/* Task 09 - full-bg hero slider (photo-band recipe) */
.jj-hero{position:relative;min-height:100vh;display:flex;align-items:center;padding:clamp(140px,16vw,210px) 0 clamp(60px,6vw,90px);background:var(--ul-black);overflow:hidden}
.jj-hero .ul-banner-img-slider{position:absolute;inset:0;z-index:0;height:100%}
.jj-hero .ul-banner-img-slider .swiper-wrapper,.jj-hero .ul-banner-img-slider .swiper-slide{height:100%}
.jj-hero .ul-banner-img-slider img{width:100%;height:100%;object-fit:cover}
.jj-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.35) 50%,rgba(0,0,0,.10))}
.jj-hero .ul-container{position:relative;z-index:2;width:100%}
.jj-hero .ul-banner-txt{padding-left:0;max-width:680px}
.jj-hero .ul-banner-sub-title{color:var(--ul-c4);text-shadow:0 1px 6px rgba(0,0,0,.45)}
.jj-hero .ul-banner-title{color:var(--white);text-shadow:0 2px 16px rgba(0,0,0,.45)}
.jj-hero .ul-banner-descr{color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(0,0,0,.4)}
.jj-hero .bottom{z-index:3}
.jj-hero .ul-banner-txt-slider-nav button{color:var(--white)}
.jj-hero .ul-banner-txt-slider-pagination.swiper-pagination-progressbar{background:rgba(255,255,255,.25)}


/* Task 05 - art-deco image behind testimonials (client 2026-06-12) */
/* image on the section; ::before strip stays solid green to blend with the image fading to green at its bottom */
.ul-testimonial {
  background-color: var(--ul-secondary);
  background-image: url(images/hp-testimonials-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ul-testimonial::before {
  background-color: var(--ul-secondary);
  background-image: none;
}


/* Task 06 - ghost button for over photos (client 2026-06-12) */
.ul-btn--ghost {
  background-color: rgba(196, 30, 30, 0.2);
  border-color: var(--white);
  color: var(--white);
}
.ul-btn--ghost:hover {
  background-color: var(--white);
  border-color: var(--ul-primary);
  color: var(--ul-primary);
}


/* Task 07 - transparent nav over hero/breadcrumb, solid on scroll (site-wide, client 2026-06-12) */
/* supersedes Task 03 always-white .ul-header-bottom via cascade; white nav now = scrolled state */
.ul-header-bottom            { background-color: transparent; box-shadow: none; }
.ul-header-nav a             { color: var(--white); }
.ul-header-sidebar-opener,
.ul-header-sidebar-opener i  { color: var(--white); }
.logo-over                   { display: inline-block; }
.logo-solid                  { display: none; }
.header-bottom-bg-wrapper.sticky .ul-header-bottom            { background-color: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-bottom-bg-wrapper.sticky .ul-header-nav a             { color: var(--black); }
.header-bottom-bg-wrapper.sticky .ul-header-sidebar-opener,
.header-bottom-bg-wrapper.sticky .ul-header-sidebar-opener i  { color: var(--black); }
.header-bottom-bg-wrapper.sticky .logo-over                   { display: none; }
.header-bottom-bg-wrapper.sticky .logo-solid                  { display: inline-block; }


/* Task 07b - nav punch list (client 2026-06-12): top-bar light strip, over-photo shadows, mobile drawer fix */
.ul-header::before                { background: transparent; }
.ul-header .header-top-bg-wrapper { background-color: transparent; padding-bottom: 0; }
.logo-over                        { filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.ul-header-nav a                  { text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.ul-header-nav a:hover            { color: #E8554E; text-shadow: none; }
.ul-header-sidebar-opener i       { text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.header-bottom-bg-wrapper.sticky .ul-header-nav a,
.header-bottom-bg-wrapper.sticky .ul-header-sidebar-opener i { text-shadow: none; }
.ul-sidebar .ul-header-nav a       { color: var(--black); text-shadow: none; }
.ul-sidebar .ul-header-nav a:hover { color: #E8554E; }


/* Task 08 - condensed poster display face on hero H1 (Oswald) (client 2026-06-12) */
.jj-hero .ul-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
}


/* Task 21 - footer background image (client 2026-06-12) */
.ul-footer {
  background-image: linear-gradient(rgba(44,44,44,.85), rgba(44,44,44,.85)), url(images/footer-bg2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Task 11 - full-bleed zero-gap showcase band (client 2026-06-12) */
.jj-showcase-section { padding: 0; margin: 0; background: none; }
.jj-showcase { margin: 0; }
.jj-showcase .swiper { overflow: hidden; }
.jj-showcase-item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; }
.jj-showcase-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.jj-showcase-item:hover .jj-showcase-img { transform: scale(1.06); }
.jj-showcase-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 65%); pointer-events: none; }
.jj-showcase-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(14px,1.4vw,24px); display: flex; flex-direction: column; gap: 6px; }
.jj-showcase-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(18px,1.3vw,24px); line-height: 1.1; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.jj-showcase-desc { font-size: clamp(13px,0.82vw,15px); line-height: 1.45; color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* No orphans/widows — text-wrap standard (Dwight TOP PRIORITY) */
h1, h2, h3, h4, h5 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.ul-blog-title { display:block; text-wrap: balance; font-size:clamp(15px,0.9vw,18px); }


/* ===== Tasks 23 + 24: full-bleed photo bands (home About + Lunch Specials) ===== */
@media (min-width:768px){
  .ul-about{ overflow-x:clip; }
  .ul-about > .ul-container,
  .ul-discount > .ul-container{ max-width:none; padding-left:0; padding-right:0; }
  .ul-about .row, .ul-discount .row{ margin-left:0; margin-right:0; align-items:center; }
  .ul-about .row > *, .ul-discount .row > *{ padding-left:0; padding-right:0; }

  /* Task 23 — About photo bleeds LEFT */
  .ul-about-imgs{ padding-top:0; }
  .ul-about-imgs .vector-img{ display:none; }
  .ul-about-imgs > img{ margin-left:0; width:100%; max-width:none; height:auto; max-height:600px; object-fit:cover; border-radius:0 14px 14px 0; }
  .ul-about .ul-about-txt{ padding-left:clamp(24px,3vw,60px); padding-right:clamp(30px,5vw,110px); }

  /* Task 24 — Lunch Specials photo bleeds RIGHT */
  .ul-discount .ul-discount-txt{ padding-left:clamp(30px,5vw,110px); padding-right:clamp(24px,3vw,60px); }
  .ul-discount-img{ width:100%; margin-left:0; }
  .ul-discount .main-img{ width:100%; height:auto; max-height:600px; object-fit:cover; border-radius:14px 0 0 14px; }
}


/* ===== Task 25: News/blog band — wider (almost full-bleed) ===== */
@media (min-width:768px){
  .ul-blogs > .ul-container{ max-width:none; padding-left:clamp(24px,4vw,90px); padding-right:clamp(24px,4vw,90px); }
}


/* ===== Task 10: Interior page headers — larger photo header (all .ul-breadcrumb pages) ===== */
.ul-breadcrumb{
  min-height:clamp(440px,65vh,760px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding-top:clamp(110px,10vw,160px);
  padding-bottom:clamp(50px,5vw,90px);
}
.ul-breadcrumb::before{ background:rgba(1,15,28,0.55); }


/* ===== About-page pass (Tasks 12 + 22 + CTA bg) — 2026-06-13 ===== */
/* CTA — solid Charcoal #2C2C2C + light text (replaces page-about-cta-bg.jpg) */
.ul-inner-cta{ background:#2C2C2C; }
.ul-inner-cta .ul-section-title{ color:#fff; }
.ul-inner-cta .ul-inner-cta-descr{ color:rgba(255,255,255,.85); }
.ul-inner-cta .ul-inner-cta-txt .ul-section-sub-title{ color:var(--ul-c4); }

/* Testimonials (About only) — light bg, kill inherited green ::before, dark text */
.ul-inner-testimonial{ background-color:var(--white); background-image:url(images/about-testimonials-bg.jpg); background-size:cover; background-position:center; background-repeat:no-repeat; }
.ul-inner-testimonial::before{ display:none; }
.ul-inner-testimonial .ul-section-title,
.ul-inner-testimonial .ul-section-sub-title,
.ul-inner-testimonial .ul-testimony-txt{ color:var(--ul-black); }
.ul-inner-testimonial .ul-testimonial-slider-nav button{ color:var(--ul-black); }

/* gallery polish — charcoal bg fills uneven last row + center the grid (all .ul-gallery) */
.ul-gallery{ background:#2C2C2C; }
.ul-gallery > .row{ justify-content:center; }


/* ===== Tasks 26+27: ul-specialities full-left photo (menu + catering) — mirrors About ===== */
@media (min-width:768px){
  .ul-specialities{ overflow-x:clip; }
  .ul-specialities > .ul-container{ max-width:none; padding-left:0; padding-right:0; }
  .ul-specialities .row{ margin-left:0; margin-right:0; align-items:center; }
  .ul-specialities .row > *{ padding-left:0; padding-right:0; }
  .ul-specialities-img{ width:100%; }
  .ul-specialities-img .bg-shape, .ul-specialities-img .vector{ display:none; }
  .ul-specialities-img .main-img{ width:100%; max-width:none; height:auto; max-height:600px; object-fit:cover; border-radius:0 14px 14px 0; }
  .ul-specialities .ul-specialities-txt{ padding-left:clamp(24px,3vw,60px); padding-right:clamp(30px,5vw,110px); }
}
