/**
 * ==========================================================
 * Pehucci CMS Public Design System
 * ==========================================================
 *
 * Purpose:
 * Global frontend styling rules for Pehucci public pages.
 *
 * Why:
 * We define colours, fonts, spacing, buttons, cards, image frames
 * and responsive rules in one place so the website stays consistent.
 * ==========================================================
 */

:root {
    --pehucci-green: #2E7D32;
    --pehucci-green-dark: #1B5E20;
    --pehucci-gold: #D4AF37;
    --pehucci-blue: #4FC3F7;

    --pehucci-white: #FFFFFF;
    --pehucci-warm-white: #FAFAFA;
    --pehucci-grey: #ECEFF1;
    --pehucci-text: #263238;
    --pehucci-muted: #607D8B;
    --pehucci-danger: #C62828;

    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;

    --space-small: 8px;
    --space-medium: 16px;
    --space-large: 32px;
    --space-xlarge: 64px;

    --container-width: 1200px;
}

/* Global page reset */
* {
    box-sizing: border-box;
}

/* Body default */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--pehucci-warm-white);
    color: var(--pehucci-text);
    line-height: 1.6;
}

/* Main content width */
.container {
    width: min(100% - 32px, var(--container-width));
    margin: 0 auto;
}

/* Public navigation */
.site-header {
    background: var(--pehucci-green);
    color: var(--pehucci-white);
    padding: var(--space-medium) 0;
}

.site-header a {
    color: var(--pehucci-white);
    text-decoration: none;
    margin-right: var(--space-medium);
}

.site-header a:hover {
    text-decoration: underline;
}

/* Primary buttons */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: bold;
}

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

.btn-gold {
    background: var(--pehucci-gold);
    color: var(--pehucci-text);
}

/* Hero area */
.hero {
    padding: var(--space-xlarge) 0;
    background: linear-gradient(135deg, var(--pehucci-green), var(--pehucci-green-dark));
    color: var(--pehucci-white);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0 0 var(--space-medium);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-large);
}

.card {
    background: var(--pehucci-white);
    border: 1px solid var(--pehucci-grey);
    border-radius: var(--radius-medium);
    padding: var(--space-large);
}

/* Image frame rules */
.image-frame {
    width: 100%;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: var(--pehucci-grey);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery thumbnails */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-medium);
}

.gallery-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: var(--pehucci-grey);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video thumbnail */
.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 48px;
    color: var(--pehucci-white);
    background: rgba(0, 0, 0, 0.25);
}

/* Footer */
.site-footer {
    margin-top: var(--space-xlarge);
    padding: var(--space-large) 0;
    background: var(--pehucci-green-dark);
    color: var(--pehucci-white);
}

/* Mobile improvements */
@media (max-width: 768px) {
    .site-header nav {
        display: grid;
        gap: 8px;
    }

    .hero {
        padding: var(--space-large) 0;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10C - BOOTSTRAP FRONTEND HOMEPAGE POLISH
|--------------------------------------------------------------------------
|
| Purpose:
| These styles support the new custom MVC frontend layout located in:
| app/Views/frontend
|
| Important:
| This project is NOT CodeIgniter.
| These classes are used by the new Bootstrap homepage components:
| - navbar.php
| - hero.php
| - statistics.php
| - mission.php
| - donate-cta.php
|--------------------------------------------------------------------------
*/

:root {
    --pehucci-orange: #f7931a;
    --pehucci-orange-dark: #d97706;
    --pehucci-black: #111111;
}

/* New Bootstrap navbar wrapper */
.pehucci-topbar {
    background-color: var(--pehucci-black);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* PEHUCCI brand spacing */
.navbar-brand {
    letter-spacing: 0.08em;
}

/* Public navbar links */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Navbar hover */
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--pehucci-orange);
}

/* Hero background */
.pehucci-hero {
    min-height: 75vh;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.58) 45%,
            rgba(0, 0, 0, 0.20) 100%
        ),
        url("/uploads/media/slides/4e6e6696c71b92404f4b29d0327baaa3.jpg");
    background-size: cover;
    background-position: center;
}

