@font-face {
  font-family: 'Fits';
  src: url('../fonts/fits-light.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Título principal */
h1 {
    text-align: center;
    color: #6b8e23;
    font-family: 'Fits', sans-serif;
    font-size: 50px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.lurin {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
    background: #fbf9f2;
}

.lurin h2 {
    color: #6c8f3d;
    margin-bottom: 20px;
    font-family: 'Gotham', 'Courier New', Courier, monospace;
    font-size: 28px;
}

/* IMAGEN PRINCIPAL */
.imagen-principal {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.imagen-principal img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: opacity .3s ease;
}

/* MINIATURAS */
.miniaturas {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.miniaturas img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: .6;
    transition: .3s;
    border: 3px solid transparent;
}

.miniaturas img:hover {
    opacity: 1;
}

.miniaturas img.activa {
    opacity: 1;
    border-color: rgb(223, 253, 88);
}

@media (max-width: 900px) {
    .imagen-principal {
        height: 320px;
    }

    .miniaturas img {
        width: 120px;
        height: 70px;
    }
}
@media (max-width: 600px) {
    .galeria-section h2 {
        font-size: 22px;
    }

    .imagen-principal {
        object-position: center top;
    }

    .miniaturas {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .miniaturas img {
        width: 90px;
        height: 55px;
        flex: 0 0 auto;
    }
}


