/* ---------- VARIABLES Y CONFIGURACIÓN GLOBAL ---------- */
:root {
    --blue: #3498db;
    --violet: #000000; /* Cambiado a negro */
    --orange: #ff1800; /* Cambiado a rojo */
    --light: #f5f5f5;
    --dark: #2c3e50;
}

/* ---------- TIPOGRAFÍA ---------- */
@font-face {
    font-family: 'Capture_it';
    src: url('fonts/Capture_it') format('woff2'),
         url('fonts/Capture_it.woff') format('woff'),
         url('fonts/Capture_it.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- RESET Y ESTILOS BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* ---------- LAYOUT Y CONTENEDORES ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

/* ---------- UTILIDADES ---------- */
.text-center {
    text-align: center;
}

/* ---------- HEADER Y NAVEGACIÓN ---------- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--violet);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--orange);
}

.logo i {
    margin-right: 10px;
    color: var(--blue);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--violet);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--violet);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-orange {
    background-color: var(--orange);
}

.btn-orange:hover {
    background-color: #d35400;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: all 0.3s ease-in-out;
}

/* ---------- SECCIÓN HERO ---------- */
/* Hero section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/Martin_background2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
    line-height: 1.6;
}

.hero .btn {
    animation: fadeInUp 1.4s ease;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23f5f5f5"/></svg>');
    background-size: cover;
}

/* ---------- ESTILOS GENERALES DE SECCIONES ---------- */
/* General section styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--violet);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--orange);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ---------- SECCIÓN SOBRE NOSOTROS ---------- */
/* About section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--blue);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-text ul {
    list-style-type: none;
    margin-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--violet);
    font-weight: bold;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.logo-image {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

/* ---------- SECCIÓN SERVICIOS ---------- */
/* Services section */
.services {
    background-color: var(--blue);
    color: white;
    position: relative;
}

.services .wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="%23f5f5f5"/></svg>');
    background-size: cover;
    transform: rotate(180deg);
}

.services .wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="%23f5f5f5"/></svg>');
    background-size: cover;
}

.services .section-title h2 {
    color: white;
}

.services .section-title h2::after {
    background-color: var(--orange);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.6;
}

/* ---------- SECCIÓN GALERÍA ---------- */
/* Gallery section */
.gallery {
    background-color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- SECCIÓN DISCIPLINAS ---------- */
/* Disciplines section */
.disciplines {
    background-color: var(--light);
    position: relative;
}

.disciplines-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.discipline-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.discipline-card:hover {
    transform: translateY(-10px);
}

.discipline-image {
    height: 200px;
    overflow: hidden;
}

.discipline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discipline-card:hover .discipline-image img {
    transform: scale(1.1);
}

.discipline-info {
    padding: 20px;
}

.discipline-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--violet);
}

.discipline-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ---------- SECCIÓN TIENDA ---------- */
/* Store section */
.store {
    background-color: white;
    padding: 80px 0;
}

.store-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--violet);
}

.product-info p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ---------- SECCIÓN CONTACTO ---------- */
/* Contact section */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--blue);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    width: 30px;
    color: var(--violet);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item-content {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--violet);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--blue);
    transform: translateY(-3px);
}

.contact-map {
    flex: 1;
    height: 450px;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative; /* Agregamos posición relativa */
    padding-right: 0; /* Eliminamos cualquier padding derecho */
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- CITAS Y AGENDAMIENTO ---------- */
/* Appointment section */
.appointment-section {
    margin-top: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.appointment-section h3 {
    margin-bottom: 15px;
    color: var(--blue);
}

.appointment-section p {
    margin-bottom: 20px;
}

.appointment-btn {
    background-color: #4a7aff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    background-color: #3258d3;
}

.appointment-btn i {
    font-size: 1.1rem;
}

/* ---------- FOOTER ---------- */
/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ---------- ANIMACIONES ---------- */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- MEDIA QUERIES ---------- */
/* Media Queries */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .contact-map {
        height: 300px;
        margin-top: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    body {
        font-size: 14px;
    }
}
