/**
 * V11 Design System — Mezcaleria Chic
 *
 * Locked palette + pill buttons + section primitives + hover effects.
 * Priority 75, cascades after v11-reviews (70).
 */

:root {
    --v11-rose: #EC2C91;
    --v11-jaune: #F2B119;
    --v11-charcoal: #1a1a1a;
    --v11-charcoal-soft: #222222;
    --v11-cream: #faf7f2;
    --v11-white: #ffffff;
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */

.v11-section-dark {
    background: var(--v11-charcoal);
    color: var(--v11-white);
}

.v11-section-cream {
    background: var(--v11-cream);
    color: var(--v11-charcoal);
}

.v11-section-charcoal-soft {
    background: var(--v11-charcoal-soft);
    color: var(--v11-white);
}

/* ============================================
   PILL CTA BUTTONS
   ============================================ */

.v11-btn-primary {
    display: inline-block;
    background: var(--v11-rose);
    color: var(--v11-white);
    border-radius: 999px;
    padding: 0.85rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--v11-rose);
    cursor: pointer;
}

.v11-btn-primary:hover,
.v11-btn-primary:focus {
    background: var(--v11-jaune);
    border-color: var(--v11-jaune);
    color: var(--v11-charcoal);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(236, 44, 145, 0.3);
    text-decoration: none;
}

.v11-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--v11-white);
    border-radius: 999px;
    padding: 0.85rem 2.5rem;
    border: 2px solid var(--v11-white);
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.v11-btn-outline:hover,
.v11-btn-outline:focus {
    border-color: var(--v11-rose);
    color: var(--v11-rose);
    text-decoration: none;
}

/* Outline on dark background */
.v11-section-dark .v11-btn-outline {
    color: var(--v11-white);
    border-color: var(--v11-white);
}

.v11-section-dark .v11-btn-outline:hover {
    color: var(--v11-rose);
    border-color: var(--v11-rose);
}

/* Outline on cream background */
.v11-section-cream .v11-btn-outline {
    color: var(--v11-charcoal);
    border-color: var(--v11-charcoal);
}

.v11-section-cream .v11-btn-outline:hover {
    color: var(--v11-rose);
    border-color: var(--v11-rose);
}

/* ============================================
   ACCENT TEXT UTILITIES
   ============================================ */

.v11-accent-rose {
    color: var(--v11-rose);
}

.v11-accent-jaune {
    color: var(--v11-jaune);
}

.v11-bg-rose {
    background-color: var(--v11-rose);
}

.v11-bg-jaune {
    background-color: var(--v11-jaune);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.v11-divider-wave {
    position: relative;
    height: 4rem;
    overflow: hidden;
}

.v11-divider-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background: inherit;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Dark to cream wave */
.v11-divider-wave--dark-to-cream {
    background: var(--v11-cream);
}

.v11-divider-wave--dark-to-cream::after {
    background: var(--v11-charcoal);
}

/* Cream to dark wave */
.v11-divider-wave--cream-to-dark {
    background: var(--v11-charcoal);
}

.v11-divider-wave--cream-to-dark::after {
    background: var(--v11-cream);
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.v11-glow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.v11-glow-hover:hover {
    box-shadow: 0 0 30px rgba(236, 44, 145, 0.15);
    transform: translateY(-2px);
}

/* Card lift effect */
.v11-card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v11-card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ============================================
   TYPOGRAPHY ACCENTS
   ============================================ */

/* Italicized display headings */
.v11-heading-display {
    font-family: 'Fraunces', serif;
    font-style: italic;
}

/* Script accent text */
.v11-script {
    font-family: 'Caveat', cursive;
}

/* ============================================
   CARD BACKGROUNDS
   ============================================ */

.v11-card-dark {
    background: var(--v11-charcoal-soft);
    color: var(--v11-white);
    border-radius: 1rem;
}

.v11-card-cream {
    background: var(--v11-cream);
    color: var(--v11-charcoal);
    border-radius: 1rem;
}

/* ============================================
   IMAGE TREATMENTS
   ============================================ */

.v11-img-rounded {
    border-radius: 1rem;
}

.v11-img-shadow {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .v11-btn-primary,
    .v11-btn-outline {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }

    .v11-divider-wave {
        height: 2.5rem;
    }
}

/* ============================================
   FOOD PHOTOGRAPHY GALLERY (V11 Higgsfield)
   ============================================ */

.latoxica-food-gallery {
    background-color: var(--v11-cream);
    padding: 4rem 0;
}

.latoxica-food-gallery__head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.latoxica-food-gallery__head h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--v11-charcoal);
    margin: 0.5rem 0 0;
}

.latoxica-food-gallery__head h2 em {
    color: var(--v11-rose);
    font-style: normal;
}

.latoxica-food-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.latoxica-food-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    aspect-ratio: 1 / 1;
}

.latoxica-food-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latoxica-food-gallery__item:hover img {
    transform: scale(1.05);
}

.latoxica-food-gallery__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .latoxica-food-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .latoxica-food-gallery__grid {
        grid-template-columns: 1fr;
    }
    .latoxica-food-gallery {
        padding: 2.5rem 0;
    }
}
/* ======================================================================
   DEDICATED GALLERY PAGE (page-photo-gallery.php) — added 2026-05-31
   Extends the .latoxica-food-gallery grid for a full-page gallery.
   ====================================================================== */

.latoxica-gallery-page__intro {
    background-color: var(--v11-charcoal, #1f1f1f);
    padding: 6rem 0 2rem;
    text-align: center;
}

.latoxica-gallery-page__intro h1 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--v11-cream, #f5efe6);
    margin: 0.5rem 0 0;
}

.latoxica-gallery-page__intro h1 em {
    color: var(--v11-rose, #ec2c91);
    font-style: normal;
}

.latoxica-gallery-page__subtitle {
    max-width: 640px;
    margin: 1.25rem auto 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--v11-cream-muted, rgba(245, 239, 230, 0.8));
}

.latoxica-gallery-page__subtitle strong {
    color: var(--v11-cream, #f5efe6);
}

.latoxica-gallery-page__grid-section {
    padding-top: 0 !important;
}

/* Expanded grid — slightly bigger items for the dedicated page */
.latoxica-gallery-page__grid-section .latoxica-food-gallery__item {
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Figcaption description on hover/always visible */
.latoxica-food-gallery__desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 1rem 2.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    font-size: 0.8125rem;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.latoxica-food-gallery__item:hover .latoxica-food-gallery__desc {
    opacity: 1;
}

.latoxica-food-gallery__tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    margin-bottom: 0.375rem;
    border-radius: 4px;
    background-color: var(--v11-rose, #ec2c91);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* CTA section */
.latoxica-gallery-page__cta {
    background-color: var(--v11-charcoal, #1f1f1f);
    padding: 5rem 0;
    text-align: center;
}

.latoxica-gallery-page__cta h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--v11-cream, #f5efe6);
    margin: 0 0 0.75rem;
}

.latoxica-gallery-page__cta h2 em {
    color: var(--v11-rose, #ec2c91);
    font-style: normal;
}

.latoxica-gallery-page__cta p {
    color: var(--v11-cream-muted, rgba(245, 239, 230, 0.8));
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ----- page-menu.php gallery overrides on dedicated page ---------- */
/* The eyebrow inside the .latoxica-food-gallery__head uses the site's
   .latoxica-eyebrow style (defined elsewhere). Ensure h1 gets the
   right treatment when inside the head wrapper. */
.latoxica-gallery-page__intro .latoxica-food-gallery__head h1 {
    font-size: 2.75rem;
}
