﻿

/* Boton de Reserva */
.btn-reserva {
    background-color: #ff5722; /* Color vibrante (naranja) */
    color: white;
    font-size: 1.2rem;
    padding: 14px 14px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .btn-reserva:hover {
        background-color: #e64a19;
        transform: scale(1.05);
    }

/* Secciones */
.container-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}


/*section {
    padding: 60px 0;
}

    section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 50px;
        color: #0066cc;
    }*/

/* Sobre Nosotros */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
    text-align: center;
}

.about-fondo img {
    background-image: url('/imagenes/sobrenosotros1.jpg');
    width: 50%;
    height: 50%;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    font-size: 1.5rem;
}

.about-image img {
    width: 40%;
    max-width: 400px; /* Limita tamaño máximo en pantallas grandes */
    border-radius: 100px;
    border: 5px solid #2c3e50;
    display: block;
    margin: 0 auto; /* Centra la imagen */
}

/* === Ajustes para pantallas móviles === */
@media (max-width: 768px) {
    .about-text {
        padding: 0 10px;
    }

    .about-image img {
        width: 80%; /* Más grande para móviles */
        max-width: none; /* Quita límite de ancho */
        border-radius: 50px; /* Opcional: menos radio para que no se vea exagerado */
    }

    .about-text p {
        font-size: 1.2rem; /* Ajusta texto para móvil */
    }

    .about-content {
        flex-direction: column; /* Apila texto e imagen verticalmente */
        gap: 20px; /* Espacio entre elementos */
    }
}

/* Efecto de zoom al pasar el mouse */
.img-superpuesta:hover {
    transform: scale(1.1);
}

/* Clases ------------------------------------------------------------------------- */
.negrita {
    color: #333;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    color: #0066cc;
    margin: 15px 0;
}

.btn-Clases {
    background-color: #ff5722;
    color: white;
    font-size: 15px;
    margin-left: 23%;
    margin-bottom: 10px;
    margin-top: 20px;
    padding: 14px 14px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.Clasestituloh2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 4rem;
    color: #2c3e50;
    position: relative;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

    .Clasestituloh2::after {
        content: "";
        display: block;
        width: 30%;
        height: 5px;
        background: #3498db;
        margin: 25px auto;
        border-radius: 3px;
    }

/* ************************************************************************************/

.class-card-interactive {
    position: relative;
    width: 100%;
    height: 400px; /* ajusta la altura según necesites */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

    .class-card-interactive .class-overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: white; /* verde con opacidad */
        color: black;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
    }

    .class-card-interactive:hover .class-overlay {
        opacity: 1;
    }

.class-overlay h3 {
    margin-top: 0;
}

.class-overlay h2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.class-overlay ul {
    padding-left: 20px;
}

.class-overlay a.btn-Clases {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.class-overlay p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.class-overlay li {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-content li {
    color: #666;
    /*line-height: 1.6;*/
    font-size: 1rem;
}

.modal-content ul {
    padding-left: 20px;
}
/* ************************************************************************************/
/* Instructores -----------------------------------------------------------------------------*/
.instructors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.instru {
    background-color: #e6f2ff;
}

    .instru h2 {
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
    }

.instructor {
    text-align: center;
    width: 250px;
    padding: 0;
    margin: 0;
    min-height: 480px; /* Ajusta según tu diseño */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .instructor p {
        color: #666;
        margin: 0;
        padding: 0 0 0 0;
        /*line-height: 1.1;*/
        font-size: 1.5rem;
        min-height: 60px; /* Ajusta según necesidad */
    }

    .instructor h3 {
        margin: 0; /* Elimina márgenes predeterminados */
        padding: 0 0 10px 0; /* Añade solo padding inferior si es necesario */
    }

.instructortitulo {
    text-align: center;
    font-size: 1.5rem;
    /*margin-bottom: 4rem;*/
    color: #2c3e50;
    position: relative;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.Clasestituloh2::after {
    content: "";
    display: block;
    width: 30%;
    height: 5px;
    background: #3498db;
    margin: 25px auto;
    border-radius: 3px;
}

.instructor img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #2c3e50;
    margin-bottom: 15px;
}

/* Estilos para los iconos de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px; /* Mismo margen superior para ambos */
    margin-bottom: 20px; /* Espacio inferior opcional */
    /*transform: none !important;*/
}

    .social-icons a {
        color: deeppink;
        background-color: #f0f8ff;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

        .social-icons a:hover {
            background-color: #0066cc;
            color: white;
            transform: translateY(-3px);
        }



/* Contacto */
.contact {
}


    .contact h2 {
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
    }

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

    .contact-info h3 {
        margin-bottom: 20px;
        color: #0066cc;
    }

    .contact-info p {
        margin-bottom: 15px;
    }

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
    }

    .form-group textarea {
        height: 150px;
    }


/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.2rem;
    }


    .menu-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .about-content, .contact-container {
        flex-direction: column;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 20px;
    }
}


.container h2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.tituloh2 {
    color: black;
    font-family: 'Times New Roman';
    text-align: center;
}

/*Servicios ------------------------------------------------------------------------------------- */
/* Grid de servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Tarjetas de servicio */
.servicio-card {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .servicio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.servicio-icono img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.servicio-contenido h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0066cc;
}

.servicio-contenido p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.servicios-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.servicio-card {
    width: calc(50% - 60px);
    margin-bottom: 40px;
}

/* Imagen central */
.servicios-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 533px;
    /* background: url('https://coloticosurfboards.com/wp-content/uploads/2024/11/ColoTico-Board3.png') center/contain no-repeat;*/
    z-index: -1;
}



