/* Enhanced Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -90px;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.85), rgba(255, 107, 53, 0.75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-content > * {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    font-weight: 700;
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Quote & Image Alternating Section */
.quote-image-section {
    padding: 4rem 0;
    background-color: white;
}

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

.content-row.reverse {
    direction: ltr;
}

.content-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text {
    padding: 2rem;
}

.content-text blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.content-text blockquote p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--secondary-color);
    font-weight: 600;
    font-style: italic;
    position: relative;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.step h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.step p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Schedule Widget Section */
.schedule-widget-section {
    padding: 6rem 2rem;
    background-color: white;
}

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

.widget-container iframe,
.gymdesk-schedule iframe,
.gymdesk-booking iframe {
    min-height: 1750px !important;
    height: 1750px !important;
}

/* Final CTA Section */
.final-cta {
    position: relative;
    padding: 8rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.final-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.85), rgba(255, 107, 53, 0.75));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-content .cta-button {
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

.cta-content .cta-button:hover {
    filter: brightness(1.15);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    will-change: opacity;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    will-change: opacity;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    will-change: opacity;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
    will-change: opacity;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.2s forwards;
    will-change: opacity, transform;
}

.animate-slide-up-delay-1 {
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.4s forwards;
    will-change: opacity, transform;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.6s forwards;
    will-change: opacity, transform;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .content-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .content-row .content-image {
        order: 1;
    }

    .content-row .content-text {
        order: 2;
    }

    .content-text blockquote p {
        font-size: 1.3rem;
        padding-left: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .content-text blockquote p {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem 2rem 0.5rem;
}

.footer-note {
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    padding: 1rem 1.5rem;
    background: rgba(0, 217, 255, 0.15);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    text-align: center;
}

.footer-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

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

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-section p {
    margin: 0.3rem 0;
    line-height: 1.4;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-credit {
    text-align: center;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-credit a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .widget-container iframe,
    .gymdesk-schedule iframe,
    .gymdesk-booking iframe {
        min-height: 1600px !important;
        height: 1600px !important;
    }

    .footer-logo {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 35px;
    }
}
