/* ===================================== */
/* Estilos Generales y Reset Básico      */
/* ===================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0056b3;
    --secondary-color: #333;
    --background-light: #f4f4f4;
    --background-dark: #2c3e50;
    --text-light: #fff;
    --font-family: 'Arial', sans-serif;
    --card-bg: #ffffff;
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    opacity: 0.9;
}

/* ===================================== */
/* Navegación y Encabezado (Hero)        */
/* ===================================== */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding-top: 80px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Capa oscura para mejor legibilidad */
    z-index: -1;
}

.nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo-link {
    display: inline-block;
}

.logo {
    width: 350px;
    height: 63px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.button {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ===================================== */
/* Secciones Principales                 */
/* ===================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

#about {
    background: var(--background-light);
	padding-bottom: 60px; /* Puedes ajustar este valor para más o menos espacio */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 3rem;
}

.about-card, .what-we-do-card {
    background-color: var(--background-dark); /* Color azul oscuro */
	color: var(--text-light); /* Color del texto a blanco */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.about-card {
    text-align: center;
}

.what-we-do-card {
    margin-top: 30px;
}	
.what-we-do-card h2 {
    text-align: center;
}

.benefits-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.benefits-list li {
    background-color: var(--primary-color); /* Color azul de la marca */
    color: var(--text-light); /* color blanco*/
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#instructors {
    background: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instructor-card {
    background: var(--card-bg);
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
}

.instructor-card img {
    width: 266px;
    height: 227px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
}

.cta-section {
    background: url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.primary-button {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.primary-button:hover {
    background-color: #e2e2e2;
}

/* ===================================== */
/* Página de Contacto                    */
/* ===================================== */
.contact-page-body {
    background-color: var(--background-light);
}

.contact-header {
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0 40px;
}

.contact-hero-content {
    margin-top: 60px;
}

.contact-hero {
    background: url('../images/contact-bg.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    z-index: 1;
    color: var(--text-light);
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Capa oscura para mejor legibilidad */
    z-index: -1;
}

.hero-content-contact {
    margin-top: 60px;
}






.contact-form-section {
    padding: 50px 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* ===================================== */
/* Pie de Página                         */
/* ===================================== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* ===================================== */
/* Media Queries (Diseño Responsive)     */
/* ===================================== */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}