/*Servicios*/
.servicios-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.servicios-columna {
    flex: 1;
    max-width: 300px;
}

.servicio-item {
    margin-bottom: 40px;
    text-align: center;
}

.servicio-icono img {
    margin-bottom: 20px;
}

.servicio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.servicio-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1.5rem
}

.servicios-imagen {
    align-self: center;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .servicios-container {
        flex-direction: column;
        align-items: center;
    }

    .servicios-columna {
        max-width: 100%;
    }

    .servicios-imagen {
        order: -1;
        margin-bottom: 30px;
    }
}


/*Boton flotante*/
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-toggle {
    display: none;
}

.contact-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-toggle:checked ~ .contact-options {
    opacity: 1;
    visibility: visible;
    bottom: 80px;
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .contact-option:hover {
        transform: scale(1.1);
    }

.email {
    background: #EA4335;
}

.whatsapp {
    background: #25D366;
}

.phone {
    background: #4285F4;
}

.floating-contact-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
}

/* === FIX GLOBO FLOTANTE EN MÓVILES === */
@media (max-width: 768px) {

    /* Asegurar que nada genere overflow */
    html, body {
        overflow-x: hidden;
    }

    .floating-contact-container {
        position: fixed !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        z-index: 1000;
        max-width: 100vw;
    }

    .contact-options {
        position: fixed; /* FIX: no depende del contenedor */
        bottom: 70px; /* Separación desde el globo */
        right: 15px; /* Ajusta según el globo */
        display: flex;
        flex-direction: column;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9999;
    }

    .contact-toggle:checked ~ .contact-options {
        opacity: 1;
        visibility: visible;
    }

    .contact-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-option {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/*fin boton flotante*/


/*Galeria Fotos*/
.galeria {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

    .galeria h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #333;
    }

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
    .galeria-grid img {
        width: 100%;
        height: auto; /* Mantiene proporción */
        max-height: 300px; /* Opcional: limita altura */
        object-fit: cover; /* Recorta pero no deforma */
        border: 5px solid #2c3e50;
        border-radius: 10px;
    }


        .galeria-grid img:hover {
            transform: scale(2.05);
        }

/*Ubicacion*/
.mapa {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

    .mapa h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #333;
    }

.map {
    width: 100%;
    height: 100%;
}


.mapa-contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

.mapa-col {
    flex: 1 1 500px;
    min-width: 300px;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

    /*.mapa-col img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;*/
    /*border: 5px solid #A9A9A9;*/
    /*}*/
    .mapa-col img {
        width: 100%; /* se adaptan al ancho del contenedor */
        max-width: 600px; /* opcional, límite de tamaño */
        height: 250px; /* alto fijo */
        object-fit: cover; /* mantiene proporción sin deformar */
        display: block;
        margin: 10px auto; /* espacio entre ellas y centrado */
        border: 5px solid #2c3e50;
        border-radius: 2%;
    }

.mapa-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* Estilos mejorados para la sección "Maestro Artesanos" */
.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

/* Cada columna ocupa igual espacio en PC */
.col {
    flex: 1;
    min-width: 350px;
    position: relative;
    text-align: center;
}
.colvideo {
    flex: 3;
    width: 450px;
    position: relative;
    text-align: center;
}
    /* Texto dentro de la segunda columna */
    .col p {
        line-height: 1.8;
        margin-bottom: 2rem;
        padding: 0 1rem;
        text-align: justify;
    }

    /* Imágenes adaptables */
    .col img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 15px;
        object-fit: cover;
        border: 5px solid #2c3e50;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

        .col img:hover {
            transform: scale(1.05);
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }

/* Video adaptativo */
.video-section {
    margin-top: 2rem;
    width: 100%;
}

.video-contenedor {
    position: relative;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    background: #000;
    max-width: 800px;
    margin: 0 auto;
}

    .video-contenedor iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .col img {
        max-width: 350px;
    }

    .video-contenedor {
        max-width: 100%;
        padding-bottom: 60%;
    }
}

@media (max-width: 576px) {
    .tituloh2 {
        font-size: 2rem;
    }

    .col img {
        max-width: 90%;
    }

    .video-contenedor {
        padding-bottom: 65%;
    }
}






/* Icono nav */
/* Efecto de crecimiento al pasar el mouse */
.hover-grow:hover {
    transform: scale(1.05);
}

/* Opcional: Borde circular con color de tema */
.rounded-circle {
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 2px;
}





/* Footer general */
/* Estilos para redes sociales */
.social-footer a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

    .social-footer a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

/* Estilos para desarrolladores */
.developer-credits {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .developer-credits a {
        display: inline-flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

        .developer-credits a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

/* Ajustes responsive */
@media (max-width: 768px) {
    .social-footer {
        margin-top: 15px;
    }

    .developer-credits {
        margin-top: 20px;
    }
}


/* Ajustes footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f0f0f0; /* o cualquier color */
    color: #333;
    font-size: 14px;
    border-top: 1px solid #ccc;
}

.footer-col {
    flex: 1;
    margin-left: 5%;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}

    .footer-col.center {
        text-align: center;
    }

    .footer-col.right {
        text-align: right;
        margin-right: 7%;
    }


/* Estilos para el modal de términos */
#terminosModal .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

#terminosModal .modal-header {
    border-bottom: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px 10px 0 0 !important;
}

#terminosModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#terminosModal section {
    border-left: 3px solid #0d6efd;
    padding-left: 15px;
    margin-bottom: 20px;
}

#terminosModal h5 {
    color: #0d6efd;
    margin-bottom: 10px;
}

#terminosModal ul {
    padding-left: 20px;
}

#terminosModal li {
    margin-bottom: 5px;
}

/* Efecto vidrio para el modal */
.glass-effect {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
}

/* Mejor legibilidad para el contenido */
.modal-body {
    color: #333;
    line-height: 1.7;
}

    /* Ajustes para títulos */
    .modal-body h5 {
        color: #0d6efd;
        border-bottom: 1px dashed #ddd;
        padding-bottom: 8px;
        margin-top: 20px;
    }

    /* Mejor contraste para listas */
    .modal-body ul {
        color: #444;
    }

/* Transparencia del fondo del modal */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* Efecto hover para botones */
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.WidgetTitle__Header-sc-c581efe-2.dNtlyB {
    display: none !important;
}
/*Imagen de Certificado*/
.miniatura {
    width: 100px; /* tamaño pequeño */
    height: auto;
    cursor: pointer; /* manito al pasar */
    border-radius: 6px;
    transition: transform 0.2s;
}

.miniatura:hover {
    transform: scale(1.05);
}

/* Estilos del modal */
.modal {
    display: none; /* oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-contenido {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    border-radius: 8px;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}
