/**
 * Fitness Coach Pro Theme - Luxury Athletic Footer Stylesheet
 * 
 * Includes:
 *  - Dark Cover Background & Glow Overlay
 *  - Motivation Top Banner & White CTA Button
 *  - 4-Column Responsive Grid Layout
 *  - Universal Cairo Titles & Material Symbols Icons protection
 *  - WordPress Nav Menu & Widget Custom Support
 *  - Full Screen Breakpoint Media Queries (Desktop, Tablet, Mobile)
 *  - Shared Legal & Privacy Glassmorphic Modal Popups
 * 
 * @package FitnessCoachProTheme
 * @version 1.0.0
 */

/* ─────────────────────────────────────────────
   Luxury Athletic Dark Footer Layout (.fcp-luxury-footer)
   ───────────────────────────────────────────── */
.fcp-luxury-footer {
    position: relative;
    background: #080706 url('https://images.unsplash.com/photo-1517838277536-f5f99be501cd?q=80&w=1920&auto=format&fit=crop') center center / cover no-repeat;
    color: #E2DFD8;
    font-family: var(--font-ui, 'Outfit', 'Cairo', sans-serif);
    border-top: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-top: var(--section-gap, 60px);
}

/* Dark Cover Overlay */
.fcp-luxury-footer .fcp-footer-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 70%),
        linear-gradient(180deg, rgba(8, 7, 6, 0.90) 0%, rgba(12, 11, 10, 0.97) 100%);
    pointer-events: none;
    z-index: 1;
}

.fcp-luxury-footer > * {
    position: relative;
    z-index: 2;
}

.fcp-footer-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Top Motivation Banner */
.fcp-footer-top-banner {
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding: 24px 0;
    background: rgba(197, 160, 89, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fcp-footer-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.fcp-footer-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 8px 18px;
    border-radius: 999px;
    color: #C5A059;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.fcp-footer-banner-badge span.material-symbols-outlined {
    font-size: 20px !important;
    color: #C5A059;
}

.fcp-footer-cta-btn,
.fcp-footer-cta-btn * {
    color: #ffffff !important;
}

.fcp-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #C5A059 0%, #A68042 100%);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fcp-footer-cta-btn .material-symbols-outlined {
    font-size: 20px !important;
    color: #ffffff !important;
}

.fcp-footer-cta-btn:hover,
.fcp-footer-cta-btn:hover * {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(197, 160, 89, 0.45);
    color: #ffffff !important;
}

/* Main Grid Layout */
.fcp-footer-main {
    padding: 56px 0 40px;
}

.fcp-footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.1fr 1.4fr;
    gap: 40px;
}

/* Smooth Focus & Liquid Blur Effect for Footer Columns */
.fcp-footer-col {
    transition: filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: filter, opacity, transform;
}

