/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.bg-dark .section-header h2 {
    color: #fff;
}

.separator {
    width: 80px;
    height: 4px;
    background-color: #e63946;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #e63946;
    color: #e63946;
}

.bg-dark .btn-outline {
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #e63946;
    color: #fff;
}

.bg-dark {
    background-color: #1a1a1a;
    color: #fff;
}

/* Navegación */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    max-width: 150px;
}

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

.nav-menu li {
    margin-left: 25px;
}

.nav-menu li a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #e63946;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 span {
    display: block;
    font-size: 5rem;
    color: #e63946;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image-left, .hero-image-right {
    flex: 1;
    overflow: hidden;
}

.hero-image-left img, .hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nosotros Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e63946;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Clases Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.class-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
}

.class-image {
    height: 200px;
    overflow: hidden;
}

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

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-info {
    padding: 20px;
    text-align: center;
}

.class-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.class-info p {
    margin-bottom: 20px;
    color: #ccc;
}

/* Entrenadores Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trainer-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-image {
    height: 300px;
    overflow: hidden;
}

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

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-info {
    padding: 20px;
    text-align: center;
}

.trainer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
}

.trainer-info p {
    margin-bottom: 15px;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e63946;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
}

/* Horarios Section */
.schedule-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.schedule-header {
    display: flex;
    background-color: #e63946;
    color: #fff;
}

.schedule-header .day {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.schedule-row {
    display: flex;
    border-bottom: 1px solid #333;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row .time, .schedule-row .class {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.schedule-row .time {
    background-color: #e63946;
    color: #fff;
    font-weight: 700;
}

/* Testimonios Section */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

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

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #e63946;
}

.testimonial-text span {
    color: #666;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background-color: #e63946;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #c1121f;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #e63946;
}

/* Galería Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contacto Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e63946;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info .social-media {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Reserva Section */
.booking-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.booking-text, .booking-form {
    flex: 1;
}

.booking-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e63946;
}

.booking-text p {
    margin-bottom: 30px;
}

.booking-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: #e63946;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer */
#footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #e63946;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e63946;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #e63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Placeholder Images */
[src^="placeholder"] {
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    position: relative;
}

[src="placeholder-1.jpg"] {
    width: 150px;
    height: 50px;
}

[src="placeholder-2.jpg"], [src="placeholder-3.jpg"] {
    width: 100%;
    height: 100%;
}

[src^="placeholder"]::after {
    content: attr(src);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content, .contact-content, .booking-content {
        flex-direction: column;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 span {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h1 span {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h3, .booking-text h3 {
        font-size: 1.8rem;
    }
}
