/* ==========================================================================
   custom.css — Gino's Trattoria & Pizzeria
   Refinement layer loaded AFTER main.css. Overrides only; safe to remove.
   Goal: pull the look away from the stock "Yummy" template defaults
   (bubbly Amatic SC headings, loud one-word highlights) toward something
   calmer and more in keeping with a family Italian trattoria.
   ========================================================================== */

:root {
  --gino-red: #a01818;        /* deeper, richer than the template's bright red */
  --gino-ink: #2b2b2b;        /* softer than pure black for body text */
  --gino-gold: #c8962c;       /* warm star / accent gold */
  --gino-muted: #8a8a8a;      /* muted labels */
}

/* --- Headings: swap the casual display font for an elegant serif --------- */
/* This is the single biggest change. Playfair Display reads as "restaurant"
   rather than "carnival," and pairs cleanly with the existing body sans.   */
.section-header p,
.testimonial-content h3,
.event-item h3,
.tab-header h3,
.about .content h3,
.why-box h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  letter-spacing: 0;
}

/* Big section heading line */
.section-header p {
  font-weight: 600;
  color: var(--gino-ink);
  font-size: 2.6rem;
  line-height: 1.15;
}

/* The colored word inside the heading: keep it as an accent, but same weight
   and a more refined red so it reads intentional, not highlighter-loud. */
.section-header p span {
  color: var(--gino-red);
  font-weight: 600;
}

/* The small eyebrow label above each heading: quiet it right down. */
.section-header h2 {
  color: var(--gino-muted);
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}
.section-header h2::before,
.section-header h2::after {
  background: var(--gino-red);
  opacity: 0.5;
}
/* ==========================================================
   MOBILE HERO
   Clear storefront at top → white/blur toward bottom
   ========================================================== */

@media (max-width: 767px) {

  #hero {
    position: relative;
    overflow: hidden;

    min-height: 820px;

    background-position: center top !important;
  }


  /* White gradient overlay */
  #hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      rgba(255, 255, 255, 0.12) 38%,
      rgba(255, 255, 255, 0.40) 54%,
      rgba(255, 255, 255, 0.78) 70%,
      rgba(255, 255, 255, 0.96) 86%,
      rgba(255, 255, 255, 1) 100%
    ) !important;

    pointer-events: none;
  }


  /* Blur gradually increases toward bottom */
  #hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);

    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.12) 40%,
      rgba(0, 0, 0, 0.55) 58%,
      black 75%,
      black 100%
    );

    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.12) 40%,
      rgba(0, 0, 0, 0.55) 58%,
      black 75%,
      black 100%
    );

    pointer-events: none;
  }


  /* Hero text + buttons */
  #hero .container {
    position: relative;
    z-index: 2;

    /* Lower than original, but not so far that buttons fall below fold */
    transform: translateY(145px);
  }


  #hero .hero-title {
    margin-bottom: 12px;
  }


  #hero .hero-tagline {
    margin-bottom: 22px;
  }


  #hero .hero-cta {
    gap: 10px;
    margin-bottom: 0;
  }


  #hero .btn-hero {
    padding: 12px 18px;
  }

}
/* --- Buttons: a little more restraint --------------------------------- */
.btn-book-a-table,
.menu .btn-secondary,
.btn-secondary {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.25s ease, transform 0.15s ease;
}
.btn-book-a-table:hover,
.menu .btn-secondary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}
.menu .btn-secondary,
.btn-secondary {
  background-color: var(--gino-red);
  border-color: var(--gino-red);
  padding: 10px 26px;
  margin-bottom: 1.5rem;
}
.menu .btn-secondary:hover,
.btn-secondary:hover {
  background-color: #841212;
  border-color: #841212;
}

/* --- Events / flyer cards --------------------------------------------- */
/* A proper bottom-up gradient so titles stay readable over any flyer,
   plus a soft radius and a quiet hover lift. Helps the Airtable flyers
   look deliberate instead of like a raw pasted image. */