@media (hover: hover) and (pointer: fine) {
    /* Soften non-hovered columns when mouse enters any column in the footer grid */
    .fcp-footer-grid:hover .fcp-footer-col:not(:hover) {
        filter: blur(4px);
        opacity: 0.45;
        transform: scale(0.985);
    }

    /* Elevate and focus the hovered column with pristine clarity */
    .fcp-footer-grid .fcp-footer-col:hover {
        filter: blur(0px);
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* WordPress Footer Widget & Nav Menu Styling */
.fcp-footer-widget {
    margin-bottom: 24px;
}

.fcp-footer-widget:last-child {
    margin-bottom: 0;
}

.fcp-footer-widget ul,
.fcp-footer-widget .menu,
.fcp-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fcp-footer-widget ul li a,
.fcp-footer-widget .menu li a,
.fcp-footer-menu li a {
    font-family: 'Cairo', sans-serif !important;
    color: #A6A095;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

/* Elegant Athletic Gold Diamond Bullet Icon */
.fcp-footer-widget ul li a::before,
.fcp-footer-widget .menu li a::before,
.fcp-footer-menu li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #C5A059;
    border-radius: 1.5px;
    transform: rotate(45deg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.75;
    box-shadow: 0 0 6px rgba(197, 160, 89, 0.4);
    flex-shrink: 0;
}

.fcp-footer-widget ul li a:hover,
.fcp-footer-widget .menu li a:hover,
.fcp-footer-menu li a:hover {
    color: #C5A059;
    transform: translateX(-4px);
}

body:not(.rtl) .fcp-footer-widget ul li a:hover,
body:not(.rtl) .fcp-footer-widget .menu li a:hover,
body:not(.rtl) .fcp-footer-menu li a:hover {
    transform: translateX(4px);
}

.fcp-footer-widget ul li a:hover::before,
.fcp-footer-widget .menu li a:hover::before,
.fcp-footer-menu li a:hover::before {
    opacity: 1;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.9), 0 0 4px #ffffff;
    transform: rotate(45deg) scale(1.35);
}

.fcp-footer-widget p,
.fcp-footer-widget .textwidget {
    font-size: 13px;
    line-height: 1.75;
    color: #A6A095;
    margin: 0 0 12px 0;
}

.fcp-footer-widget select,
.fcp-footer-widget input {
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: #E2DFD8;
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
}

/* Universal Section & Menu Titles Styling inside Luxury Footer */
.fcp-luxury-footer .fcp-footer-col-title,
.fcp-luxury-footer .fcp-footer-col-title *:not([class*='material-symbols']),
.fcp-luxury-footer .fcp-footer-brand-name,
.fcp-luxury-footer .fcp-footer-brand-name *:not([class*='material-symbols']),
.fcp-luxury-footer .widgettitle,
.fcp-luxury-footer .widgettitle *:not([class*='material-symbols']),
.fcp-luxury-footer .widget-title,
.fcp-luxury-footer .widget-title *:not([class*='material-symbols']) {
    font-family: 'Cairo', sans-serif !important;
    color: #C5A059 !important;
}

.fcp-luxury-footer .material-symbols-outlined,
.fcp-luxury-footer [class*='material-symbols'] {
    font-family: var(--font-icons, 'Material Symbols Outlined') !important;
    color: #C5A059 !important;
}

.fcp-footer-col-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.fcp-footer-col-title .material-symbols-outlined {
    font-size: 20px !important;
}

/* Brand Column */
.fcp-footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.fcp-footer-brand-emblem {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0.05) 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fcp-footer-brand-emblem .material-symbols-outlined {
    font-size: 24px !important;
    color: #C5A059 !important;
}

.fcp-footer-brand-name {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.fcp-footer-brand-subtitle {
    font-size: 12px;
    color: #A6A095;
    display: block;
}

.fcp-footer-bio {
    font-size: 13px;
    line-height: 1.75;
    color: #A6A095;
    margin: 0 0 20px 0;
}

.fcp-footer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #10B981;
}

.fcp-status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
}

.fcp-status-dot.pulse {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: fcp-dot-pulse 2s infinite;
}

@keyframes fcp-dot-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}



/* Contact Column */
.fcp-footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.fcp-footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #A6A095;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s ease;
}

.fcp-footer-contact-row:not(.static-row):hover {
    color: #C5A059;
}

.fcp-footer-contact-row .material-symbols-outlined {
    font-size: 18px !important;
    color: #C5A059;
    flex-shrink: 0;
}

.fcp-footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fcp-footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: #C5A059;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fcp-footer-social-btn:hover {
    background: #C5A059;
    border-color: #C5A059;
    color: #0F0E0D;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

/* Bottom Bar */
.fcp-footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.12);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.fcp-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.fcp-footer-copyright {
    font-size: 12px;
    color: #8C867B;
}

.fcp-footer-copyright .gold-text {
    color: #C5A059;
    font-weight: 600;
}

.fcp-footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fcp-footer-legal-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #8C867B;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease;
}

.fcp-footer-legal-btn:hover {
    color: #C5A059;
}

.fcp-footer-legal-btn .material-symbols-outlined {
    font-size: 15px !important;
    color: #C5A059;
}

.fcp-back-to-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #C5A059;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fcp-back-to-top-btn:hover {
    background: #C5A059;
    color: #0F0E0D;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.fcp-back-to-top-btn .material-symbols-outlined {
    font-size: 18px !important;
}

/* Comprehensive Mobile & Tablet Responsive Enhancements for Luxury Footer */
@media (max-width: 991px) {
    .fcp-footer-main {
        padding: 44px 0 32px;
    }
    .fcp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .fcp-footer-brand-col {
        grid-column: span 2;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    }
}

