/* Peace n' Pilates - Vibrant Professional Afro-fusion Version (Reverted & Enhanced) */

:root {
    --deep-green: #1B3022;
    --terracotta: #C15E34;
    --gold: #D4AF37;
    --blush-pink: #F5D6CB;
    --cream: #F9F7F2;
    --white: #FFFFFF;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--cream);
    color: var(--deep-green);
    font-family: 'Inter', sans-serif; /* Clean body font */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Sophisticated heading font */
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-weight: 700;
}

/* Animated USA Flag */
.sl-flag-animated {
    width: 60px;
    height: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: flag-wave 3s ease-in-out infinite;
    transform-origin: left center;
}

.flag-stripe {
    flex: 1;
    width: 100%;
}

/* USA Colors for stripes if used */
.flag-stripe:nth-child(1) { background-color: #BF0A30; } /* Red */
.flag-stripe:nth-child(2) { background-color: #FFFFFF; } /* White */
.flag-stripe:nth-child(3) { background-color: #002868; } /* Blue */

@keyframes flag-wave {
    0%, 100% { transform: scale(1) rotate(0deg) skew(0deg); }
    25% { transform: scale(1.05) rotate(2deg) skew(2deg); }
    75% { transform: scale(1.05) rotate(-2deg) skew(-2deg); }
}

/* Alpine.js cloak */
[x-cloak] { 
    display: none !important; 
}

/* Page Transition Effects */
.page-transition-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.loaded .page-transition-fade {
    opacity: 1;
}

.pink-glow {
    box-shadow: 0 15px 35px -5px rgba(245, 214, 203, 0.6);
}

.bg-deep-green { background-color: var(--deep-green); }
.text-deep-green { color: var(--deep-green); }
.bg-terracotta { background-color: var(--terracotta); }
.text-terracotta { color: var(--terracotta); }
.bg-gold { background-color: var(--gold); }
.text-gold { color: var(--gold); }
.bg-pink { background-color: var(--blush-pink); }
.text-pink { color: var(--blush-pink); }

/* Sparkling Animation for USA Leadership */
.sparkle-image {
    position: relative;
    overflow: hidden;
}

.sparkle-image::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 45%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0.1) 55%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: sparkle 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes sparkle {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* Floating Animation for Icons */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Enhanced Testimonials */
.testimonial-track {
    display: flex;
    gap: 2rem;
    animation: testimonial-scroll 40s linear infinite;
    width: max-content;
}

@keyframes testimonial-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); }
}

.testimonial-card-v2 {
    background: white;
    padding: 3rem;
    width: 450px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border-bottom: 4px solid var(--blush-pink);
    transition: var(--transition-smooth);
}

.testimonial-card-v2:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--gold);
}

.pink-glow {
    box-shadow: 0 10px 30px -5px rgba(245, 214, 203, 0.5);
}

/* New Mission Icon Wrappers */
.mission-icon-box {
    width: 60px;
    height: 60px;
    background: var(--blush-pink);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--deep-green);
    font-size: 1.5rem;
}

/* Buttons - Reverted to Vibrant Round Style */
.btn-standard {
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--terracotta);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(193, 94, 52, 0.3);
}

.btn-primary:hover {
    background: var(--deep-green);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.96);
}

/* Glassmorphism & Patterns */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.afro-pattern {
    background-image: radial-gradient(var(--terracotta) 0.5px, transparent 0.5px), radial-gradient(var(--terracotta) 0.5px, var(--cream) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
}

/* Professional Standard Logo Ring */
.logo-standard-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* USA Flag Rotating Ring (Only for Top Left) */
.sl-flag-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #BF0A30; /* Red */
    border-right-color: #FFFFFF; /* White */
    border-bottom-color: #002868; /* Blue */
    border-left-color: #FFFFFF; /* White */
    animation: rotate-standard 4s linear infinite;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Nav specific sizing */
nav .logo-standard-container {
    width: 60px;
    height: 60px;
}

nav .logo-inner-circle {
    width: 45px;
    height: 45px;
}

.standard-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    border-top-color: transparent;
    animation: rotate-standard 8s linear infinite;
    z-index: 1;
}

@keyframes rotate-standard {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-inner-circle {
    position: relative;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Stats Ribbon - Nice Design */
.stats-ribbon {
    background: var(--deep-green);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.stat-item {
    position: relative;
    padding: 0 2rem;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-item:last-child::after { display: none; }

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-card-v3 {
    min-width: 450px;
    background: white;
    padding: 3rem;
    margin: 0 1.5rem;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px border-cream;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-pulse {
    animation: profilePulse 3s infinite ease-in-out;
}

@keyframes profilePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(186,156,114,0.2); }
}

.testimonial-card-v3:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Service Card V3 */
.service-card-v3 {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-v3:hover {
    transform: translateY(-5px);
}

/* Stats Ribbon Redesign */
.stats-ribbon {
    background: var(--deep-green);
    padding: 6rem 0;
    color: white;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-weight: 800;
}


/* Outfit Card Styling */
.outfit-card {
    position: relative;
    overflow: hidden;
    background: white;
    transition: var(--transition-smooth);
}

.outfit-card img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.outfit-card:hover img {
    transform: scale(1.05);
}

.outfit-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gold);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
}

/* Pop-in Animation */
.pop-in {
    animation: pop-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-in {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* Unique Service Icon Style */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--deep-green);
    color: var(--white);
    transform: rotate(10deg);
}


/* Hero Video Display */
.video-hero-container {
    height: 100vh; /* Full screen for the video hero */
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darker for better text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Page Transition Effects */
.page-transition-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.loaded .page-transition-fade {
    opacity: 1;
}

/* Animations */
.reveal-standard {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-standard.active {
    opacity: 1;
    transform: translateY(0);
}

/* New Journey Section Styles */
.journey-card {
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.1);
}

.logo-round {
    border-radius: 50%;
    object-fit: cover;
}

/* Footer - Vibrant */
.footer-standard {
    background: var(--deep-green);
    color: var(--white);
    padding: 100px 0 50px;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* Floating Action Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 50;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    color: white;
}