.event-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease;
}
.event-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 0) 68%);
  z-index: 1;
}
.event-item > * {
  position: relative;
  z-index: 2;
}
.event-item:hover {
  transform: translateY(-4px);
}
.event-item h3 {
  font-weight: 600;
}
.event-item .description a {
  color: #ffd9a8;
  text-decoration: underline;
}

/* --- Testimonials: cleaner now that the stock photos are gone --------- */
.testimonials .testimonial-item {
  max-width: 760px;      /* keep the quote at a readable line length */
  margin: 0 auto;
  text-align: center;
}
.testimonials .testimonial-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gino-ink);
}
.testimonials .quote-icon-left,
.testimonials .quote-icon-right {
  color: rgba(160, 24, 24, 0.18);   /* subtle, not shouting */
}
.testimonials .testimonial-content h3 {
  color: var(--gino-red);
  font-size: 1.35rem;
  margin-top: 0.5rem;
}
.testimonials .stars i {
  color: var(--gino-gold);
}

/* --- About list ticks pick up the brand red -------------------------- */
.about .content ul i {
  color: var(--gino-red);
}

/* --- Accessibility: honor reduced-motion preferences ----------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Small-screen heading sizing ------------------------------------- */
@media (max-width: 575.98px) {
  .section-header p {
    font-size: 2rem;
  }
}

/* --- Accessibility: skip link ---------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--gino-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;   /* becomes visible when tabbed to */
}

/* --- Accessibility: visible keyboard focus --------------------------- */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid var(--gino-red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Hero: name, tagline, and primary actions ------------------------ */
.hero .hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--gino-ink);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero .hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #55524d;
  max-width: 640px;      /* readable line length */
  margin: 0 auto 1.75rem;
}
.hero .hero-cta {
  gap: 12px;
  margin-bottom: 2rem;
}
.hero .btn-hero {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  background: var(--gino-red);
  color: #fff;
  border: 2px solid var(--gino-red);
  transition: background-color 0.25s ease, transform 0.15s ease;
}
.hero .btn-hero:hover {
  background: #841212;
  border-color: #841212;
  transform: translateY(-1px);
}
.hero .btn-hero-outline {
  background: transparent;
  color: var(--gino-red);
}
.hero .btn-hero-outline:hover {
  background: var(--gino-red);
  color: #fff;
}
.hero .hero-reserve {
  width: 100%;
  display: flex;
  justify-content: center;
}


/* --- Hero readability: soften busy storefront photo without hiding it ----- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 251, 245, 0.66);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-title {
  color: #211d1a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.hero .hero-tagline {
  color: #403b36;
  font-weight: 500;
}

.hero .btn-hero-outline {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--gino-red);
}

.hero .btn-hero i {
  margin-right: 6px;
}

/* --- Delivery chooser: compact, interactive logo dropdown ---------------- */
.order-now {
  padding: 54px 0;
}

.delivery-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(160, 24, 24, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(39, 30, 22, 0.07);
}

.delivery-copy {
  max-width: 650px;
  margin: 0 auto 24px;
}

.delivery-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gino-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.delivery-copy h2 {
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--gino-ink);
}

.delivery-copy p {
  margin: 0;
  color: #65605b;
}

.delivery-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(100%, 320px);
  padding: 13px 20px;
  border: 1px solid var(--gino-red);
  border-radius: 8px;
  background: var(--gino-red);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.delivery-toggle:hover {
  background: #841212;
  transform: translateY(-1px);
}

.delivery-toggle i {
  transition: transform 0.2s ease;
}

.delivery-toggle:not(.collapsed) i {
  transform: rotate(180deg);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.delivery-logo-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid #ece7e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(39, 30, 22, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.delivery-logo-card:hover,
.delivery-logo-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(160, 24, 24, 0.35);
  box-shadow: 0 10px 24px rgba(39, 30, 22, 0.10);
}

.delivery-logo-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

/* --- Roaming cannoli cart ------------------------------------------------- */
.cannoli-cart {
  padding: 80px 0;
}