/* Hero overlay */
.pehucci-hero-overlay {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

/* Bootstrap helper */
.min-vh-75 {
    min-height: 75vh;
}

/* Small orange label above hero title */
.pehucci-eyebrow {
    display: inline-block;
    background-color: var(--pehucci-orange);
    color: var(--pehucci-black);
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* Hero title */
.pehucci-hero-title {
    color: #ffffff;
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

/* Hero paragraph */
.pehucci-hero-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.25rem;
    max-width: 680px;
}

/* Statistic cards */
.pehucci-stat-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem 1rem;
    height: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

/* Statistic card hover */
.pehucci-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Statistic number */
.pehucci-stat-card h2 {
    color: var(--pehucci-orange);
    font-weight: 900;
}

/* Statistic label */
.pehucci-stat-card p {
    margin-bottom: 0;
    font-weight: 700;
}

/* Mission image block */
.pehucci-image-placeholder {
    min-height: 320px;
    border-radius: 1.25rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        url("/uploads/media/medium/761b6538eeec278eb0ce623fc20b87c1.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    color: transparent;
}

/* Orange donation section */
.pehucci-orange-section {
    background-color: var(--pehucci-orange);
}

/* New frontend footer */
.pehucci-footer {
    background-color: var(--pehucci-black);
    color: #ffffff;
}

/* Footer links */
.pehucci-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* Footer hover */
.pehucci-footer a:hover {
    color: var(--pehucci-orange);
}

/* Mobile hero improvement */
@media (max-width: 767.98px) {
    .pehucci-hero {
        background:
            linear-gradient(
                rgba(0, 0, 0, 0.72),
                rgba(0, 0, 0, 0.72)
            ),
            url("/uploads/media/slides/4e6e6696c71b92404f4b29d0327baaa3.jpg");
        background-size: cover;
        background-position: center;
    }

    .pehucci-hero-title {
        font-size: 2.5rem;
    }

    .pehucci-hero-text {
        font-size: 1.1rem;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10D - HOMEPAGE DESIGN SYSTEM COMPONENTS
|--------------------------------------------------------------------------
*/

/* Small orange label above section headings */
.pehucci-section-eyebrow {
    display: inline-block;
    color: var(--pehucci-orange);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

/* Large reusable section heading */
.pehucci-section-title {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pehucci-black);
    margin-bottom: 1rem;
}

/* Reusable section intro text */
.pehucci-section-text {
    max-width: 760px;
    color: var(--pehucci-muted);
    font-size: 1.1rem;
}

/*
==========================================================================
PHASE 30C-2 — SHARED PUBLIC PREVIEW CARD
==========================================================================
*/

/*
|--------------------------------------------------------------------------
| Preview Card Container
|--------------------------------------------------------------------------
|
| Projects, Events and Gallery albums share this visual foundation.
| Shop Products retain their dedicated Product Card component while
| following the same border-radius, shadow and movement language.
|--------------------------------------------------------------------------
*/

.pehucci-preview-card {
    border-radius: 1.25rem;
    background-color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/*
 * Hover movement is limited to devices with a precise pointing device.
 * This prevents sticky hover behaviour on touch screens.
 */
@media (hover: hover) and (pointer: fine) {
    .pehucci-preview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    }
}

/*
|--------------------------------------------------------------------------
| Preview Card Media
|--------------------------------------------------------------------------
*/

.pehucci-preview-card-media {
    display: block;
    overflow: hidden;
    line-height: 0;
}

.pehucci-preview-card-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    background-color: #f5f5f5;
}

/*
 * Missing-image placeholder.
 *
 * line-height must be restored because the media link uses zero
 * line-height to remove spacing beneath normal images.
 */
.pehucci-preview-card-placeholder {
    color: var(--pehucci-muted);
    line-height: 1.5;
}

/*
|--------------------------------------------------------------------------
| Preview Card Content
|--------------------------------------------------------------------------
*/

.pehucci-preview-card .card-body {
    padding: 1.5rem;
}

.pehucci-preview-card-title {
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
}

.pehucci-preview-card-title a {
    transition: color 0.15s ease;
}

.pehucci-preview-card-title a:hover {
    color: var(--pehucci-orange) !important;
}

/*
 * Keep summaries visually consistent when CMS descriptions vary in
 * length. Full content remains available on the detail page.
 */
.pehucci-preview-card-text {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 1.5rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/*
|--------------------------------------------------------------------------
| Preview Card Metadata
|--------------------------------------------------------------------------
*/

.pehucci-preview-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--pehucci-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.pehucci-preview-card-meta-item {
    display: inline-flex;
    align-items: center;
}

/*
 * Add a restrained separator between metadata values without requiring
 * punctuation to be embedded in PHP content.
 */
.pehucci-preview-card-meta-item:not(:last-child)::after {
    margin-left: 0.75rem;
    color: rgba(0, 0, 0, 0.35);
    content: "•";
}

/*
|--------------------------------------------------------------------------
| Responsive Preview Cards
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-preview-card-image {
        height: 240px;
    }
}

@media (max-width: 575.98px) {
    .pehucci-preview-card-image {
        height: 220px;
    }

    .pehucci-preview-card .card-body {
        padding: 1.25rem;
    }
}

/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-preview-card {
        transition: none;
    }

    .pehucci-preview-card:hover {
        transform: none;
    }

    .pehucci-preview-card-title a {
        transition: none;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10E - MISSION POLISH AND GALLERY PREVIEW
|--------------------------------------------------------------------------
*/

/* Mission section background */
.pehucci-mission-section {
    background-color: #ffffff;
}

/* Slightly larger mission paragraph */
.pehucci-lead {
    font-size: 1.15rem;
    color: var(--pehucci-text);
}

/* Mission checklist */
.pehucci-check-list {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0 0;
}

/* Each mission point */
.pehucci-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

/* Orange check icon */
.pehucci-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background-color: var(--pehucci-orange);
    color: var(--pehucci-black);
    font-size: 0.9rem;
    font-weight: 900;
}

/* Mission image card wrapper */
.pehucci-mission-photo-card {
    position: relative;
    min-height: 430px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

/* Mission photo */
.pehucci-mission-photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.12)
        ),
        url("/uploads/media/large/761b6538eeec278eb0ce623fc20b87c1.jpg");
    background-size: cover;
    background-position: center;
}

/* Floating badge on mission image */
.pehucci-mission-badge {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Large number in badge */
.pehucci-mission-badge strong {
    color: var(--pehucci-orange);
    font-size: 2rem;
    line-height: 1;
}

/* Badge explanation */
.pehucci-mission-badge span {
    font-weight: 800;
    color: var(--pehucci-black);
}

/* Gallery preview section */
.pehucci-gallery-preview-section {
    background-color: #ffffff;
}

/* Gallery preview tile */
.pehucci-gallery-preview-item {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Gallery preview image */
.pehucci-gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 220ms ease;
}

/* Subtle zoom on hover */
.pehucci-gallery-preview-item:hover img {
    transform: scale(1.06);
}

/* Mobile mission image spacing */
@media (max-width: 767.98px) {
    .pehucci-mission-photo-card {
        min-height: 340px;
    }

    .pehucci-mission-badge {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10F - TESTIMONIALS AND NEWSLETTER CTA
|--------------------------------------------------------------------------
*/

/* Testimonials background */
.pehucci-testimonials-section {
    background-color: #f8f9fa;
}

/* Testimonial card */
.pehucci-testimonial-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

/* Large quote mark */
.pehucci-testimonial-mark {
    color: var(--pehucci-orange);
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
}

/* Testimonial message */
.pehucci-testimonial-quote {
    font-size: 1.05rem;
    color: var(--pehucci-text);
}

/* Testimonial role */
.pehucci-testimonial-card span {
    display: block;
    color: var(--pehucci-muted);
    font-size: 0.95rem;
}

/* Newsletter section */
.pehucci-newsletter-section {
    background-color: #ffffff;
}

/* Newsletter box */
.pehucci-newsletter-box {
    background:
        linear-gradient(
            135deg,
            rgba(247, 147, 26, 0.18),
            rgba(247, 147, 26, 0.06)
        );
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

/* Mobile spacing */
@media (max-width: 767.98px) {
    .pehucci-newsletter-box {
        padding: 1.5rem;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10G - FOOTER SOCIAL LINKS AND FINAL CTA POLISH
|--------------------------------------------------------------------------
*/

/* Final homepage donation block */
.pehucci-final-donate-section {
    background:
        linear-gradient(
            135deg,
            rgba(247, 147, 26, 1),
            rgba(212, 117, 6, 1)
        );
}

/* Keep final CTA paragraph readable */
.pehucci-final-donate-section .lead {
    max-width: 760px;
}

/* Footer social link wrapper */
.pehucci-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Footer social buttons */
.pehucci-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

/* Footer social hover */
.pehucci-social-links a:hover {
    background: var(--pehucci-orange);
    color: var(--pehucci-black);
}

/* Footer list spacing */
.pehucci-footer li {
    margin-bottom: 0.45rem;
}

/* Better mobile footer spacing */
@media (max-width: 767.98px) {
    .pehucci-footer {
        text-align: left;
    }

    .pehucci-social-links {
        margin-bottom: 1rem;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 10H - SECURE SUPPORTER CONTACT FORM
|--------------------------------------------------------------------------
*/

/* Hide honeypot field visually but keep it present for bots */
.pehucci-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact form labels */
.pehucci-contact-form .form-label {
    font-weight: 700;
}

/* Contact form fields */
.pehucci-contact-form .form-control {
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.16);
    padding: 0.75rem 0.9rem;
}

/* Focus state */
.pehucci-contact-form .form-control:focus {
    border-color: var(--pehucci-orange);
    box-shadow: 0 0 0 0.2rem rgba(247, 147, 26, 0.2);
}
/*
|--------------------------------------------------------------------------
| PHASE 11A - FRONTEND COMPONENT LIBRARY FOUNDATION
|--------------------------------------------------------------------------
*/

/* Public page header shared by future pages */
.pehucci-page-header {
    padding: 5rem 0;
    background:
        linear-gradient(
            135deg,
            rgba(17, 17, 17, 0.92),
            rgba(17, 17, 17, 0.78)
        );
    color: #ffffff;
}

/* Small label above public page title */
.pehucci-page-header-eyebrow {
    display: inline-block;
    color: var(--pehucci-orange);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* Public page main title */
.pehucci-page-header-title {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

/* Public page intro text */
.pehucci-page-header-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
}

/* Friendly empty state block */
.pehucci-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Empty state text width */
.pehucci-empty-state p {
    max-width: 520px;
}
/*
|--------------------------------------------------------------------------
| PHASE 11D - PUBLIC CONTACT PAGE
|--------------------------------------------------------------------------
*/

/* Contact information cards */
.pehucci-contact-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
/*
|--------------------------------------------------------------------------
| PHASE 11E - PUBLIC VOLUNTEER PAGE
|--------------------------------------------------------------------------
*/

/* Volunteer information card */
.pehucci-volunteer-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Volunteer highlight panel */
.pehucci-volunteer-highlight {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
/*
|--------------------------------------------------------------------------
| PHASE 11F - PUBLIC DONATE PAGE
|--------------------------------------------------------------------------
*/

.pehucci-donate-image-card {
    position: relative;
    min-height: 430px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.pehucci-donate-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.14),
            rgba(0, 0, 0, 0.14)
        ),
        url("/uploads/media/large/ba74183a3b57bbec7432abcd760f2773.jpg");
    background-size: cover;
    background-position: center;
}

.pehucci-donate-image-badge {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pehucci-donate-image-badge strong {
    color: var(--pehucci-orange);
    font-size: 2rem;
    line-height: 1;
}

.pehucci-donate-image-badge span {
    font-weight: 800;
    color: var(--pehucci-black);
}

.pehucci-donation-impact-card,
.pehucci-giving-card,
.pehucci-transparency-card,
.pehucci-payment-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.pehucci-donation-amount {
    color: var(--pehucci-orange);
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.pehucci-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}

.pehucci-progress {
    height: 12px;
    background: #eceff1;
    border-radius: 999px;
    overflow: hidden;
}

.pehucci-progress div {
    height: 100%;
    background: var(--pehucci-orange);
    border-radius: 999px;
}

.pehucci-payment-card p {
    max-width: 760px;
}

.pehucci-payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pehucci-payment-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(247, 147, 26, 0.14);
    color: var(--pehucci-black);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .pehucci-donate-image-card {
        min-height: 340px;
    }

    .pehucci-donate-image-badge {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}
/*
==========================================================================
PEHUCCI PUBLIC SHOP
==========================================================================
*/

/*
|--------------------------------------------------------------------------
| Public Product Catalogue Card
|--------------------------------------------------------------------------
|
| WHAT:
| Provides consistent presentation for Product cards in the public Shop.
|
| WHY:
| Product cards require a dedicated layout for images, prices, stock
| badges, Categories and Product-specific actions.
|
| These classes do not affect preview cards used by Projects, Events or
| Gallery.
|
*/

.pehucci-product-card {
    border-radius: 1.25rem;
    background-color: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/*
 * Lift the card slightly on devices that support hover.
 *
 * This gives desktop visitors visual feedback without affecting touch
 * devices or keyboard navigation.
 */
@media (hover: hover) and (pointer: fine) {
    .pehucci-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14) !important;
    }
}

/*
|--------------------------------------------------------------------------
| Product Catalogue Image
|--------------------------------------------------------------------------
|
| A fixed image height keeps every Product card aligned even when Media
| Library images use different proportions.
|
| object-fit: cover prevents image stretching.
|
*/

.pehucci-product-card-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    background-color: #f5f5f5;
}

/*
 * Product image links should not introduce extra line-height space beneath
 * the image.
 */
.pehucci-product-card .position-relative > a {
    line-height: 0;
}

/*
|--------------------------------------------------------------------------
| Product Card Content
|--------------------------------------------------------------------------
*/

.pehucci-product-card .card-body {
    padding: 1.5rem;
}

/*
 * Prevent unusually long Product names from breaking card alignment.
 *
 * The full Product name remains available on the detail page.
 */
.pehucci-product-card h2 {
    overflow-wrap: anywhere;
}

/*
 * Keep the Product description readable and prevent one very long
 * description from making its card much taller than neighbouring cards.
 */
.pehucci-product-card .card-body > p.text-muted {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/*
|--------------------------------------------------------------------------
| Product Card Badges
|--------------------------------------------------------------------------
*/

.pehucci-product-card .badge {
    font-size: 0.75rem;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

/*
|--------------------------------------------------------------------------
| Product Detail Media
|--------------------------------------------------------------------------
|
| Keeps the Product image area visually balanced and gives Products without
| images a consistent placeholder height.
|
*/

.pehucci-product-detail-media {
    min-height: 420px;
    background-color: #ffffff;
}

.pehucci-product-detail-image {
    display: block;
    width: 100%;
    min-height: 420px;
    max-height: 620px;
    object-fit: contain;
    background-color: #f7f7f7;
}

/*
|--------------------------------------------------------------------------
| Product Detail Description
|--------------------------------------------------------------------------
*/

.pehucci-product-description {
    color: #343a40;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

/*
|--------------------------------------------------------------------------
| Product Detail Action Buttons
|--------------------------------------------------------------------------
|
| Make Product actions easier to use without forcing full-width buttons on
| desktop screens.
|
*/

.pehucci-product-detail-actions .btn {
    min-width: 180px;
}

/*
|--------------------------------------------------------------------------
| Tablet and Mobile Adjustments
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-product-card-image {
        height: 240px;
    }

    .pehucci-product-detail-media,
    .pehucci-product-detail-image {
        min-height: 360px;
    }

    .pehucci-product-detail-image {
        max-height: 520px;
    }
}

@media (max-width: 575.98px) {
    .pehucci-product-card-image {
        height: 220px;
    }

    .pehucci-product-card .card-body {
        padding: 1.25rem;
    }

    .pehucci-product-detail-media,
    .pehucci-product-detail-image {
        min-height: 280px;
    }

    .pehucci-product-detail-image {
        max-height: 420px;
    }

    /*
     * Product action buttons become full width on narrow screens so they
     * remain easy to tap.
     */
    .pehucci-product-detail-actions {
        width: 100%;
    }

    .pehucci-product-detail-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

/*
|--------------------------------------------------------------------------
| Reduced Motion Accessibility
|--------------------------------------------------------------------------
|
| Visitors who disable animation through their operating system should not
| receive the card movement effect.
|
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-product-card {
        transition: none;
    }

    .pehucci-product-card:hover {
        transform: none;
    }
}
/*
==========================================================================
PHASE 30B-1 — PUBLIC NAVIGATION ACCESSIBILITY
==========================================================================
*/

/*
|--------------------------------------------------------------------------
| Skip Link
|--------------------------------------------------------------------------
|
| WHAT:
| Keeps the "Skip to main content" link visually hidden until a keyboard
| user focuses it.
|
| WHY:
| Keyboard and assistive-technology users should be able to bypass the
| repeated public navigation on every page.
|
*/

.pehucci-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
    transform: translateY(-200%);
    transition: transform 0.15s ease;
}

.pehucci-skip-link:focus {
    transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| Main Content Focus
|--------------------------------------------------------------------------
|
| The main element accepts focus only so the skip link works.
| Suppress its browser outline because the skip-link movement already
| communicates the focus change and the main container is not interactive.
|
*/

#main-content:focus {
    outline: none;
}

/*
|--------------------------------------------------------------------------
| Public Keyboard Focus Visibility
|--------------------------------------------------------------------------
|
| WHAT:
| Provides a consistent visible focus indicator for links, buttons and
| common form controls.
|
| WHY:
| Hover styles do not help keyboard users. A strong focus ring makes the
| currently selected control visible.
|
*/

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--pehucci-orange);
    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Active Navigation Link
|--------------------------------------------------------------------------
*/

.pehucci-topbar .navbar-nav .nav-link.active {
    color: var(--pehucci-orange);
}

/*
 * The underline supplies a non-colour-only active indicator.
 */
.pehucci-topbar .navbar-nav .nav-link.active::after {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 0.2rem;
    background-color: currentColor;
    content: "";
}

/*
|--------------------------------------------------------------------------
| Active Donate Button
|--------------------------------------------------------------------------
|
| The Donate button uses a stronger visual treatment than ordinary links.
| The border provides an additional active-page indication.
|
*/

.pehucci-topbar .btn-warning.active {
    border-color: #ffffff;
    box-shadow:
        0 0 0 2px var(--pehucci-black),
        0 0 0 4px #ffffff;
}

/*
|--------------------------------------------------------------------------
| Footer Keyboard Focus
|--------------------------------------------------------------------------
*/

.pehucci-footer a:focus-visible {
    color: var(--pehucci-black);
    background-color: var(--pehucci-orange);
    border-radius: 0.25rem;
}

/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-skip-link {
        transition: none;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 14B - HOMEPAGE HERO VISUAL REFINEMENT
|--------------------------------------------------------------------------
|
| WHAT:
| Restyles the public homepage hero to use the presentation selected
| for Pehucci's production website.
|
| DESIGN:
| - Full-width Pehucci photograph.
| - Photograph remains clearly visible.
| - Content is centred horizontally and vertically.
| - Dark translucent panel protects text readability.
| - White headline and supporting text.
| - Orange Donate Now button.
|
| IMPORTANT:
| The background image itself is supplied inline by hero.php from
| Homepage Manager. Therefore this CSS deliberately does NOT contain
| a hard-coded image URL.
|--------------------------------------------------------------------------
*/

/*
 * Main hero photograph.
 *
 * The image is supplied by Homepage Manager through hero.php.
 * Cover prevents distortion while filling the available hero area.
 */
.pehucci-hero {
    position: relative;
    min-height: 72vh;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    overflow: hidden;
}

/*
 * Full hero positioning layer.
 *
 * A very light whole-image shade improves consistency between bright
 * and dark Gallery/CMS photographs without hiding the photograph.
 */
.pehucci-hero-overlay {
    display: flex;
    align-items: center;

    min-height: 72vh;

    padding: 4rem 0;

    background: rgba(0, 0, 0, 0.10);
}

/*
 * Centres the actual hero panel.
 */
.pehucci-hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

/*
 * Translucent content panel.
 *
 * max-width keeps long text readable on large monitors.
 */
.pehucci-hero-content {
    width: min(100%, 760px);

    padding: 2.5rem 3rem;

    text-align: center;

    background: rgba(0, 0, 0, 0.68);

    border-radius: 0.75rem;

    box-shadow:
        0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

/*
 * Main homepage message.
 *
 * The requested design uses a strong but less oversized heading than
 * the previous left-aligned hero.
 */
.pehucci-hero .pehucci-hero-title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

/*
 * Supporting charity message.
 */
.pehucci-hero .pehucci-hero-text {
    max-width: 650px;

    margin:
        1.25rem auto
        0;

    color: rgba(255, 255, 255, 0.95);

    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

/*
 * Button container.
 */
.pehucci-hero-actions {
    display: flex;
    justify-content: center;

    margin-top: 1.5rem;
}

/*
 * Main Donate Now CTA.
 *
 * Uses Pehucci orange rather than Bootstrap yellow so the homepage
 * remains consistent with the established charity branding.
 */
.pehucci-hero-donate-button {
    min-width: 145px;

    padding: 0.8rem 1.6rem;

    background-color: var(--pehucci-orange);

    border:
        2px solid
        var(--pehucci-orange);

    color: var(--pehucci-black);

    font-weight: 800;

    border-radius: 0.35rem;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

/*
 * Mouse/pointer interaction.
 */
.pehucci-hero-donate-button:hover {
    background-color: var(--pehucci-orange-dark);

    border-color: var(--pehucci-orange-dark);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 0.5rem 1.25rem
        rgba(0, 0, 0, 0.25);
}

/*
 * Keyboard accessibility.
 */
.pehucci-hero-donate-button:focus-visible {
    outline:
        3px solid
        #ffffff;

    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Tablet Hero
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-hero,
    .pehucci-hero-overlay {
        min-height: 65vh;
    }

    .pehucci-hero-content {
        width: min(100%, 680px);

        padding: 2.25rem;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile Hero
|--------------------------------------------------------------------------
|
| Reduce the height and panel spacing so the photograph, message and
| call-to-action remain usable on phones.
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {
    .pehucci-hero {
        min-height: 60vh;

        background-position: center center;
    }

    .pehucci-hero-overlay {
        min-height: 60vh;

        padding: 2.5rem 0;

        background: rgba(0, 0, 0, 0.14);
    }

    .pehucci-hero-content {
        width: 100%;

        padding:
            1.75rem
            1.25rem;

        border-radius: 0.6rem;
    }

    .pehucci-hero .pehucci-hero-title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);

        line-height: 1.12;
    }

    .pehucci-hero .pehucci-hero-text {
        margin-top: 1rem;

        font-size: 1rem;
        line-height: 1.55;
    }

    .pehucci-hero-actions {
        margin-top: 1.25rem;
    }
}

/*
|--------------------------------------------------------------------------
| Small Mobile Hero
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {
    .pehucci-hero,
    .pehucci-hero-overlay {
        min-height: 56vh;
    }

    .pehucci-hero-content {
        padding:
            1.5rem
            1rem;
    }

    .pehucci-hero-donate-button {
        width: 100%;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 14C - PEHUCCI NAVBAR LOGO AND BRANDING
|--------------------------------------------------------------------------
|
| WHAT:
| Integrates the approved globe-and-dove Pehucci logo into the shared
| public navbar.
|
| DESIGN:
| - Logo appears at the top-left.
| - Pehucci name sits beside the logo.
| - Logo uses a circular crop so the original white square background
|   becomes a clean emblem on the black navigation bar.
| - Desktop and mobile dimensions are controlled independently.
|--------------------------------------------------------------------------
*/

/*
 * Give the navbar slightly more vertical presence to accommodate the
 * logo without making the header excessively tall.
 */
.pehucci-topbar .navbar {
    min-height: 76px;

    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

/*
 * Brand link contains both the emblem and Pehucci text.
 */
.pehucci-navbar-brand {
    display: inline-flex;
    align-items: center;

    gap: 0.75rem;

    margin-right: 1.5rem;

    padding-top: 0;
    padding-bottom: 0;

    text-decoration: none;
}

/*
 * Logo.
 *
 * border-radius crops the square source image into a clean circle.
 * object-fit avoids distortion.
 */
.pehucci-navbar-logo {
    display: block;

    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 50%;

    background-color: #ffffff;

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.18),
        0 0.2rem 0.7rem rgba(0, 0, 0, 0.30);
}

/*
 * Pehucci wordmark.
 *
 * Mixed-case spelling follows the approved visual reference rather than
 * the previous all-uppercase presentation.
 */
.pehucci-navbar-brand-name {
    color: #ffffff;

    font-size: 1.45rem;
    font-weight: 800;

    letter-spacing: 0.01em;

    line-height: 1;
}

/*
 * Preserve readable spacing between navigation links.
 */
.pehucci-topbar .navbar-nav {
    gap: 0.15rem;
}

.pehucci-topbar .navbar-nav .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

/*
 * Production Donate CTA.
 *
 * Uses the same Pehucci orange family as the Hero CTA.
 */
.pehucci-navbar-donate {
    padding:
        0.55rem
        1.15rem;

    background-color: var(--pehucci-orange);

    border:
        2px solid
        var(--pehucci-orange);

    color: var(--pehucci-black);

    font-weight: 800;

    border-radius: 0.35rem;
}

.pehucci-navbar-donate:hover {
    background-color: var(--pehucci-orange-dark);

    border-color: var(--pehucci-orange-dark);

    color: #ffffff;
}

/*
 * Active Donate page retains a clear non-colour-only indicator.
 */
.pehucci-navbar-donate.active {
    border-color: #ffffff;

    box-shadow:
        0 0 0 2px
        var(--pehucci-black),
        0 0 0 4px
        #ffffff;
}

/*
 * Keyboard focus visibility.
 */
.pehucci-navbar-brand:focus-visible,
.pehucci-navbar-donate:focus-visible {
    outline:
        3px solid
        var(--pehucci-orange);

    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Navbar Tablet/Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-topbar .navbar {
        min-height: 68px;
    }

    .pehucci-navbar-logo {
        width: 50px;
        height: 50px;
    }

    .pehucci-navbar-brand-name {
        font-size: 1.3rem;
    }

    /*
     * Give the opened mobile menu some breathing space beneath the brand.
     */
    .pehucci-topbar .navbar-collapse {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .pehucci-topbar .navbar-nav {
        gap: 0;
    }

    .pehucci-topbar .navbar-nav .nav-link {
        padding:
            0.65rem
            0;
    }

    .pehucci-navbar-donate {
        display: inline-block;

        margin-top: 0.5rem;
    }
}

/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {
    .pehucci-navbar-logo {
        width: 44px;
        height: 44px;
    }

    .pehucci-navbar-brand {
        gap: 0.55rem;
    }

    .pehucci-navbar-brand-name {
        font-size: 1.2rem;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 14E - SEE PEHUCCI IN ACTION
|--------------------------------------------------------------------------
|
| WHAT:
| Public homepage video section using selected Media Library MP4 files.
|
| DESIGN:
| - Light neutral background.
| - Centred section heading.
| - Responsive Bootstrap video grid.
| - Dark video canvas.
| - White card body.
| - Pehucci orange accent.
|
| RESPONSIVE:
| Bootstrap grid provides:
|
| Desktop: up to 3 columns
| Tablet:  up to 2 columns
| Mobile:  1 column
|--------------------------------------------------------------------------
*/

.pehucci-action-section {
    background:
        linear-gradient(
            180deg,
            #f8f9fa 0%,
            #ffffff 100%
        );
}

.pehucci-action-heading {
    max-width: 760px;
}

/*
 * Small branded label above the main heading.
 */
.pehucci-action-eyebrow {
    display: inline-block;

    margin-bottom: 0.8rem;

    color: var(
        --pehucci-orange,
        #f59a23
    );

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

/*
 * Main section heading.
 */
.pehucci-action-title {
    margin-bottom: 1rem;

    color: #171717;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.1;
}

/*
 * Introductory paragraph.
 */
.pehucci-action-intro {
    color: #5b5b5b;

    font-size: 1.05rem;

    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Video Card
|--------------------------------------------------------------------------
*/

.pehucci-action-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.08
        );

    border-radius: 0.85rem;

    box-shadow:
        0 0.5rem 1.5rem
        rgba(
            0,
            0,
            0,
            0.08
        );
}

/*
 * Creates a stable 16:9 visual area for videos.
 */
.pehucci-action-video-wrapper {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111111;
}

/*
 * Native HTML5 player fills the available card width.
 *
 * object-fit: contain ensures vertical or unusual video dimensions are not
 * cropped.
 */
.pehucci-action-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #111111;
}

/*
|--------------------------------------------------------------------------
| Video Card Content
|--------------------------------------------------------------------------
*/

.pehucci-action-card-body {
    padding: 1.15rem 1.2rem 1.3rem;
}

.pehucci-action-video-title {
    margin-bottom: 0;

    color: #202020;

    font-size: 1.05rem;
    font-weight: 750;

    line-height: 1.35;
}

.pehucci-action-video-description {
    margin-top: 0.55rem;
    margin-bottom: 0;

    color: #666666;

    font-size: 0.925rem;

    line-height: 1.55;
}

/*
|--------------------------------------------------------------------------
| Optional Section Button
|--------------------------------------------------------------------------
*/

.pehucci-action-button {
    padding:
        0.7rem
        1.4rem;

    background:
        var(
            --pehucci-orange,
            #f59a23
        );

    border:
        2px solid
        var(
            --pehucci-orange,
            #f59a23
        );

    color: #111111;

    font-weight: 800;

    border-radius: 0.4rem;
}

.pehucci-action-button:hover,
.pehucci-action-button:focus {
    background: #d98211;

    border-color: #d98211;

    color: #ffffff;
}

.pehucci-action-button:focus-visible {
    outline: 3px solid #111111;

    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Mobile Polish
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {
    .pehucci-action-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .pehucci-action-card-body {
        padding: 1rem;
    }

    .pehucci-action-intro {
        font-size: 1rem;
    }
}

/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
|
| The video section itself introduces no automatic animation.
|
| This rule protects any future card-transition additions.
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-action-card,
    .pehucci-action-button {
        transition: none !important;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 14F - ROTATING GALLERY SHOWCASE
|--------------------------------------------------------------------------
|
| PURPOSE:
| Displays one large rotating Pehucci Gallery photograph immediately
| above the public footer.
|
| IMPORTANT IMAGE RULE:
|
| Gallery photographs may be:
|
| - landscape;
| - portrait;
| - square;
| - photographs containing children or adults close to the image edges.
|
| We therefore use:
|
|     object-fit: contain;
|
| rather than:
|
|     object-fit: cover;
|
| WHY:
| cover fills the complete banner but may crop heads, faces or important
| parts of photographs.
|
| contain preserves the complete source photograph.
|
| When the photograph does not match the wide banner ratio, the unused
| area is filled with a dark neutral background rather than cropping the
| photograph.
|
| ACCESSIBILITY:
|
| - Pause/Resume control remains visible.
| - Keyboard focus receives a strong indicator.
| - reduced-motion visitors do not receive automatic image animation.
|
| RESPONSIVE:
|
| Desktop:
| Wide photograph canvas with complete image visible.
|
| Tablet:
| Reduced banner height while still preserving the complete photograph.
|
| Mobile:
| Taller relative canvas so portrait photographs remain useful.
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Main Showcase Section
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    /*
     * Dark background becomes the natural letterbox/pillarbox colour
     * around images that do not match the wide showcase aspect ratio.
     */
    background-color: #111111;
}


/*
|--------------------------------------------------------------------------
| Showcase Frame
|--------------------------------------------------------------------------
|
| The frame controls the visible banner height.
|
| clamp() keeps it responsive:
|
| minimum = 360px
| preferred = 34vw
| maximum = 540px
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-frame {
    position: relative;

    width: 100%;

    height:
        clamp(
            360px,
            34vw,
            540px
        );

    min-height: 360px;

    overflow: hidden;

    background-color: #111111;
}


/*
|--------------------------------------------------------------------------
| Gallery Link
|--------------------------------------------------------------------------
|
| The complete photographic area links visitors to the public Gallery.
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-link {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background-color: #111111;

    color: #ffffff;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Showcase Photograph
|--------------------------------------------------------------------------
|
| PRODUCTION DECISION:
|
| object-fit: contain
|
| This deliberately preserves the complete Gallery photograph.
|
| DO NOT change this back to cover unless Gallery images are later
| manually cropped to a dedicated wide-banner format.
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-image {
    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    /*
     * Preserve the entire photograph.
     *
     * This prevents heads, faces, feet and other important content from
     * being removed by a wide banner crop.
     */
    object-fit: contain;

    /*
     * Keep the photograph visually centred when dark side areas are
     * necessary.
     */
    object-position: center center;

    background-color: #111111;

    opacity: 1;

    /*
     * No permanent zoom is applied because even a small zoom can crop a
     * photograph that already closely fits the frame.
     */
    transform: none;

    transition:
        opacity 0.6s ease;
}


/*
|--------------------------------------------------------------------------
| Photograph Change State
|--------------------------------------------------------------------------
|
| gallery-showcase.php temporarily applies this class while changing
| images.
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-image-changing {
    opacity: 0;
}


/*
|--------------------------------------------------------------------------
| Pointer Hover
|--------------------------------------------------------------------------
|
| Do not zoom the photograph.
|
| The previous design used scale(), but zooming can reintroduce exactly
| the cropping problem this phase is intended to solve.
|--------------------------------------------------------------------------
*/

@media (hover: hover) and (pointer: fine) {
    .pehucci-gallery-showcase-link:hover
    .pehucci-gallery-showcase-image {
        opacity: 0.96;

        transform: none;
    }
}


/*
|--------------------------------------------------------------------------
| Readability Overlay
|--------------------------------------------------------------------------
|
| The photograph remains visible while the lower gradient provides enough
| contrast for:
|
| LIFE AT PEHUCCI
| Explore Our Gallery
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.04) 45%,
            rgba(0, 0, 0, 0.72) 100%
        );

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| Showcase Caption
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-caption {
    position: absolute;

    left: 50%;
    bottom: 2rem;

    z-index: 2;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width:
        min(
            90%,
            760px
        );

    color: #ffffff;

    text-align: center;

    pointer-events: none;

    text-shadow:
        0 2px 8px
        rgba(
            0,
            0,
            0,
            0.75
        );
}


/*
|--------------------------------------------------------------------------
| Main Showcase Heading
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-caption strong {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            1.9rem,
            4vw,
            3.2rem
        );

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -0.02em;
}


/*
|--------------------------------------------------------------------------
| Small Pehucci Eyebrow
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-eyebrow {
    display: inline-block;

    margin-bottom: 0.45rem;

    color:
        var(
            --pehucci-orange,
            #f7931a
        );

    font-size: 0.82rem;

    font-weight: 900;

    letter-spacing: 0.1em;

    line-height: 1.2;

    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Pause / Resume Control
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-toggle {
    position: absolute;

    right: 1rem;
    bottom: 1rem;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding:
        0.45rem
        0.8rem;

    background:
        rgba(
            0,
            0,
            0,
            0.78
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.72
        );

    border-radius: 0.35rem;

    color: #ffffff;

    font-size: 0.8rem;

    font-weight: 800;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}


/*
|--------------------------------------------------------------------------
| Pause / Resume Hover
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-toggle:hover {
    background-color: #000000;

    border-color: #ffffff;

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Pause / Resume Keyboard Focus
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-toggle:focus-visible {
    outline:
        3px solid
        var(
            --pehucci-orange,
            #f7931a
        );

    outline-offset: 3px;

    background-color: #000000;

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Disabled Reduced-Motion Control
|--------------------------------------------------------------------------
*/

.pehucci-gallery-showcase-toggle:disabled {
    opacity: 0.75;

    cursor: default;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-gallery-showcase-frame {
        height:
            clamp(
                340px,
                50vw,
                480px
            );

        min-height: 340px;
    }

    .pehucci-gallery-showcase-caption {
        bottom: 2rem;

        width: 88%;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
|
| A relatively taller canvas gives portrait-oriented photographs more
| usable screen area.
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {
    .pehucci-gallery-showcase-frame {
        height:
            clamp(
                300px,
                72vw,
                420px
            );

        min-height: 300px;
    }

    .pehucci-gallery-showcase-image {
        width: 100%;
        height: 100%;

        min-height: 0;

        object-fit: contain;
        object-position: center center;
    }

    /*
     * Leave room beneath the caption for the Pause/Resume control.
     */
    .pehucci-gallery-showcase-caption {
        bottom: 4rem;

        width: 90%;
    }

    .pehucci-gallery-showcase-caption strong {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.35rem
            );
    }

    .pehucci-gallery-showcase-eyebrow {
        font-size: 0.75rem;
    }

    .pehucci-gallery-showcase-toggle {
        right: 0.75rem;
        bottom: 0.75rem;

        min-height: 38px;

        padding:
            0.4rem
            0.7rem;
    }
}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {
    .pehucci-gallery-showcase-frame {
        height:
            clamp(
                280px,
                82vw,
                360px
            );

        min-height: 280px;
    }

    .pehucci-gallery-showcase-caption {
        bottom: 3.75rem;
    }

    .pehucci-gallery-showcase-caption strong {
        font-size: 1.65rem;
    }
}


/*
|--------------------------------------------------------------------------
| Reduced Motion Accessibility
|--------------------------------------------------------------------------
|
| Visitors who have disabled animation through their operating system
| should not receive fading or hover animation.
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-gallery-showcase-image {
        transition: none;

        transform: none;
    }

    .pehucci-gallery-showcase-image-changing {
        /*
         * Keep the transition state harmless because JavaScript itself
         * already disables automatic rotation for reduced-motion users.
         */
        transition: none;
    }

    .pehucci-gallery-showcase-link:hover
    .pehucci-gallery-showcase-image {
        opacity: 1;

        transform: none;
    }

    .pehucci-gallery-showcase-toggle {
        transition: none;
    }
}
/*
|--------------------------------------------------------------------------
| PHASE 14G - PRODUCTION FOOTER REDESIGN
|--------------------------------------------------------------------------
|
| PURPOSE:
|
| Creates the final production footer for Pehucci.
|
| DESIGN:
|
| - Dark charity footer.
| - Pehucci globe-and-dove branding.
| - Strong content hierarchy.
| - Quick Links.
| - Support links.
| - Contact information.
| - Optional branded social-media icons.
| - Separate copyright and Exor Designs credit.
|
| IMPORTANT:
|
| This block intentionally appears after older footer styles so these
| production rules become authoritative without requiring risky deletion
| of historical CSS during pre-production.
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Footer Foundation
|--------------------------------------------------------------------------
*/

.pehucci-footer {
    margin: 0;

    background-color: #111111;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );
}


/*
|--------------------------------------------------------------------------
| Main Footer Area
|--------------------------------------------------------------------------
*/

.pehucci-footer-main {
    padding:
        4.5rem
        0
        3.75rem;

    background:
        linear-gradient(
            145deg,
            #151515 0%,
            #0b0b0b 100%
        );
}


/*
|--------------------------------------------------------------------------
| Brand Lockup
|--------------------------------------------------------------------------
*/

.pehucci-footer-brand {
    display: inline-flex;
    align-items: center;

    gap: 1rem;

    max-width: 100%;

    color: #ffffff;

    text-decoration: none;
}

.pehucci-footer-brand:hover {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Footer Logo
|--------------------------------------------------------------------------
*/

.pehucci-footer-logo {
    flex: 0 0 auto;

    display: block;

    width: 78px;
    height: 78px;

    object-fit: cover;

    border-radius: 50%;

    background-color: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(
            255,
            255,
            255,
            0.12
        ),
        0 0.5rem 1.4rem
        rgba(
            0,
            0,
            0,
            0.32
        );
}


/*
|--------------------------------------------------------------------------
| Footer Brand Text
|--------------------------------------------------------------------------
*/

.pehucci-footer-brand-text {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.pehucci-footer-brand-text strong {
    color: #ffffff;

    font-size: 1.6rem;
    font-weight: 850;

    line-height: 1.1;

    letter-spacing: 0.01em;
}

.pehucci-footer-brand-text small {
    margin-top: 0.35rem;

    color:
        rgba(
            255,
            255,
            255,
            0.67
        );

    font-size: 0.85rem;

    line-height: 1.35;
}


/*
|--------------------------------------------------------------------------
| About Summary
|--------------------------------------------------------------------------
*/

.pehucci-footer-summary {
    max-width: 500px;

    margin:
        1.5rem
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 0.98rem;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Column Headings
|--------------------------------------------------------------------------
*/

.pehucci-footer-heading,
.pehucci-footer-follow-title {
    position: relative;

    margin:
        0
        0
        1.4rem;

    padding-bottom: 0.65rem;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.25;
}

.pehucci-footer-heading::after,
.pehucci-footer-follow-title::after {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;
    height: 3px;

    background-color:
        var(
            --pehucci-orange,
            #f7931a
        );

    border-radius: 99px;

    content: "";
}


/*
|--------------------------------------------------------------------------
| Footer Navigation Lists
|--------------------------------------------------------------------------
*/

.pehucci-footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.pehucci-footer-links li {
    margin-bottom: 0.65rem;
}

.pehucci-footer-links a {
    display: inline-block;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 0.94rem;

    text-decoration: none;

    transition:
        color 0.15s ease,
        transform 0.15s ease;
}

.pehucci-footer-links a:hover {
    color:
        var(
            --pehucci-orange,
            #f7931a
        );

    transform: translateX(3px);
}


/*
|--------------------------------------------------------------------------
| Footer Donate Button
|--------------------------------------------------------------------------
*/

.pehucci-footer-donate {
    margin-top: 1rem;

    padding:
        0.65rem
        1rem;

    background-color:
        var(
            --pehucci-orange,
            #f7931a
        );

    border:
        2px solid
        var(
            --pehucci-orange,
            #f7931a
        );

    color: #111111;

    font-weight: 800;

    border-radius: 0.35rem;
}

.pehucci-footer-donate:hover {
    background-color:
        var(
            --pehucci-orange-dark,
            #d97706
        );

    border-color:
        var(
            --pehucci-orange-dark,
            #d97706
        );

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Contact
|--------------------------------------------------------------------------
*/

.pehucci-footer-contact {
    display: flex;
    flex-direction: column;

    gap: 0.35rem;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    font-style: normal;

    line-height: 1.6;
}

.pehucci-footer-contact strong {
    margin-bottom: 0.25rem;

    color: #ffffff;

    font-weight: 750;
}

.pehucci-footer-contact a {
    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    text-decoration: none;
}

.pehucci-footer-contact a:hover {
    color:
        var(
            --pehucci-orange,
            #f7931a
        );
}

.pehucci-footer-note {
    margin:
        1.2rem
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.58
        );

    font-size: 0.86rem;

    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Follow Pehucci
|--------------------------------------------------------------------------
*/

.pehucci-footer-follow {
    margin-top: 2rem;
}

.pehucci-footer-follow-title {
    width: fit-content;

    margin-bottom: 1rem;
}


/*
|--------------------------------------------------------------------------
| Social Icon Container
|--------------------------------------------------------------------------
*/

.pehucci-footer-socials {
    display: flex;
    flex-wrap: wrap;

    gap: 0.7rem;
}


/*
|--------------------------------------------------------------------------
| Shared Social Icon Button
|--------------------------------------------------------------------------
*/

.pehucci-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    box-shadow:
        0 0.35rem 0.9rem
        rgba(
            0,
            0,
            0,
            0.25
        );

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.pehucci-footer-social svg {
    display: block;

    width: 22px;
    height: 22px;

    fill: currentColor;

    stroke: currentColor;

    stroke-width: 1.5;
}

.pehucci-footer-social:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 0.55rem 1.1rem
        rgba(
            0,
            0,
            0,
            0.35
        );
}


/*
|--------------------------------------------------------------------------
| Facebook
|--------------------------------------------------------------------------
*/

.pehucci-footer-social-facebook {
    background-color: #1877f2;
}


/*
|--------------------------------------------------------------------------
| Instagram
|--------------------------------------------------------------------------
*/

.pehucci-footer-social-instagram {
    background:
        radial-gradient(
            circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285aeb 90%
        );
}


/*
|--------------------------------------------------------------------------
| YouTube
|--------------------------------------------------------------------------
*/

.pehucci-footer-social-youtube {
    background-color: #ff0000;
}

/*
 * The internal triangle needs to remain visible against the red button.
 */
.pehucci-footer-social-youtube
.pehucci-social-icon-cutout {
    fill: #ffffff;

    stroke: #ffffff;
}


/*
|--------------------------------------------------------------------------
| TikTok
|--------------------------------------------------------------------------
*/

.pehucci-footer-social-tiktok {
    background-color: #000000;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.28
        );
}


/*
|--------------------------------------------------------------------------
| Bottom Legal Bar
|--------------------------------------------------------------------------
*/

.pehucci-footer-bottom {
    padding:
        1.25rem
        0;

    background-color: #050505;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );
}

.pehucci-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 0.82rem;

    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| Exor Designs Credit
|--------------------------------------------------------------------------
*/

.pehucci-footer-designer {
    flex: 0 0 auto;

    color:
        rgba(
            255,
            255,
            255,
            0.48
        );
}

.pehucci-footer-designer strong,
.pehucci-footer-designer a {
    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-weight: 700;

    text-decoration: none;
}

.pehucci-footer-designer a:hover {
    color:
        var(
            --pehucci-orange,
            #f7931a
        );
}


/*
|--------------------------------------------------------------------------
| Footer Keyboard Focus
|--------------------------------------------------------------------------
*/

.pehucci-footer a:focus-visible,
.pehucci-footer button:focus-visible {
    outline:
        3px solid
        var(
            --pehucci-orange,
            #f7931a
        );

    outline-offset: 3px;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .pehucci-footer-main {
        padding:
            3.75rem
            0
            3rem;
    }

    .pehucci-footer-logo {
        width: 70px;
        height: 70px;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {
    .pehucci-footer-main {
        padding:
            3rem
            0
            2.5rem;
    }

    .pehucci-footer-logo {
        width: 64px;
        height: 64px;
    }

    .pehucci-footer-brand-text strong {
        font-size: 1.35rem;
    }

    .pehucci-footer-bottom-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 0.55rem;
    }

    .pehucci-footer-designer {
        flex: none;
    }
}


/*
|--------------------------------------------------------------------------
| Very Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {
    .pehucci-footer-brand {
        align-items: flex-start;
    }

    .pehucci-footer-logo {
        width: 56px;
        height: 56px;
    }

    .pehucci-footer-brand-text strong {
        font-size: 1.2rem;
    }

    .pehucci-footer-summary {
        font-size: 0.92rem;
    }
}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .pehucci-footer-links a,
    .pehucci-footer-social {
        transition: none;
    }

    .pehucci-footer-links a:hover,
    .pehucci-footer-social:hover {
        transform: none;
    }
}