/* styles.css */

:root {
    --fire-red: #E53E3E;
    --flame-orange: #FF6B35;
    --charcoal-black: #2D3748;
    --clean-white: #FFFFFF;
    --accent-gray: #718096;
    --gradient-fire: linear-gradient(135deg, #E53E3E 0%, #FF6B35 100%);
    --gradient-dark: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    --shadow-soft: 0 10px 25px rgba(45, 55, 72, 0.1);
    --shadow-strong: 0 20px 40px rgba(45, 55, 72, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    text-align: center;
    color: var(--clean-white);
}

.flame-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.flame {
    width: 20px;
    height: 40px;
    background: var(--gradient-fire);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameAnimation 1.5s ease-in-out infinite alternate;
}

.flame:nth-child(2) {
    animation-delay: 0.3s;
}

.flame:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes flameAnimation {
    0% {
        transform: scale(1) rotate(-5deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3) rotate(5deg);
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(45, 55, 72, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img, .footer-logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal-black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--fire-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-fire);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-fire);
    color: var(--clean-white);
}

.cta-button.secondary {
    background: transparent;
    color: var(--charcoal-black);
    border: 2px solid var(--charcoal-black);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--charcoal-black);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animated-flames {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.flame-particle {
    position: absolute;
    width: 6px;
    height: 12px;
    background: var(--gradient-fire);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: floatFlame 6s ease-in-out infinite;
}

.flame-particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.flame-particle:nth-child(2) {
    left: 25%;
    animation-delay: 1.2s;
}

.flame-particle:nth-child(3) {
    right: 30%;
    animation-delay: 2.4s;
}

.flame-particle:nth-child(4) {
    right: 15%;
    animation-delay: 3.6s;
}

.flame-particle:nth-child(5) {
    left: 50%;
    animation-delay: 4.8s;
}

@keyframes floatFlame {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1.2);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 600px;
}

.hero-title-main {
    display: block;
    font-family: 'Space Grotesk', serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal-black);
    margin-bottom: 0.5rem;
}

.hero-title-emphasis {
    display: block;
    font-family: 'Space Grotesk', serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    opacity: 0.9;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fire-red);
    font-family: 'Space Grotesk', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--clean-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card:nth-child(1) {
    top: 50px;
    right: 50px;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.1), rgba(255, 107, 53, 0.1));
}

.floating-card:nth-child(2) {
    top: 200px;
    left: 30px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(229, 62, 62, 0.1));
}

.floating-card:nth-child(3) {
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.1), rgba(113, 128, 150, 0.1));
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--fire-red);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-fire);
    color: var(--clean-white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--charcoal-black);
}

.section-title .highlight {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--accent-gray);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--clean-white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--clean-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(45, 55, 72, 0.1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--clean-white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

.feature-card p {
    color: var(--accent-gray);
    line-height: 1.6;
}

/* Classes Section */
.classes {
    padding: 8rem 0;
    background: #f8f9fa;
}

.class-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--accent-gray);
    background: transparent;
    color: var(--accent-gray);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-fire);
    border-color: var(--fire-red);
    color: var(--clean-white);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.class-card {
    background: var(--clean-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.class-image {
    height: 200px;
    background: var(--gradient-fire);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-intensity {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--clean-white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.class-content {
    padding: 2rem;
}

.class-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

.class-content p {
    color: var(--accent-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gray);
    font-size: 0.875rem;
}

.book-class-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-fire);
    color: var(--clean-white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.book-class-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Membership Section */
.membership {
    padding: 8rem 0;
    background: var(--clean-white);
}

.membership-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--charcoal-black);
}

.save-badge {
    background: var(--gradient-fire);
    color: var(--clean-white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gray);
    transition: var(--transition);
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: var(--clean-white);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--fire-red);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.membership-card {
    background: var(--clean-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
}

.membership-card.featured {
    border-color: var(--fire-red);
    transform: scale(1.05);
}

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

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

.membership-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-fire);
    color: var(--clean-white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.membership-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--charcoal-black);
}

.membership-header p {
    color: var(--accent-gray);
    margin-bottom: 2rem;
}

.membership-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fire-red);
    font-family: 'Space Grotesk', serif;
}

.price.hidden {
    display: none;
}

.period {
    color: var(--accent-gray);
    font-size: 1rem;
}

.membership-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.membership-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.membership-features li:last-child {
    border-bottom: none;
}

.membership-features i {
    color: var(--fire-red);
    font-size: 1rem;
}

.membership-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-fire);
    color: var(--clean-white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Community Section */
.community {
    padding: 8rem 0;
    background: #f8f9fa;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--clean-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--clean-white);
}

.stat-content .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fire-red);
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', serif;
}

.stat-content .stat-label {
    color: var(--accent-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.community-feature {
    background: var(--clean-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.community-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.community-feature .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.community-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

.community-feature p {
    color: var(--accent-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--clean-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Space Grotesk', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--charcoal-black);
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--accent-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--clean-white);
    font-size: 1.25rem;
}

.contact-text h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--charcoal-black);
}

.contact-text p {
    color: var(--accent-gray);
    line-height: 1.6;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form-wrapper h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

.contact-form-wrapper p {
    color: var(--accent-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    grid-column: 1 / -1;
    resize: vertical;
}

.form-group select {
    grid-column: 1 / -1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fire-red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--clean-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--clean-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--flame-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clean-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-fire);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--clean-white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--flame-orange);
}

.newsletter-btn {
    padding: 0.75rem 1rem;
    background: var(--gradient-fire);
    border: none;
    border-radius: var(--border-radius);
    color: var(--clean-white);
    cursor: pointer;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--flame-orange);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: var(--transition);
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background: var(--clean-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.video-content {
    max-width: 800px;
    padding: 0;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--charcoal-black);
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.qr-code {
    text-align: center;
    margin: 2rem 0;
}

#qr-code-container canvas {
    max-width: 200px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clean-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-strong);
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .membership-card.featured {
        transform: none;
    }
    
    .membership-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero-content {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .classes-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Smooth Scroll Padding */
html {
    scroll-padding-top: 80px;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--fire-red);
    outline-offset: 2px;
}

button:focus,
.cta-button:focus {
    outline: 2px solid var(--clean-white);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-button {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    * {
        color: #000 !important;
        background: #fff !important;
    }
}

.login-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--fire-red) !important;
    font-weight: 600;
}

.login-link:hover {
    color: var(--flame-orange) !important;
}

/* Add to your CSS file */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.success-message {
    background: linear-gradient(135deg, #C6F6D5 0%, #9AE6B4 100%);
    color: #2F855A;
    border-left: 4px solid #38A169;
}

.error-message {
    background: linear-gradient(135deg, #FED7D7 0%, #FEB2B2 100%);
    color: #C53030;
    border-left: 4px solid #E53E3E;
}

.message i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.button-loader {
    display: none;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
