/* W Exclusive Wellness & Fitness - Custom CSS */
:root {
    --accent: #c0c0c0;
    /* Chrome / Silver */
    --accent-glow: rgba(192, 192, 192, 0.3);
    --bg-dark: #080808;
    --bg-card: #121212;
    --text-main: #ffffff;
    --text-gray: #a0a0a0;
    --brand-red: #d82b2b;
    /* Subtle pop red from socials */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
}

.text-accent {
    color: var(--accent);
}

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

.border-accent {
    border-color: var(--accent);
}

/* 
 * Elegant Animations 
 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.opacity-0 {
    opacity: 0;
}

@keyframes pulseBg {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-pulse-bg {
    animation: pulseBg 20s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Bidirectional Fade-In Up (Optimized for Mobile) */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.silver-border-hover {
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.4s ease;
}

.silver-border-hover:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.metallic-text {
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 50%, #808080 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Swiper Pagination (Silver Theme) */
.swiper-pagination-bullet {
    background: rgba(192, 192, 192, 0.3) !important;
    opacity: 1 !important;
    width: 6px !important;
    height: 6px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 24px !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5) !important;
}

/* Premium Silver Divider */
.silver-divider {
    height: 1px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(90deg,
            rgba(192, 192, 192, 0) 0%,
            rgba(192, 192, 192, 0.5) 20%,
            rgba(192, 192, 192, 1) 50%,
            rgba(192, 192, 192, 0.5) 80%,
            rgba(192, 192, 192, 0) 100%);
    position: relative;
    opacity: 0.4;
}

.silver-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 2px;
    background: white;
    filter: blur(4px);
    opacity: 0.6;
}

/* Mobile Footer Centering */
@media (max-width: 1023px) {
    footer .grid {
        text-align: center;
    }

    footer .grid>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .grid>div p {
        margin-left: auto;
        margin-right: auto;
    }

    footer .grid>div .flex.gap-4 {
        justify-content: center;
    }

    /* Keep the contact and hours content centered as a block but text-aligned appropriately if needed */
    footer .grid>div .font-sans {
        width: 100%;
        max-width: 350px;
        text-align: center;
    }

    /* Exceptions for flex rows in Hours */
    footer .grid>div .flex.justify-between {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    footer .flex.gap-4 a {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    footer .flex.gap-4 i {
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
    }
}