/* Best Pho House Riverside - Main Styles */

/* Color Palette */
:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --accent-red: #ff5252;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #212121;
    --text-light: #757575;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

@media (hover: hover) {
    .btn-primary:hover {
        background-color: var(--dark-red);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
    }
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

@media (hover: hover) {
    .btn-secondary:hover {
        background-color: var(--medium-gray);
    }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

@media (hover: hover) {
    .btn-outline:hover {
        background-color: var(--primary-red);
        color: var(--white);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--primary-red);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) {
    .scroll-to-top:hover {
        background-color: var(--dark-red);
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
    }
}

.scroll-to-top:active {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY & SEO CSS ADDITIONS
   Add this to your main.css or index.css
   ============================================ */

/* Visually Hidden - For screen readers only */
.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #c8102e;
    color: #ffffff;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #c8102e;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .location-card {
        border: 2px solid currentColor;
    }
    
    .btn,
    .form-submit {
        border: 2px solid currentColor;
    }
}

/* Phone Link Styling */
.phone-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
}

.phone-link:hover,
.phone-link:focus {
    text-decoration-color: currentColor;
}

/* Tagline Styling */
.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 1.25rem;
    }
}

/* Footer Navigation */
footer nav {
    margin-top: 1rem;
}

footer nav a {
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

footer nav a:hover,
footer nav a:focus {
    opacity: 1;
    text-decoration: underline;
}

/* Fieldset Reset for Contact Method */
fieldset.form-group {
    border: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

fieldset.form-group legend {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Improved Error Message Accessibility */
.field-error-message[role="alert"] {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #fef2f2;
    border-radius: 4px;
    border-left: 3px solid #dc2626;
}

.field-error-message.show {
    display: block;
}

/* Print Styles for SEO */
@media print {
    .social-media,
    .language-toggle,
    .carousel-section,
    .scroll-top,
    .form-section,
    .recaptcha-disclaimer {
        display: none !important;
    }
    
    .location-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a[href^="javascript:"]::after,
    a[href^="#"]::after {
        content: "";
    }
}

/* ============================================
   MOTHER'S DAY SPECIALS PAGE
   mothers-day-specials.php
   ============================================ */

/* ── Custom Properties (Mother's Day) ── */
:root {
    --md-red:        #c0202a;
    --md-red-dark:   #8b1017;
    --md-red-light:  #e8404a;
    --md-cream:      #fdf6ef;
    --md-cream-dark: #f5e8d8;
    --md-gold:       #c9973a;
    --md-gold-light: #e8b55a;
    --md-shadow:     0 8px 32px rgba(0, 0, 0, 0.18);
    --md-shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.10);
    --md-radius:     16px;
    --md-radius-sm:  8px;
}

/* ── Page Base ── */
.mothers-day-page {
    background-color: var(--md-cream);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Container ── */
.md-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ──────────────────────────────────────
   HERO: SINGLE COLLAGE IMAGE
────────────────────────────────────── */

/* position:relative is essential — constrains the overlay and tear
   so they don't escape and cover sections below the hero */
.md-hero {
    position: relative;
    width: 100%;
    background-color: var(--dark-gray);
    overflow: hidden;
}

.md-hero__image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Placeholder shown until real image is dropped in */
.md-hero__image--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    gap: 8px;
    padding: 16px;
    box-sizing: border-box;
}

.md-hero__image--placeholder span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.md-hero__image--placeholder small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-align: center;
}

/* Torn paper SVG divider */
.md-hero__tear {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.md-hero__tear svg {
    width: 100%;
    height: 60px;
    fill: var(--md-cream);
    display: block;
    transform: scaleY(-1);
}

/* ──────────────────────────────────────
   TITLE SECTION
────────────────────────────────────── */
.md-title-section {
    padding: 56px 24px 48px;
    text-align: center;
    background-color: var(--md-cream);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.md-title-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: var(--md-red);
    opacity: 0.06;
    pointer-events: none;
}

.md-title-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: var(--md-gold);
    opacity: 0.07;
    pointer-events: none;
}

.md-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--md-gold);
    margin: 0 0 8px;
}

.md-title {
    font-family: 'Georgia', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--md-red);
    margin: 0 0 16px;
    line-height: 1.1;
    text-shadow: 2px 3px 8px rgba(192, 32, 42, 0.18);
    font-style: italic;
}

.md-valid-notice {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    letter-spacing: 0.04em;
}

.md-valid-notice strong {
    color: var(--md-red-dark);
}

/* ──────────────────────────────────────
   DEALS
────────────────────────────────────── */
.md-deals {
    padding: 16px 0 72px;
    background-color: var(--md-cream);
    position: relative;
    z-index: 1;
}

.md-deals__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.md-deal-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--md-radius);
    padding: 40px 32px 36px;
    box-shadow: var(--md-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .md-deal-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    }
}

