/* ============================================================
   CATERING PAGE – HERO VARIANT
   (builds on .hero from main.css)
============================================================ */

.hero.hero--sub {
    min-height: 36vh;
    padding-top: calc(var(--nav-h) + 40px);
}

.hero.hero--sub h1 {
    font-size: clamp(54px, 7.4vw, 80px);
}

.hero.hero--sub p {
    font-size: clamp(21px, 3.2vw, 27px);
    max-width: 720px;
    margin-inline: auto;
    margin-top: 10px;
    color: var(--gold);
}

/* Slightly tighter on small screens */
@media (max-width: 900px) {
    .hero.hero--sub {
        padding-top: calc(var(--nav-h) + 24px);
        padding-bottom: 30px;
    }
}

/* ============================================================
   CATERING OVERVIEW – THEMED BAND
============================================================ */

.catering-band {
    position: relative;
    padding: clamp(40px, 7vw, 60px) 20px;
    background: var(--brand-deep);
    color: #fff;
}

/* Full-width gold divider between hero and band */
.catering-band::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* NEW: second gold divider below the dark band */
.catering-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 12px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.catering-band .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Heading styling */
.catering-heading h2 {
    margin: 0;
    font-size: clamp(31px, 4vw, 47px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

.catering-heading h2::after {
    content: "";
    display: block;
    width: 260px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

.catering-heading p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.8;
}

/* Grid layout */
.catering-grid {
    align-items: flex-start;
    gap: clamp(26px, 3vw, 42px);
}

@media (max-width: 899px) {
    .catering-grid {
        gap: 24px;
    }
}

/* ============================================================
   CATERING COPY + MINIMUM
============================================================ */

.catering-copy {
    border-radius: 22px;
    background: #ffffff;
    color: var(--text);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.14),
        0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 1.08rem;
}

.catering-copy p {
    margin-top: 0;
}

.catering-minimum {
    margin: 18px 0 20px;
    padding: 13px 15px 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7e3, #ffe1b3);
    border: 1px solid rgba(182, 120, 19, 0.35);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

.catering-minimum__label {
    margin: 0 0 4px;
    font-size: 1.02rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(25, 18, 2, 0.95);
}

.catering-minimum__text {
    margin: 0;
    font-size: 1rem;
    color: rgba(24, 20, 7, 0.96);
}

.catering-subheading {
    margin: 20px 0 10px;
    font-size: 1.12rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

/* Event types list */
.catering-list {
    margin: 0 0 12px;
    padding-left: 1.2em;
    column-count: 2;
    column-gap: 18px;
    font-size: 1.02rem;
}

.catering-list li {
    break-inside: avoid;
    margin-bottom: 5px;
}

@media (max-width: 640px) {
    .catering-list {
        column-count: 1;
    }
}

.catering-note {
    margin: 12px 0 0;
    font-size: 0.98rem;
    color: rgba(0, 0, 0, 0.75);
}

/* ============================================================
   HOW IT WORKS / INFO CARD
============================================================ */

.catering-info {
    border-radius: 22px;
    background: rgb(255, 255, 255);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.14),
        0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--brand-deep);
    font-size: 1.04rem;
}

.catering-info__heading {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.catering-steps {
    margin: 8px 0 16px;
    padding-left: 1.4em;
}

.catering-steps li {
    margin-bottom: 7px;
}

.catering-step-title {
    display: block;
    font-weight: 700;
}

.catering-step-text {
    display: block;
    font-size: 1rem;
    color: rgba(3, 34, 34, 0.84);
}

/* Contact / CTA area inside the info card */

.catering-contact {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
    font-size: 1rem;
}

.catering-contact-intro {
    margin: 0 0 14px;
    font-weight: 700;
}

.catering-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
    margin: 20px 0 22px;
}

.catering-contact-alt {
    margin: 10px 0 0;
    max-width: 430px;
}

/* Global catering button tweaks – layout only */
.catering-btn {
    margin-top: 4px;
    letter-spacing: 0.11em;
    /* optional: slightly tighter than default */
    font-size: 0.9rem;
    /* optional: tweak size if you like */
}

.catering-contact-actions .catering-btn {
    min-width: min(260px, 100%);
}

.catering-contact-note {
    margin: 12px 0 0;
    font-size: 0.94rem;
    color: rgba(0, 0, 0, 0.7);
}

.catering-link {
    color: var(--nav-h);
    text-decoration: none;
    font-weight: 700;
}

.catering-link:hover {
    color: var(--gold);
}

/* ============================================================
   MENU & SERVICE DETAILS SECTION – PAPER BACKGROUND
============================================================ */

.catering-details {
    position: relative;
    overflow: visible;
    background: transparent;
}

.catering-details .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 32px) clamp(18px, 3vw, 26px);
    position: relative;
    z-index: 1;
}

/* (duplicate kept as-is to avoid unexpected layout change) */
.catering-details .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 32px) clamp(18px, 3vw, 26px);
    position: relative;
    z-index: 1;
}

/* Dark aquamarine "card" shell with white inner cards */
.catering-details-shell {
    border-radius: 26px;
    padding: clamp(22px, 3vw, 30px);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 55%),
        radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.08), transparent 55%),
        var(--brand-deep);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18),
        0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #ffffff;
}

.catering-details-shell .section-heading {
    margin-bottom: 18px;
}

