* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #743000;
    color: #f5d28b;
    line-height: 1.6;
}

nav {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #ff7b00;
    font-style: oblique;
    padding: 10px 5px;
    display: flex;
    justify-content: center;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 150ms ease;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(2, 6, 255);
    transition: width 150ms ease;
}

nav a:hover::after,
nav a:focus::after {
    width: 100%;
}

nav a:hover,
nav a:focus {
    color: rgb(2, 6, 255);
    transform: translateY(-2px);
}

.main {
    text-align: center;
    padding: 80px 10px;
    background: linear-gradient(180deg, #ff7b00, #743000);
    animation: mainFadeIn 0.8s ease;
}

@keyframes mainFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main h1 {
    font-size: 4rem;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    transition: opacity 0.5s ease;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    padding: 0 20px;
    color: #ffe4ae;
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff7b00, #ffe4ae);
    margin: 10px auto 0;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 600px;
    margin: 20px auto;
}

.img-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img-item:hover {
    transform: scale(1.05);
}

.img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.img-item:hover img {
    filter: brightness(0.7);
}

.capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capa span {
    color: #ffe4ae;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid #ffe4ae;
    padding: 8px 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.img-item:hover .capa span {
    transform: scale(1.1);
    background-color: rgba(255, 123, 0, 0.3);
}

.img-item:hover .capa {
    opacity: 1;
}

.historia-imagenes {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 600px;
    margin: 20px auto;
}

.historia-link {
    width: 48%;
    aspect-ratio: 8 / 9;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.historia-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.historia-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.historia-link:hover img {
    transform: scale(1.05);
}

.miembros-seccion {
    text-align: center;
}

.miembros-foto {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.miembros-foto_2 {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px 0;
}

.blanco {
    color: white;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.socials a {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.socials a:hover {
    transform: scale(1.15) translateY(-3px);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.spotify {
    background-color: #1db954;
    color: black;
}

.spotify:hover {
    background-color: #1ed760;
}

.youtube {
    background-color: #ff0000;
    color: white;
}

.youtube:hover {
    background-color: #cc0000;
}

.instagram {
    background-color: #ff02ea;
    color: white;
}

.instagram:hover {
    background-color: #e600d8;
}

.tiktok {
    background-color: #ddd;
    color: black;
}

.tiktok:hover {
    background-color: #ffffff;
}

.video-concierto {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-concierto iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.miembros-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 30px;
    align-items: start;
    justify-content: center;
}

.miembro-item {
    text-align: center;
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.miembro-item strong {
    display: block;
    font-size: 1.7rem;
    color: #ffe4ae;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.miembro-item:last-child {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto;
}

.foto-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    background-color: #2d1400;
    border: 2px solid rgba(255, 123, 0, 0.3);
}

.foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.foto-wrapper:hover img {
    transform: scale(1.08);
    filter: brightness(0.5) saturate(1.2);
}

.miembro-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5));
    color: #ffe4ae;
    font-weight: bold;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.foto-wrapper:hover .miembro-info {
    opacity: 1;
    transform: translateY(0);
}

section p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

section p strong {
    color: #ffe4ae;
}

section p em {
    color: #ff7b00;
    font-style: italic;
}

@media (max-width: 700px) {
    .main h1 {
        font-size: 2.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .historia-imagenes {
        flex-direction: column;
        align-items: center;
    }

    .historia-link {
        width: 100%;
        aspect-ratio: auto;
        max-height: 300px;
    }

    nav {
        flex-wrap: wrap;
        gap: 5px;
        padding: 8px 2px;
    }

    nav a {
        font-size: 0.9rem;
        padding: 6px 8px;
    }

    .miembros-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .miembro-item strong {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .socials a {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    section {
        padding: 0 10px;
    }

    section p {
        text-align: left;
        font-size: 0.95rem;
    }
}

.contacto-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 40px auto;
}

.contacto-item {
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.1), rgba(255, 123, 0, 0.05));
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(255, 123, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 123, 0, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contacto-item h3 {
    color: #ffe4ae;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contacto-item p {
    color: #f5d28b;
    margin-bottom: 20px;
    text-align: center;
}

.contacto-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contacto-link:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.email-link {
    background-color: #ff7b00;
    color: white;
}

.email-link:hover {
    background-color: #ff9533;
}

.instagram-link {
    background-color: #ff02ea;
    color: white;
}

.instagram-link:hover {
    background-color: #ff33ed;
}

.modal{
    display:none;

    position:fixed;
    top:0;
    left:0;

    width:100vw;
    height:100vh;

    background:rgba(0,0,0,0.85);

    justify-content:center;
    align-items:center;

    z-index:9999;
}

.modal-contenido{
    position:relative;

    width:90vw;
    height:80vh;

    background:#ff5e00a9;
    color:#f5e6d3;

    padding:40px;

    display:flex;
    align-items:center;
    gap:50px;

    border-radius:20px;

    border:3px solid #ff8c42;

    box-shadow:0 0 40px rgba(255,140,66,0.5);

    overflow-y:auto;
}

.modal-contenido img{
    width:400px;
    height:auto;

    object-fit:cover;

    border-radius:15px;

    border:3px solid #ff8c42;
}

#modalNombre{
    font-size:3rem;
    margin-bottom:20px;
}

#modalTexto{
    font-size:1.4rem;
    line-height:1.8;
}

.cerrar{
    position:absolute;
    right:20px;
    font-size:30px;
    cursor:pointer;
}

@media (max-width: 700px){

    .modal-contenido{
        flex-direction: column;
        width: 95vw;
        height: auto;
        max-height: 90vh;
        padding: 20px;
        gap: 20px;
    }

    .modal-contenido img{
        width: 100%;
        max-width: 300px;
    }

    #modalNombre{
        font-size: 2rem;
        text-align: center;
    }

    #modalTexto{
        font-size: 1rem;
    }
}