/* Custom CSS for Reformer Studio */

/* CSS Variables - Natural Reformer Palette inspired by authentic studio photos */
:root {
    --primary-color: #1A1A1A;
    --primary-dark: #111111;
    --secondary-color: #8B6F3E;
    --accent-color: #D4A574;
    --warm-beige: #F0E6D2;
    --soft-gray: #E8E0D0;
    --light-gray: #F8F4EC;
    --charcoal: #1A1A1A;
    --cream: #F5F0E8;
    --wood-tone: #C4A57B;
    --warm-brown: #8B6F3E;
    --text-dark: #1A1A1A;
    --text-muted: #5A4A3A;
    --white: #FFFFFF;
    --light-beige: #F8F4EC;
    --border-color: #E0D5C7;
    --shadow: 0 2px 20px rgba(26, 26, 26, 0.06);
    --shadow-lg: 0 8px 30px rgba(26, 26, 26, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Compact spacing system */
    --space-section: clamp(16px, 2.2vh, 28px);
    --space-section-lg: clamp(20px, 2.8vh, 36px);
    --space-stack: clamp(10px, 1.6vh, 20px);
}

/* Utility Classes */
.text-accent {
    color: var(--accent-color) !important;
}

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

.btn-accent {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
}

.btn-accent:hover {
    background-color: var(--wood-tone) !important;
    border-color: var(--wood-tone) !important;
    color: var(--text-dark) !important;
}

/* WhatsApp Fixed Button - Harmonized with Site Palette */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(139, 111, 62, 0.25);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.whatsapp-float i {
    margin: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 111, 62, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 111, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 111, 62, 0);
    }
}

/* Exit Intent Pop-up */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
}

.exit-popup-close:hover {
    color: #000;
}

