@font-face{
font-family:"LeagueGothic";
src:url('../fonts/LeagueGothic.ttf');
}
h1{
font-family: 'LeagueGothic', sans-serif;

}

@font-face{
font-family:"Montserrat";
src:url('../fonts/Montserrat.ttf');
}
h2{
font-family: 'Montserrat', sans-serif;

}
p{
font-family: 'Montserrat', sans-serif;

}

body {

}

/* NAV */
.custom-nav {
    background: rgba(0,0,0,0.4);
}

.navbar-brand, .nav-link {
    color: white !important;
}

/* HERO */
.hero-section {
    background-image: url('../imagenes/fondo_hero.jpg');
    background-size: cover;      /* que cubra sin deformarse */
    background-position: center; /* centrado real */
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    padding-right: 10%;
}

.hero-text {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero-btn {
    border: 1px solid white;
    padding: 14px 40px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero-btn:hover {
    background: white;
    color: #9b9b9b;
}

.hero-logo {
    margin-top: 60px;
    opacity: 0.6;
}

/* ETHOS */
.ethos-section {
    background-color: #9e9b9a; /* gris del diseño */
    padding: 60px 0 80px 0;
}

/* ---------- HERO BLOQUE ---------- */

.ethos-hero {
    background-image: url('../imagenes/fondo_ethos.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 30px;
    padding: 120px 20px;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

/* Overlay suave beige/gris */
.ethos-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(210, 200, 195, 0.65);*/
    background-image: url('../imagenes/fondo_ethos2.jpg');
    background-size: cover;
    border-radius: 30px;
}

/* contenido encima del overlay */
.ethos-hero > * {
    position: relative;
    z-index: 2;
}

.ethos-title {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 40px;
}

.ethos-icon img {
    width: 100%;
    margin-bottom: 50px;
}

.ethos-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 300;
}

/* ---------- FEATURES ---------- */

.ethos-features {
    color: #ffffff;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.feature-item img {
    width: 60px;
}

.feature-item span {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 300;
}


/* CURSOS */
.cursos-section {
    background-color: #AFCFD0;
    padding: 100px 0;
}

.section-title {
    
    font-size: 60px;
    color: #909191;
    letter-spacing: 2px;
}

.curso-card {
    background-color: #DCDCDC;
    border-radius: 30px;
    overflow: hidden;
    padding-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.curso-card:hover {
    transform: translateY(-5px);
}

.curso-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.curso-body {
    padding: 35px 30px;
}

.curso-body h4 {
    font-weight: 600;
    letter-spacing: 1px;
    color: #6B6B6B;
    margin-bottom: 5px;
}

.curso-body p {
    color: #7D7D7D;
    margin-bottom: 25px;
}

.btn-curso {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #FFF;
    border-radius: 30px;
    text-decoration: none;
    color: #6B6B6B;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-curso:hover {
    background-color: #6B6B6B;
    color: white;
}


/* EXTRA */
.info-section {
    background-color: #EAEAEA;
    padding: 120px 0;
}

.section-title-dark {
    
    font-size: 64px;
    color: #000;
    margin-bottom: 80px;
}

/* Imagen */
.info-img {
    width: 85%;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Fondo decorativo izquierda */
.bg-accent-left {
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: #AFCFD0;
    bottom: -20px;
    left: -40px;
    border-radius: 30px;
    z-index: 1;
}

/* Fondo decorativo derecha */
.bg-accent-right {
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: #AFCFD0;
    bottom: -20px;
    right: -40px;
    border-radius: 30px;
    z-index: 1;
}

/* Texto */
.info-small {
    color: #909191;
    font-size: 18px;
    margin-bottom: 10px;
}

.info-title {
    font-weight: 700;
    color: #909191;
    letter-spacing: 1px;
}


/* CTA */
.cta-section {
    position: relative;
    background-image: url('../imagenes/fondo_cta.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    border-radius: 40px;
    overflow: hidden;
    margin: 80px 20px;
    color: #fff;
}


/* Contenido encima */
.cta-section .container {
    z-index: 2;
}

/* Tipografía */
.cta-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    font-size: 64px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 22px;
    max-width: 500px;
}

.cta-text strong {
    font-weight: 700;
}


/* CTA */
.footer-section {
    background-color: #9B9797;
    padding: 100px 0;
    color: #F5F5F5;
}

.footer-title {
    font-size: 30px;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 18px;
    margin: 0;
}


/* mobil hero */
@media (max-width: 992px) {

    .hero-image {
        width: 350px;
        height: 350px;
    }

    .hero-text {
        font-size: 20px;
    }

    .hero-content {
        text-align: center;
        padding: 40px 20px;
    }

}

/* imagen adaptable */
.img-responsive-custom {
    width: 30%; /* tamaño escritorio */
    margin-bottom: 50px;
    height: auto;
}

@media (max-width: 768px) {
    .img-responsive-custom {
        width: 280px; /* tamaño móvil */
    }
}

/*ajuste de cuadro de color de detras de la imagen */
@media (max-width: 768px) {

    .bg-accent-left,
    .bg-accent-right {
        width: 80%;
        height: 60%;
        left: 0 !important;
        right: 0 !important;
        margin: auto;
        bottom: -10px;
    }

}