.catering-details-shell .section-heading h2 {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: clamp(26px, 3.6vw, 34px);
    /* slightly larger */
    color: #ffffff;
}

.catering-details-grid {
    align-items: flex-start;
}

.catering-details-shell .card {
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    font-size: 1.06rem;
    /* slightly larger */
}

.catering-bullets {
    margin: 8px 0 14px;
    padding-left: 1.2em;
    font-size: 1.02rem;
    /* slightly larger */
}

.catering-bullets li {
    margin-bottom: 5px;
}

/* ============================================================
   SHARED PAPER BAND – DETAILS + GALLERY
============================================================ */

.catering-paper-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(128, 255, 255, 0.06), transparent 58%),
        radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.08), transparent 55%),
        #f5faf8;
}

/* Single paper texture across both sections */
.paper-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        /* very subtle top-to-bottom tint */
        linear-gradient(to bottom, rgba(246, 201, 1, 0.32), rgba(245, 250, 248, 0.0) 36%, rgba(0, 49, 83, 0.3) 100%),
        url("https://crabtowncurbs-site.s3.us-east-1.amazonaws.com/images/paper.webp") center / cover no-repeat;
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

/* Let the band show through both sections */
.catering-paper-band .content-section,
.catering-paper-band .content-section.alt {
    background: transparent;
    position: relative;
    z-index: 1;
}


/* ============================================================
   CRAB DIP FEATURE – WARM GOLD SHELL (matches details shell size)
============================================================ */

.crabdip-shell {
    position: relative;
    padding: 0 0 10px;
}

.crabdip-shell .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 26px);
}

.crabdip-frame {
    border-radius: 26px;
    padding: clamp(22px, 3vw, 30px);
    background:
        /* “crab dip texture” (subtle creamy swirls + paprika specks) */
        radial-gradient(circle at 18% 24%, rgba(255, 245, 220, 0.75), transparent 52%),
        radial-gradient(circle at 70% 30%, rgba(255, 231, 170, 0.55), transparent 55%),
        radial-gradient(circle at 42% 78%, rgba(255, 210, 115, 0.35), transparent 58%),
        repeating-radial-gradient(circle at 30% 40%,
            rgba(172, 72, 24, 0.10) 0 2px,
            rgba(172, 72, 24, 0.00) 2px 10px),
        linear-gradient(135deg, #fff3d2, #cb8f21);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.16),
        0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(120, 70, 10, 0.18);
}

.crabdip-head h2 {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: clamp(22px, 3.4vw, 34px);
    color: var(--brand-deep);
}

.crabdip-head h2::after {
    display: none;
}

.crabdip-head p {
    margin: 10px 0 0;
    max-width: 760px;
    color: rgba(8, 30, 49, 0.78);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.8;
}

.crabdip-grid {
    margin-top: 18px;
    gap: clamp(18px, 2.6vw, 28px);
    align-items: flex-start;
}

.crabdip-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.12),
        0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.crabdip-card--note {
    background: rgba(255, 255, 255, 0.92);
}

/* Crab dip option blocks (better read flow) */
.crabdip-options {
    display: grid;
    gap: 14px;
    margin: 12px 0 10px;
}

.crabdip-option {
    padding: 12px 12px 10px;
    border-radius: 14px;
    background: rgba(255, 246, 229, 0.55);
    border: 1px solid rgba(120, 70, 10, 0.14);
}

.crabdip-option__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.crabdip-option__size {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.crabdip-option__price {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--gold-deep);
    white-space: nowrap;
}

/* tighten bullet spacing inside these blocks */
.crabdip-option .catering-bullets {
    margin: 0;
}

.crabdip-option .catering-bullets li {
    margin-bottom: 5px;
}

/* Offset anchor scroll for fixed header */
#crab-dip {
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* ============================================================
   GALLERY
============================================================ */

.catering-gallery {
    background: transparent;
}

.catering-gallery .section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4.1vw, 48px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-deep);
    position: relative;
}

.catering-gallery .section-heading h2::after {
    content: "";
    display: block;
    width: 260px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

.catering-gallery .section-heading p {
    margin: 10px 0 0;
    color: rgba(8, 30, 49, 0.753);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.8;
}

/* Grid of photos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    background: #0577a0;
    color: #fff;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.16);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    opacity: 0.94;
}

.gallery-item figcaption {
    padding: 10px 12px 12px;
    font-size: 0.98rem;
    line-height: 1.6;
    background: #ffffff;
    color: var(--brand-deep);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-cta {
    margin-top: 28px;
    font-size: 1.7rem;
    font-weight: 600;
    text-align: center;
}

.gallery-cta p {
    margin: 0 0 14px;
}

.gallery-cta .catering-btn {
    margin: 4px 0 32px;
    width: 30vh;
}

.gallery-cta-note {
    margin-top: 10px;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
}

/* ============================================================
   LIGHTBOX STYLES
============================================================ */

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 9999;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__inner {
    position: relative;
    max-width: min(960px, 94vw);
    max-height: 90vh;
    padding: 18px 18px 14px;
    border-radius: 20px;
    background: white;
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.6),
        0 6px 16px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.lightbox__image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: 10px;
}

.lightbox__caption {
    margin: 0;
    font-size: 0.96rem;
    color: var(--brand-deep);
}

.lightbox__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.lightbox__close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
}

