/* RESET básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;

}

/* HEADER */
header {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 1000;
}

/* NAV */
a {
    text-decoration: none;
    color: black;
    margin-left: 20px;
}

a:hover {
    color: brown;
}

/* HERO (imagen grande) */
.hero {
    width: 100%;
    height: calc(100vh - 50px);
    display: flex;
}
.hero2 {
    width: 100%;
    display: flex;
}

/* IMAGEN */
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 mantiene proporción y recorta */
    object-position: 100% 40%; /* ajusta la cabeza */
}

.about h2 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: normal;
}

.about p, 
.about li {
    font-size: 14px;
    line-height: 1.6;
}

.gallery {
    height: 550px;
    width: 1330px;
    font-size: 20px;
    gap: 100px;
    padding: 40px;
    margin-left: 20px;
}
.gallery2 {
    width: 1330px;
    font-size: 20px;
    gap: 100px;
    padding: 40px;
    margin-left: 20px;
}

.color {
    background-color: brown;
}

.color2 {
    background-color: brown;
}

.gallery a:hover {
    color: white;
}
.subgallery {
    padding-left: 10px;
}

.texto {
    display: flex;
}

.subtexto {
    width: 100vh;
    padding: 40px;
    font-size: 10px;
    line-height: 1.6;
    text-align: justify;
    gap: 20px;
}

.slider {
    display: flex;
    position: relative;
    width: 100%;
    margin: auto;
    align-items: center;
    justify-content: center; /* horizontal */
}

.slider img {
    max-height: 90vh;      /* 80% del alto de la pantalla */
    max-width: 100%;       /* opcional */
    object-fit: contain; /* 👈 clave */
    display: block;

}

/* Flechas */
.prev, .next {
    position: absolute;
    top: 300px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.foto-derecha {
    float: right;
    width: 300px;      /* ajusta el tamaño */
    margin: 0 0 20px 30px;
}

.bio p {
    line-height: 1.6;
    text-align: justify;
}