/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animações avançadas */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navbar fixa com efeito de deslizamento */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(51, 51, 51, 0.8);
    color: white;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(51, 51, 51, 1);
}

.menu-toggle {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
    animation: slideIn 1s ease forwards;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f0a500;
}

/* Hero section com fundo animado */
.hero-section {
    height: 100vh;
    background: url('gym-background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 2.5s ease-in-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-ball 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes bounce-ball {
    0%, 20%, 50%, 80%, 100% {
        top: 10px;
    }
    40% {
        top: 20px;
    }
    60% {
        top: 15px;
    }
}

/* Parallax Section */
.parallax-section {
    height: 60vh;
    background: url('parallax-background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.parallax-content {
    animation: fadeInUp 1.5s ease;
}

.cta-button {
    padding: 1rem 2rem;
    background: #f0a500;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #ff7f00;
    transform: scale(1.05);
}

/* Slider de depoimentos */
.testimonials-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 2rem;
    text-align: center;
}

.testimonials-slider::before, .testimonials-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 100;
}

.testimonials-slider::before {
    left: 10px;
    background-image: url('left-arrow.svg');
}

.testimonials-slider::after {
    right: 10px;
    background-image: url('right-arrow.svg');
}

/* Planos com destaque para o plano Premium */
.plans-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.plan {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    transition: transform 0.3s;
    color:black;
    width:250px;
}

.plan:hover {
    transform: translateY(-10px);
}

.plan.premium {
    background: linear-gradient(135deg, #ff9d00, #ff5e00);
    color: white;
    transform: scale(1.1);
}

/* Formulário de Contato */
.contact-section {
    padding: 4rem 2rem;
    background: #333;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background: #555;
    color: white;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #f0a500;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #ff7f00;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(51, 51, 51, 0.9);
    }

    .features-container, .plans-container {
        flex-direction: column;
    }

    .plan {
        margin-bottom: 2rem;
    }
}

/* Animação de fundo dinâmico */
.background-animated {
    background: linear-gradient(45deg, #ff9d00, #ff5e00, #f0a500, #ff7f00);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hover Glassmorphism */
.glass-hover:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .navbar, .dark-mode .footer {
    background-color: #1f1f1f;
}

.dark-mode-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

/* Transições 3D */
.section-3d {
    perspective: 1000px;
}

.section-3d-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.section-3d:hover .section-3d-inner {
    transform: rotateY(180deg);
}


/* Nova cor de fundo do body sem alterar o estilo anterior */
body {
    background: linear-gradient(135deg, #1a1a1a, #0b6623); /* Gradiente de verde escuro para preto */
    color: #f5f5f5; /* Mantém o texto em uma cor clara para contraste */
}

/* Transição suave ao passar o mouse nos links */
.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #f0a500;
    transform: scale(1.1);
}

/* Efeito de sombra ao passar o mouse em botões */
.cta-button, .contact-form button {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-button:hover, .contact-form button:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

/* Efeito Parallax aprimorado */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
}

/* Transição suave entre seções */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 200%;
    height: 5px;
    background: #f0a500;
    transform: translateX(-50%);
    animation: sectionLine 2s infinite;
}

@keyframes sectionLine {
    0%, 100% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-40%);
    }
}

/* Gradiente interativo ao passar o mouse */
.plan.premium {
    background: linear-gradient(135deg, #ff9d00, #ff5e00);
    color: white;
    transform: scale(1.1);
    transition: background 0.5s, transform 0.3s;
}

.plan.premium:hover {
    background: linear-gradient(135deg, #ff5e00, #ff9d00);
}

/* Efeito de rotação suave em ícones da navbar */
.nav-links li a:hover::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('icon.svg') no-repeat center center;
    background-size: contain;
    margin-right: 10px;
    transform: rotate(360deg);
    transition: transform 0.5s ease;
}

.nav-links li a:hover::before {
    transform: rotate(0deg);
}

/* Footer com efeito de aparecimento gradual */
.footer {
    padding: 2rem;
    background: rgba(51, 51, 51, 0.9);
    color: #f5f5f5;
    text-align: center;
    opacity: 0;
    animation: fadeIn 2s 1s forwards;
}

.footer a {
    color: #f0a500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff7f00;
}

/* Efeitos de parallax mais avançados */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: moveParallax 20s infinite linear;
}

@keyframes moveParallax {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -20%, 0); }
}

/* Animações de entrada para os planos */
.plan {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de sombra flutuante */
.plan:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.1);
}

/* Melhoria de responsividade para planos */
@media (max-width: 992px) {
    .plan {
        margin-bottom: 2rem;
    }
}

/* Efeito de zoom para imagens */
.parallax-section img {
    transition: transform 0.5s ease;
}

.parallax-section img:hover {
    transform: scale(1.1);
}

/* Botões de navegação flutuantes */
.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Efeito 3D em hover para botões */
.cta-button {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Adição de sombra suave ao texto */
.hero-content h1, .hero-content p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Animação de carregamento para a página */
.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #ff9d00;
    animation: spin 2s linear infinite;
    z-index: 2000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading .loader {
    display: block;
}

body.loaded .loader {
    display: none;
}

/* Layout grid para facilitar a organização */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

p {
    color:black;
}

h3 {
    color:black;
}

#color {
    color:white;
}
 img {
    width:250px;
    height:250px;

    border-radius: 20px 10px 90px 20px;
 }