/* Urgency Badge */
.urgency-badge {
    background: linear-gradient(45deg, var(--accent-color), var(--wood-tone));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Conversion Optimized Buttons */
.btn-conversion {
    background: linear-gradient(45deg, var(--accent-color), var(--wood-tone));
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-conversion:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    color: var(--text-dark);
}

/* Social Proof Elements */
.social-proof {
    background: linear-gradient(135deg, var(--light-beige), var(--warm-beige));
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

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

/* Global Styles with Modern Animations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    font-weight: 300;
    overflow-x: hidden;
}

/* Scroll indicator for hero section */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Video overlay sections */
.studio-info, .additional-benefits, .gallery-preview, .testimonials, .faq, .contact-social {
    position: relative;
    z-index: 10;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    margin: 0;
    padding-block: var(--space-section) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Compact spacing overrides for homepage */
body.compact .py-6 {
    padding-block: 2rem !important;
}

body.compact h2, body.compact h3 {
    margin-bottom: clamp(8px, 1.4vh, 16px);
}

body.compact .mb-5 {
    margin-bottom: 1.25rem !important;
}

body.compact .lead {
    margin-bottom: 1rem;
}

/* First section after hero needs minimal top spacing */
body.compact .after-hero {
    padding-block-start: clamp(8px, 1.2vh, 14px) !important;
}

/* HERO HEIGHT FIX - Reduce from 100vh to ~72vh so content appears sooner */
/* Override Bootstrap .min-vh-100 directly with fallbacks */
body.compact .min-vh-100 {
    min-height: 70vh !important;
    min-height: 70dvh !important;
}

/* Make hero section control height and clip children */
body.compact .hero-section {
    min-height: 70vh;
    min-height: 70dvh;
    overflow: hidden;
    max-height: 70vh;
    max-height: 70dvh;
}

/* Size children to section height instead of viewport */
body.compact .hero-section video,
body.compact .hero-section .hero-elegant-bg,
body.compact .hero-section .floating-elements {
    position: absolute !important;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
}

body.compact .hero-section video {
    object-fit: cover;
}

body.compact .hero-subtitle {
    margin-bottom: 0.75rem !important;
}

body.compact .hero-section .mb-5 {
    margin-bottom: 1rem !important;
}

/* Location section improvements */
.location-actions {
    max-width: 400px;
    margin: 0 auto;
}

.location-actions .btn {
    min-height: 45px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-actions .btn:hover {
    transform: translateY(-2px);
}

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Add stronger overlay for readability */
.studio-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.additional-benefits {
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
}

.gallery-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.testimonials {
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
}

.faq {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.contact-social {
    background: transparent;
    backdrop-filter: blur(8px);
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

.contact-social .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.contact-social .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-2px);
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.display-4, .display-5 {
    font-weight: 100;
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

.lead {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Modern Button Styles */
.btn {
    border: none;
    padding: 12px 24px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 0;
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 0;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Custom Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Navigation with Zara Home Style */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    transition: var(--transition-smooth);
}

.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--secondary-color) !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: -2px;
    transition: var(--transition-smooth);
}

.navbar-logo {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
    filter: brightness(0) saturate(100%) invert(7%) sepia(8%) saturate(2466%) hue-rotate(180deg) brightness(95%) contrast(95%);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-text {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-dark) !important;
    margin-left: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent !important;
}

.navbar-brand:hover .brand-text {
    color: var(--secondary-color) !important;
}

.navbar-brand:hover .brand-subtitle {
    color: var(--text-dark) !important;
}

/* Força remoção completa de qualquer logo ou imagem */
.navbar-brand img,
.navbar-logo,
img[src*="logo"] {
    display: none !important;
    visibility: hidden !important;
}

/* Força estilo limpo da brand */
.navbar-brand,
.navbar-brand *,
.brand-text,
.brand-subtitle {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 300;
    margin: 0 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-smooth);
    padding: 0.5rem 0 !important;
    background: none !important;
    border-radius: 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    padding-top: 120px;
    margin-top: 80px;
}

/* Modern Hero Section with Video Background */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background Styles - FULL PAGE BACKGROUND */
.hero-section {
    position: relative !important;
    height: 100vh !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

.hero-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

.hero-video {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    object-fit: cover !important;
    z-index: -1 !important;
    display: block !important;
}

.hero-video-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Ensure fallback elements also follow same positioning */
.hero-elegant-bg, .floating-elements {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important;
}

#heroFallbackImage {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

/* Hero Content Styles with Video */
.hero-section .container {
    z-index: 10;
    position: relative;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.7s both;
    backdrop-filter: blur(10px);
}

/* Add scroll indicator to hero */
.hero-section::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    z-index: 100;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-arrow {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-arrow:hover {
    color: white;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Logo Showcase Section */
.logo-showcase {
    padding: 4rem 0;
}

.logo-display {
    display: inline-block;
    padding: 2rem;
    border-radius: 20px;
    background: transparent;
    transition: var(--transition-smooth);
}

.logo-display:hover {
    transform: translateY(-5px) scale(1.05);
}

.logo-display:hover .logo-main {
    filter: brightness(0) saturate(100%) invert(45%) sepia(15%) saturate(1645%) hue-rotate(21deg) brightness(94%) contrast(91%);
}

.logo-main {
    max-width: 350px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(7%) sepia(8%) saturate(2466%) hue-rotate(180deg) brightness(95%) contrast(95%);
    transition: var(--transition-smooth);
}

/* Mobile Responsiveness for Video */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .logo-main {
        max-width: 280px;
    }
    
    .brand-text {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
}

.hero-image,
.founder-image,
.founder-image-large,
.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--cream) 100%);
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1.2s ease forwards;
    animation-delay: 0.6s;
}

.hero-image img,
.founder-image img,
.founder-image-large img {
    transition: var(--transition-smooth);
    width: 100%;
    height: auto;
}

.hero-image:hover img,
.founder-image:hover img,
.founder-image-large:hover img {
    transform: scale(1.05);
}

/* Modern Animation Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-gray) 100%);
    border-radius: 20px;
}

.founder-image-large .placeholder-image {
    min-height: 400px;
}

/* Countdown Section */
.countdown-section {
    background-color: var(--light-gray);
}

.countdown-item {
    padding: 1rem;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

/* Benefits Section */
.benefit-card,
.value-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Service Cards */
.service-card {
    padding: 2.5rem;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-price {
    padding: 1rem;
    background-color: var(--accent-color);
    border-radius: 15px;
    margin-top: auto;
}

/* Pricing Cards */
.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Team Cards */
.team-card {
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
}

/* Modern Gallery Styles */
.gallery-filters {
    margin-bottom: 3rem;
}

.gallery-filters .btn {
    margin: 0.25rem;
    border-radius: 0;
    padding: 0.8rem 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.gallery-filters .btn.active,
.gallery-filters .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.gallery-card:nth-child(1) { animation-delay: 0.1s; }
.gallery-card:nth-child(2) { animation-delay: 0.2s; }
.gallery-card:nth-child(3) { animation-delay: 0.3s; }
.gallery-card:nth-child(4) { animation-delay: 0.4s; }
.gallery-card:nth-child(5) { animation-delay: 0.5s; }
.gallery-card:nth-child(6) { animation-delay: 0.6s; }

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.gallery-placeholder .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 155, 163, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-placeholder:hover .overlay {
    opacity: 1;
}

.gallery-info {
    padding: 1rem;
}

.gallery-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

/* Modern Contact Styles */
.contact-card {
    padding: 3rem 2rem;
    border-radius: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    height: 100%;
    border-left: 3px solid var(--secondary-color);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 155, 163, 0.25);
}

.map-embed iframe {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Offer Cards */
.offer-card {
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--white) 100%);
    border: 2px solid var(--primary-light);
    position: relative;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Schedule and Booking Embeds */
.calendar-embed,
.booking-embed {
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.embed-placeholder {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-gray) 100%);
    border-radius: 20px;
}

.schedule-item,
.hours-card {
    padding: 1.5rem;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.schedule-item:hover,
.hours-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background-color: var(--white);
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1.5rem;
    border-radius: 15px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 155, 163, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-decoration: none;
}

.language-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

.language-btn.active {
    opacity: 1;
    background: rgba(212, 165, 116, 0.2);
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.3);
}

.language-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.5);
}

/* Responsive language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
        gap: 6px;
    }
    
    .language-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--text-dark) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .countdown-display .col-3 {
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4,
    .display-5 {
        font-size: 2rem;
    }
    
    .gallery-placeholder {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .page-header {
        padding-top: 100px;
    }
    
    .service-card,
    .pricing-card,
    .team-card,
    .contact-card {
        padding: 1.5rem;
    }
    
/* Background Color Overrides for Natural Tones */
.bg-light {
    background-color: var(--light-beige) !important;
}

.countdown-section {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--light-beige) 100%);
}

