/* 
* Nojoxa Tajayo - Club de Fitness
* Paleta de colores:
* Fondo principal: #1B1F2B (azul oscuro)
* Acento principal: #FF4C60 (coral)
* Acento secundario: #23D997 (menta)
* Texto: #FFFFFF, #B0B0B0
* Fondos de bloques: gradientes de #1B1F2B a #2D3142
*/

/* Reset y base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #B0B0B0;
    background-color: #1B1F2B;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF4C60;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background: #FF4C60;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #e63e51;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #23D997;
}

.btn-secondary:hover {
    background: #23D997;
    color: #1B1F2B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-nav {
    background: #FF4C60;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 3rem;
}

.btn-nav:hover {
    background: #e63e51;
    color: #FFFFFF;
}

/* Header y Navegación */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(27, 31, 43, 0.95), rgba(27, 31, 43, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2.4rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav li a {
    font-weight: 500;
    font-size: 1.6rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1B1F2B 0%, #2D3142 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 76, 96, 0.2) 0%, rgba(255, 76, 96, 0) 70%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(35, 217, 151, 0.2) 0%, rgba(35, 217, 151, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 2rem;
    max-width: 60rem;
    margin: 0 auto 4rem;
}

/* Secciones comunes */
.section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 4px;
    background: #FF4C60;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 60rem;
    margin: 0 auto;
    font-size: 1.8rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.about-item {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.5) 0%, rgba(27, 31, 43, 0.5) 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 76, 96, 0.1) 0%, rgba(35, 217, 151, 0.1) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-item:hover::before {
    opacity: 1;
}

.about-item h3 {
    font-size: 2.4rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.about-icon {
    font-size: 4rem;
    color: #23D997;
    margin-bottom: 2rem;
}

/* Programas */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.program-card {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    height: 40rem;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(27, 31, 43, 0.9), rgba(27, 31, 43, 0));
    transition: all 0.3s ease;
}

.program-card:hover .program-img {
    transform: scale(1.1);
}

.program-card:hover .program-content {
    background: linear-gradient(to top, rgba(27, 31, 43, 1), rgba(27, 31, 43, 0.7));
    padding-bottom: 4rem;
}

.program-content h3 {
    font-size: 2.4rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

/* Beneficios */
.benefits {
    background: linear-gradient(135deg, #1B1F2B 0%, #2D3142 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(35, 217, 151, 0.1) 0%, rgba(35, 217, 151, 0) 70%);
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    padding: 3rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.3) 0%, rgba(27, 31, 43, 0.3) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-item h3 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    color: #FF4C60;
    font-size: 2.5rem;
}

/* Testimonios */
.testimonials {
    position: relative;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.5) 0%, rgba(27, 31, 43, 0.5) 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    color: rgba(255, 76, 96, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    font-size: 1.4rem;
    color: #23D997;
}

/* Galería */
.gallery {
    overflow: hidden;
}

.gallery-container {
    display: flex;
    width: 300%;
    transition: transform 30s linear infinite;
    animation: slideshow 30s linear infinite;
}

.gallery-image {
    width: calc(100% / 9);
    padding: 0.5rem;
}

.gallery-image img {
    border-radius: 1rem;
    height: 25rem;
    object-fit: cover;
}

@keyframes slideshow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.666%);
    }
}

/* FAQ */
.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.3) 0%, rgba(27, 31, 43, 0.3) 100%);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question::after {
    content: "+";
    font-size: 2.5rem;
    color: #FF4C60;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item:target .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem;
}

.faq-item:target .faq-question::after {
    transform: rotate(45deg);
}

.faq-item:target .faq-question {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.5) 0%, rgba(27, 31, 43, 0.5) 100%);
}

/* Formulario de contacto */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 5rem;
    align-items: center;
}

.contact-info {
    position: relative;
}

.contact-info h3 {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 3rem;
}

.contact-info-list {
    display: grid;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2.2rem;
    color: #FF4C60;
}

.contact-text h4 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.form-container {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.5) 0%, rgba(27, 31, 43, 0.5) 100%);
    padding: 4rem;
    border-radius: 1.5rem;
    position: relative;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(27, 31, 43, 0.8);
    border-radius: 1rem;
    color: #FFFFFF;
    font-size: 1.6rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #23D997;
    box-shadow: 0 0 0 3px rgba(35, 217, 151, 0.2);
}

.form-label {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 1.6rem;
    color: #B0B0B0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -1.2rem;
    left: 1rem;
    font-size: 1.2rem;
    color: #23D997;
    background: #1B1F2B;
    padding: 0 0.5rem;
}

.form-control::placeholder {
    color: transparent;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.checkbox-custom {
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.checkbox-input {
    display: none;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #23D997;
    font-size: 1.4rem;
}

.btn-submit {
    width: 100%;
}

/* Footer */
.site-footer {
    background: linear-gradient(to bottom, #1B1F2B, #141720);
    padding: 8rem 0 2rem;
    color: #B0B0B0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3,
.footer-programs h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-about h3::after,
.footer-contact h3::after,
.footer-links h3::after,
.footer-programs h3::after {
    content: "";
    position: absolute;
    width: 4rem;
    height: 2px;
    background: #FF4C60;
    bottom: -1rem;
    left: 0;
}

.footer-contact ul,
.footer-links ul,
.footer-programs ul {
    display: grid;
    gap: 1.5rem;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon {
    font-size: 1.8rem;
    color: #23D997;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(27, 31, 43, 0.9) 0%, rgba(45, 49, 66, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
    min-width: 30rem;
}

/* Páginas legales */
.legal-page {
    padding: 12rem 0 8rem;
}

.legal-content {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.3) 0%, rgba(27, 31, 43, 0.3) 100%);
    padding: 4rem;
    border-radius: 1.5rem;
}

.legal-content h2 {
    font-size: 2.8rem;
    color: #FFFFFF;
    margin: 4rem 0 2rem;
}

.legal-content h3 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin: 3rem 0 1.5rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 2rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 2rem;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    background: linear-gradient(135deg, rgba(45, 49, 66, 0.5) 0%, rgba(27, 31, 43, 0.5) 100%);
    padding: 5rem;
    border-radius: 1.5rem;
    max-width: 60rem;
}

.thank-you-icon {
    font-size: 8rem;
    color: #23D997;
    margin-bottom: 3rem;
}

.thank-you h1 {
    font-size: 4rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.thank-you p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 57.5%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .section-title h2 {
        font-size: 3.5rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #1B1F2B;
        z-index: 101;
        transition: left 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 3rem;
        width: 100%;
        text-align: center;
    }
    
    .main-nav li a {
        font-size: 2rem;
    }
    
    .nav-toggle {
        display: block;
        width: 3rem;
        height: 2.5rem;
        position: relative;
        cursor: pointer;
        z-index: 102;
    }
    
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #FFFFFF;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle span:nth-child(3) {
        bottom: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
    
    .form-container {
        padding: 3rem 2rem;
    }
    
    .legal-content {
        padding: 3rem 2rem;
    }
    
    .thank-you-content {
        padding: 4rem 2rem;
    }
} 