.md-deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--md-red-dark), var(--md-red-light));
}

.md-deal-card--premium::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--md-red), var(--md-red-dark));
    opacity: 0.06;
    pointer-events: none;
}

.md-deal-card--standard::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--md-gold), var(--md-gold-light));
    opacity: 0.10;
    pointer-events: none;
}

.md-deal-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: var(--md-red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.md-deal-card__icon {
    width: 64px;
    height: 64px;
    color: var(--md-red);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.md-deal-card--standard .md-deal-card__icon {
    color: var(--md-gold);
}

.md-deal-card__icon svg {
    width: 100%;
    height: 100%;
}

.md-deal-card__headline {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    line-height: 1.25;
}

.md-deal-card__headline em {
    font-style: normal;
    color: var(--md-red);
    display: block;
    font-size: 1.85rem;
}

.md-deal-card--standard .md-deal-card__headline em {
    color: var(--md-gold);
}

.md-deal-card__body {
    font-size: 0.97rem;
    line-height: 1.65;
    color: #444;
    margin: 0 0 24px;
}

.md-deal-card__body strong {
    color: var(--text-dark);
}

.md-deal-card__fine-print {
    list-style: none;
    margin: 0;
    padding: 16px;
    background-color: var(--md-cream);
    border-radius: var(--md-radius-sm);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.md-deal-card__fine-print li {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.5;
    padding: 3px 0 3px 18px;
    position: relative;
}

.md-deal-card__fine-print li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--md-red);
    font-size: 0.85rem;
}

.md-deal-card--standard .md-deal-card__fine-print li::before {
    color: var(--md-gold);
}

.md-deals__disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: #888;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ──────────────────────────────────────
   WAVE DIVIDER
────────────────────────────────────── */
.md-floral-divider {
    line-height: 0;
    background-color: var(--md-cream);
    margin-top: -2px;
}

.md-floral-divider svg {
    width: 100%;
    height: 80px;
    fill: var(--md-red-dark);
    display: block;
}

/* ──────────────────────────────────────
   SECTION HEADINGS (locations area)
────────────────────────────────────── */
.md-section-title {
    font-family: 'Georgia', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    text-align: center;
    margin: 0 0 8px;
}

.md-section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    margin: 0 0 48px;
}

/* ──────────────────────────────────────
   LOCATIONS
────────────────────────────────────── */
.md-locations {
    background-color: var(--md-red-dark);
    padding: 64px 24px 80px;
    position: relative;
    overflow: hidden;
}

.md-locations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.md-locations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Location Card */
.md-loc-card {
    background-color: var(--white);
    border-radius: var(--md-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;/* Best Pho House Riverside - Main Styles */

/* Color Palette */
:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --accent-red: #ff5252;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #212121;
    --text-light: #757575;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

@media (hover: hover) {
    .btn-primary:hover {
        background-color: var(--dark-red);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
    }
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

@media (hover: hover) {
    .btn-secondary:hover {
        background-color: var(--medium-gray);
    }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

@media (hover: hover) {
    .btn-outline:hover {
        background-color: var(--primary-red);
        color: var(--white);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--primary-red);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) {
    .scroll-to-top:hover {
        background-color: var(--dark-red);
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
    }
}

.scroll-to-top:active {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY & SEO CSS ADDITIONS
   Add this to your main.css or index.css
   ============================================ */

/* Visually Hidden - For screen readers only */
.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #c8102e;
    color: #ffffff;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #c8102e;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .location-card {
        border: 2px solid currentColor;
    }
    
    .btn,
    .form-submit {
        border: 2px solid currentColor;
    }
}

/* Phone Link Styling */
.phone-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
}

.phone-link:hover,
.phone-link:focus {
    text-decoration-color: currentColor;
}

/* Tagline Styling */
.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 1.25rem;
    }
}

/* Footer Navigation */
footer nav {
    margin-top: 1rem;
}

