
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #222;
}


header {
    background-color: #06452e;
    color: white;
    padding: 22px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #a8e6bc;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 8px;
    font-weight: bold;
    padding: 10px 15px;
    border: 1px solid white;
    border-radius: 20px;
    display: inline-block;
    transition: 0.3s;
}

nav a:hover {
    background-color: white;
    color: #06452e;
}


.portada {
    background: linear-gradient(90deg, #062d20, #176b43);
    color: white;
    padding: 60px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    flex-wrap: wrap;
}

.portada-texto {
    flex: 1;
    min-width: 260px;
}

.subtitulo {
    color: #a8e6bc;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.portada h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.portada p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* BOTÓN DE INSTAGRAM */

.botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.boton {
    display: inline-block;
    background-color: #a8e6bc;
    color: #06452e;
    padding: 14px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.instagram {
    background-color: white;
    color: #06452e;
    border: 2px solid #a8e6bc;
}

.instagram:hover {
    background-color: #a8e6bc;
    transform: translateY(-3px);
}


.portada img {
    width: 45%;
    min-width: 260px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

/* BIENVENIDA */

.bienvenida {
    text-align: center;
    padding: 50px 20px;
}

.bienvenida h2 {
    color: #06452e;
    font-size: 32px;
    margin-bottom: 10px;
}

/* SECCIONES */

.seccion {
    padding: 55px 8%;
    scroll-margin-top: 20px;
    background-color: white;
}

.seccion h2 {
    color: #06452e;
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.descripcion {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.seccion h3 {
    color: #176b43;
    margin: 30px 0 12px;
    border-left: 5px solid #176b43;
    padding-left: 12px;
}

/* TABLAS DE HORARIOS */

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 25px;
}

th {
    background-color: #06452e;
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #eaf3ed;
}



.foto-estadio {
    position: relative;
    text-align: center;
    color: white;
}

.foto-estadio img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: brightness(45%);
    display: block;
}

.foto-estadio div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.foto-estadio h2 {
    font-size: 36px;
}



.gimnasio {
    background-color: #06452e;
    color: white;
    text-align: center;
    padding: 65px 20px;
    margin: 50px 7%;
    border-radius: 15px;
    scroll-margin-top: 20px;
}

.gimnasio h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.gimnasio h3 {
    margin-top: 20px;
}

.gimnasio h4 {
    color: #a8e6bc;
    font-size: 30px;
    margin-top: 10px;
}



footer {
    background-color: #062d20;
    color: white;
    text-align: center;
    padding: 30px;
}

footer h2 {
    margin-bottom: 10px;
}

footer a {
    display: inline-block;
    color: #a8e6bc;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
}



@media (max-width: 700px) {

    header {
        justify-content: center;
        text-align: center;
    }

    .portada {
        text-align: center;
    }

    .portada h1 {
        font-size: 34px;
    }

    .portada img {
        width: 100%;
    }

    .botones {
        justify-content: center;
    }

    .seccion {
        padding: 35px 5%;
    }

    .seccion h2 {
        font-size: 28px;
    }

    th, td {
        padding: 10px;
        font-size: 14px;
    }
}