.cannoli-flyer-link {
  display: block;
}

.cannoli-flyer {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(39, 30, 22, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cannoli-flyer:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(39, 30, 22, 0.2);
}

.cannoli-intro {
  margin-bottom: 24px;
}

.cannoli-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gino-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.cannoli-intro h3 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  color: var(--gino-ink);
}

.cannoli-intro p {
  margin: 0;
  color: #625e59;
  line-height: 1.7;
}

.cannoli-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cannoli-price-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid #dfd3c4;
  border-radius: 10px;
  background: #fff;
}

.cannoli-price-card.featured {
  border-color: rgba(160, 24, 24, 0.38);
  box-shadow: 0 8px 24px rgba(160, 24, 24, 0.08);
}

.price-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gino-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cannoli-price-card h4 {
  min-height: 48px;
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--gino-ink);
}

.cannoli-price-card p {
  margin: 0 0 10px;
  color: #77706a;
  font-size: 0.92rem;
}

.cannoli-price-card strong {
  color: #7d4c16;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.cannoli-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: #5e5852;
  font-size: 0.93rem;
}

.cannoli-note i {
  color: var(--gino-red);
  font-size: 1.25rem;
}

.cannoli-cta {
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 991.98px) {
  .delivery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hero::before {
    background: rgba(255, 251, 245, 0.76);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .delivery-grid,
  .cannoli-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .delivery-panel {
    padding: 24px 18px;
  }

  .delivery-grid,
  .cannoli-pricing-grid {
    grid-template-columns: 1fr;
  }

  .delivery-logo-card {
    min-height: 96px;
  }

  .cannoli-price-card h4 {
    min-height: auto;
  }
}
.event-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease;
}
/* ==========================================================
   ABOUT SECTION — GINO'S
   ========================================================== */

#about .gino-about-photo {
  position: relative !important;

  width: 100% !important;
  height: 585px !important;
  min-height: 585px !important;

  background-size: cover !important;
  background-repeat: no-repeat !important;

  /* Adjust this number if you want more top/bottom visible */
  background-position: center 43% !important;

  overflow: hidden !important;
}


/* White reservation box */
#about .gino-book-box {
  position: absolute !important;

  left: 10% !important;
  right: 10% !important;
  bottom: 58px !important;

  background: #fff !important;

  padding: 26px 20px !important;

  text-align: center !important;

  z-index: 10 !important;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}


#about .gino-book-box h4 {
  margin: 0 0 8px !important;

  font-family: "Playfair Display", Georgia, serif !important;

  font-size: 1.7rem !important;

  font-weight: 700 !important;

  color: #2b2b2b !important;
}


#about .gino-book-box a {
  color: #c51f1f !important;

  font-size: 1.75rem !important;

  font-weight: 700 !important;

  text-decoration: none !important;
}


/* Right-hand About content */
#about .gino-about-content {
  padding-left: 32px;
}


#about .gino-about-content p {
  line-height: 1.6;
}


#about .gino-about-content ul {
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}


#about .gino-about-content ul li {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  margin-bottom: 14px;

  line-height: 1.5;
}


#about .gino-about-content ul li i {
  color: #c51f1f !important;
  font-size: 1.2rem;

  margin-top: 2px;

  flex-shrink: 0;
}


/* ==========================
   Tablet / Mobile
   ========================== */

@media (max-width: 991px) {

  #about .gino-about-photo {
    height: 560px !important;
    min-height: 560px !important;
  }

  #about .gino-about-content {
    padding-left: 0;
  }

}


@media (max-width: 575px) {

  #about .gino-about-photo {
    height: 480px !important;
    min-height: 480px !important;

    background-position: center center !important;
  }

  #about .gino-book-box {
    left: 7% !important;
    right: 7% !important;
    bottom: 25px !important;

    padding: 20px 15px !important;
  }

  #about .gino-book-box h4 {
    font-size: 1.4rem !important;
  }

  #about .gino-book-box a {
    font-size: 1.45rem !important;
  }

}