footer nav a {
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

footer nav a:hover,
footer nav a:focus {
    opacity: 1;
    text-decoration: underline;
}

/* Fieldset Reset for Contact Method */
fieldset.form-group {
    border: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

fieldset.form-group legend {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Improved Error Message Accessibility */
.field-error-message[role="alert"] {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #fef2f2;
    border-radius: 4px;
    border-left: 3px solid #dc2626;
}

.field-error-message.show {
    display: block;
}

/* Print Styles for SEO */
@media print {
    .social-media,
    .language-toggle,
    .carousel-section,
    .scroll-top,
    .form-section,
    .recaptcha-disclaimer {
        display: none !important;
    }
    
    .location-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a[href^="javascript:"]::after,
    a[href^="#"]::after {
        content: "";
    }
}


    box-shadow: var(--md-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .md-loc-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
    }
}

.md-loc-card--featured {
    border: 2px solid var(--md-gold);
}

.md-loc-card--featured .md-loc-card__btn {
    background-color: var(--md-gold);
}

@media (hover: hover) {
    .md-loc-card--featured .md-loc-card__btn:hover {
        background-color: var(--md-gold-light);
    }
}

.md-loc-card__logo {
    background-color: var(--dark-gray);
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.md-loc-card__logo img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.md-loc-card__logo-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.md-loc-card__logo-fallback span {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
}

.md-loc-card__body {
    padding: 24px 20px 12px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.md-loc-card__name {
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 0 0 2px;
}

.md-loc-card__tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--md-red);
    margin: 0 0 14px;
}

.md-loc-card--featured .md-loc-card__tag {
    color: var(--md-gold);
}

.md-loc-card__address {
    font-style: normal;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.md-loc-card__phone {
    margin: 0;
}

.md-loc-card__phone a {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--md-red-dark);
    text-decoration: none;
    transition: color 0.2s;
}

@media (hover: hover) {
    .md-loc-card__phone a:hover {
        color: var(--md-red-light);
    }
}

.md-loc-card__btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background-color: var(--md-red);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.25s ease;
    margin-top: 16px;
}

@media (hover: hover) {
    .md-loc-card__btn:hover {
        background-color: var(--md-red-light);
        color: var(--white);
    }
}

/* ──────────────────────────────────────
   FOOTER (Mother's Day page)
────────────────────────────────────── */
.md-footer {
    background-color: var(--dark-gray);
    padding: 32px 24px;
    text-align: center;
}

.md-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 6px;
}

.md-footer p:last-child {
    margin-bottom: 0;
}

.md-footer a {
    color: var(--md-gold-light);
    text-decoration: none;
}

@media (hover: hover) {
    .md-footer a:hover {
        text-decoration: underline;
    }
}

.md-footer__legal {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ──────────────────────────────────────
   EXPIRY BANNER (shown by JS after May 11)
────────────────────────────────────── */
.md-expired-banner {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ──────────────────────────────────────
   ANIMATIONS
────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .md-deal-card {
        animation: md-fade-up 0.6s ease both;
    }

    .md-deal-card:nth-child(2) {
        animation-delay: 0.15s;
    }

    .md-loc-card {
        animation: md-fade-up 0.6s ease both;
    }

    .md-loc-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .md-loc-card:nth-child(3) {
        animation-delay: 0.24s;
    }

    .md-title {
        animation: md-fade-in 0.8s ease both;
    }
}

@keyframes md-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes md-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ──────────────────────────────────────
   RESPONSIVE (Mother's Day)
────────────────────────────────────── */
@media (max-width: 900px) {
    .md-hero__image {
        height: 300px;
    }

    .md-deals__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .md-locations__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .md-hero__image {
        height: 220px;
    }

    .md-title-section {
        padding: 40px 16px 36px;
    }

    .md-deal-card {
        padding: 36px 20px 28px;
    }

    .md-deal-card__headline {
        font-size: 1.3rem;
    }

    .md-deal-card__headline em {
        font-size: 1.55rem;
    }
}

@media (max-width: 400px) {
    .md-hero__image {
        height: 180px;
    }
}

/* ──────────────────────────────────────
   COLLAGE OVERLAY WITH LOGOS
────────────────────────────────────── */
.md-collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* stop before the torn paper tear */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(20, 0, 0, 0.60) 50%,
        rgba(0, 0, 0, 0.72) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.md-collage-overlay__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 0 24px;
}

.md-overlay-logo {
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.md-overlay-logo--bph {
    height: 180px;
    width: auto;
}

.md-overlay-logo--pk {
    height: 150px;
    width: auto;
}

@media (hover: hover) {
    .md-overlay-logo:hover {
        transform: scale(1.06);
        filter: drop-shadow(0 8px 32px rgba(211, 47, 47, 0.5));
    }
}

@media (max-width: 900px) {
    .md-collage-overlay__logos {
        gap: 28px;
    }
    .md-overlay-logo--bph {
        height: 130px;
    }
    .md-overlay-logo--pk {
        height: 110px;
    }
}

@media (max-width: 600px) {
    .md-collage-overlay {
        bottom: 0;
    }

    /* Keep logos side by side on mobile — just smaller */
    .md-collage-overlay__logos {
        flex-direction: row;
        gap: 16px;
        padding: 0 12px;
    }

    .md-overlay-logo--bph {
        height: 80px;
    }

    .md-overlay-logo--pk {
        height: 68px;
    }
}

/* ──────────────────────────────────────
   LOCATION CARDS — uniform (no featured gold)
────────────────────────────────────── */
.md-loc-card--featured {
    border: none;
}

.md-loc-card--featured .md-loc-card__btn {
    background-color: var(--md-red);
}

@media (hover: hover) {
    .md-loc-card--featured .md-loc-card__btn:hover {
        background-color: var(--md-red-light);
    }
}

.md-loc-card--featured .md-loc-card__tag {
    color: var(--md-red);
}