@media (max-width: 768px) {
    .fcp-footer-top-banner {
        padding: 18px 0;
    }
    .fcp-footer-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .fcp-footer-banner-badge {
        font-size: 13px;
        padding: 6px 14px;
        justify-content: center;
    }
    .fcp-footer-banner-cta {
        width: 100%;
    }
    .fcp-footer-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    .fcp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .fcp-footer-bottom-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .fcp-luxury-footer {
        margin-top: 40px;
    }
    .fcp-footer-main {
        padding: 36px 0 24px;
    }
    .fcp-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .fcp-footer-brand-col {
        grid-column: span 1;
        padding-bottom: 20px;
    }
    .fcp-footer-col {
        border-bottom: 1px solid rgba(197, 160, 89, 0.08);
        padding-bottom: 20px;
    }
    .fcp-footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .fcp-footer-brand-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .fcp-footer-brand-emblem {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .fcp-footer-brand-name {
        font-size: 17px;
    }
    .fcp-footer-col-title {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .fcp-footer-social-grid {
        gap: 10px;
    }
    .fcp-footer-social-btn {
        width: 40px;
        height: 40px;
    }
    .fcp-footer-copyright {
        font-size: 11px;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .fcp-footer-container {
        width: 95%;
        padding: 0 10px;
    }
    .fcp-footer-banner-badge {
        font-size: 11px;
    }
    .fcp-footer-brand-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .fcp-footer-brand-name {
        font-size: 16px;
    }
    .fcp-footer-bio {
        font-size: 12px;
    }
    .fcp-footer-legal-btn {
        font-size: 11px;
    }
}

/* ─── Legal & Privacy Shared Popup Modals CSS ─── */
.fcp-vsl-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;

    /* Color Tokens */
    --fcp-popup-bg: #141312;
    --fcp-popup-border: rgba(197, 160, 89, 0.3);
    --fcp-popup-title: #C5A059;
    --fcp-popup-close-bg: rgba(197, 160, 89, 0.1);
    --fcp-popup-close-hover-bg: rgba(197, 160, 89, 0.25);
    --fcp-popup-text: #D5D0C6;
    --fcp-popup-heading: #C5A059;
    --fcp-popup-scroll-thumb: rgba(197, 160, 89, 0.4);
}

.fcp-vsl-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.fcp-vsl-popup {
    background: var(--fcp-popup-bg);
    border: 1px solid var(--fcp-popup-border);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(197, 160, 89, 0.15);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.fcp-vsl-popup-overlay.active .fcp-vsl-popup {
    transform: translateY(0) scale(1);
}

.fcp-vsl-popup__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--fcp-popup-border);
    position: relative;
    background: rgba(197, 160, 89, 0.04);
}

.fcp-vsl-popup__icon {
    font-size: 28px !important;
    color: #C5A059;
    flex-shrink: 0;
}

.fcp-vsl-popup__title,
.fcp-vsl-popup__header h2,
h2.fcp-vsl-popup__title {
    font-family: 'Cairo', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #C5A059 !important;
    margin: 0 !important;
    flex: 1;
    text-align: right;
}

.fcp-vsl-popup__close {
    position: absolute;
    top: 18px;
    left: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fcp-popup-close-bg);
    border: 1px solid var(--fcp-popup-border);
    color: #C5A059;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.fcp-vsl-popup__close:hover {
    background: var(--fcp-popup-close-hover-bg);
    color: #FFF;
    transform: scale(1.1);
}

.fcp-vsl-popup__body {
    padding: 28px 32px 36px;
    overflow-y: auto;
    font-family: 'Cairo', sans-serif !important;
    font-size: 15px;
    line-height: 1.85;
    color: var(--fcp-popup-text);
    scrollbar-width: thin;
    scrollbar-color: var(--fcp-popup-scroll-thumb) transparent;
    text-align: right;
    direction: rtl;
}

.fcp-popup-heading,
.fcp-vsl-popup__body h1,
.fcp-vsl-popup__body h2,
.fcp-vsl-popup__body h3,
.fcp-vsl-popup__body h4,
.fcp-vsl-popup__body h5,
.fcp-vsl-popup__body h6,
.fcp-vsl-popup__body :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Cairo', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #C5A059 !important;
    margin: 28px 0 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--fcp-popup-border) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.4 !important;
    direction: rtl !important;
}

.fcp-popup-heading:first-child {
    margin-top: 0 !important;
}

.fcp-popup-heading__icon {
    font-size: 20px !important;
    color: #C5A059 !important;
    opacity: 0.9;
    flex-shrink: 0;
}

.fcp-popup-gold,
.fcp-vsl-popup__body strong,
.fcp-vsl-popup__body b {
    font-family: 'Cairo', sans-serif !important;
    color: #C5A059 !important;
    font-weight: 700 !important;
}

.fcp-vsl-popup__body p {
    margin-bottom: 14px;
}

.fcp-vsl-popup__body::-webkit-scrollbar {
    width: 6px;
}

.fcp-vsl-popup__body::-webkit-scrollbar-track {
    background: transparent;
}

.fcp-vsl-popup__body::-webkit-scrollbar-thumb {
    background: var(--fcp-popup-scroll-thumb);
    border-radius: 4px;
}

.fcp-vsl-popup__body::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 160, 89, 0.6);
}

@media (max-width: 600px) {
    .fcp-vsl-popup {
        max-height: 90vh;
        border-radius: 14px;
    }
    .fcp-vsl-popup__header {
        padding: 18px 20px 14px;
    }
    .fcp-vsl-popup__title {
        font-size: 18px;
    }
    .fcp-vsl-popup__body {
        padding: 20px 20px 24px;
        font-size: 14px;
    }
    .fcp-vsl-popup__close {
        top: 14px;
        left: 14px;
    }
}

body.fcp-popup-open {
    overflow: hidden !important;
}