.benefits-section {
    background: var(--light-beige);
}

.pricing-section {
    background: linear-gradient(135deg, var(--soft-gray) 0%, var(--warm-beige) 100%);
}

.studio-story {
    background: var(--light-beige);
}

/* Authentication Styles */
.auth-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-beige) 100%);
    min-height: 100vh;
    padding-top: 100px;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 300;
}

.benefits-list {
    margin-top: 1.5rem;
}

.benefit-item,
.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.benefit-item:last-child,
.feature-item:last-child {
    border-bottom: none;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Styles */
.dashboard-section {
    background: var(--cream);
    min-height: 100vh;
    padding-top: 100px;
}

.dashboard-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.dashboard-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 100%;
}

.dashboard-card .card-header {
    background: var(--light-beige);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: 15px 15px 0 0;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.profile-info {
    text-align: center;
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.coming-soon {
    background: linear-gradient(45deg, var(--accent-color), var(--wood-tone));
    color: var(--white);
}

/* Form Enhancements */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 400;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-success {
    color: var(--wood-tone);
    border-color: var(--wood-tone);
}

.btn-outline-success:hover {
    background: var(--wood-tone);
    border-color: var(--wood-tone);
}

    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .countdown-item {
        padding: 0.75rem 0.5rem;
    }
    
    .countdown-item .display-4 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Streaming Styles */
.streaming-section {
    background: var(--cream);
}

.stream-player {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stream-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator.live {
    background: #E74C3C;
    color: white;
    animation: pulse 2s infinite;
}

.live-indicator.offline {
    background: var(--soft-gray);
    color: var(--text-muted);
}

.viewers-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.stream-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stream-controls .btn {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.stream-controls .btn-lg {
    width: auto;
    height: auto;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
}

.class-info .card {
    border-left: 4px solid var(--secondary-color);
}

/* Chat Styles */
.chat-panel {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: 300px;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--warm-beige);
}

.chat-message.instructor {
    background: var(--secondary-color);
    color: white;
}

.chat-message.system {
    background: var(--accent-color);
    color: var(--charcoal);
    text-align: center;
    font-style: italic;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-content {
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Schedule Styles */
.schedule-section {
    background: var(--light-gray);
}

.schedule-container {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.table th {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0.75rem;
}

.table td {
    padding: 1rem 0.75rem;
    border-color: var(--border-color);
    vertical-align: middle;
}

.time-slot {
    font-weight: 500;
    color: var(--primary-color);
    background: var(--warm-beige);
}

.time-slot.current-time {
    background: var(--secondary-color);
    color: var(--white);
}

.class-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.class-item.beginner { background: #27AE60; }
.class-item.intermediate { background: #F39C12; }
.class-item.advanced { background: #E74C3C; }
.class-item.flow { background: var(--secondary-color); }
.class-item.relaxation { background: var(--accent-color); color: var(--charcoal); }

.schedule-legend {
    text-align: center;
}

.legend-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Features Section */
.features-section {
    background: var(--cream);
}

.feature-card {
    padding: 2rem;
    transition: var(--transition-smooth);
}

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

.feature-icon {
    color: var(--secondary-color);
}

/* User Panel Styles */
.user-panel .card {
    border-left: 4px solid var(--accent-color);
}

.user-avatar {
    color: var(--secondary-color);
}

/* Video.js Custom Styles */
.video-js {
    border-radius: 8px;
}

.video-js .vjs-big-play-button {
    background: rgba(156, 175, 136, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2rem;
}

.video-js .vjs-control-bar {
    background: rgba(45, 45, 45, 0.9);
}

.video-js .vjs-progress-control .vjs-progress-holder .vjs-play-progress {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none !important;
    }
}
