html {
    margin: 0;
    padding: 0;
}

body{
    margin:0;

}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

body, p {
  font-family: 'Inter', sans-serif;
}

header{
    background-image: url('imagenes/fondo_header.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;

}

#titulo {
    padding-left: 40px;
    font-size: 2.5em;
    margin: 0;
    color: rgb(218, 160, 72);
}

#logo {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px; 
}

/* Quitar floats y hacer que los links sean cajas */
nav ul {
    display: flex;
    justify-content: center;
    gap: 50px; /* un poco más de separación al crecer */
    margin: 80px 0 0 0; /* bajamos más los botones */
    padding: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    position: relative;
    width: 240px;   /* ancho más grande */
    height: 300px;  /* alto más grande */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    color: black;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav ul li a img {
    width: 100%;
    height: 75%; /* un poco más de espacio para la imagen */
    object-fit: cover;
    display: block;
    filter: brightness(130%) contrast(60%); /* ahumado hacia blanco */
    transition: filter 0.3s ease;
}

nav ul li a span {
    height: 25%; /* espacio reservado para texto */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-weight: bold;
    text-align: center;
}

nav ul li a:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}


main {
    padding: 100px;
    text-align: justify;
}

footer{
    background-color: #0a0b4e;
    color: #fff;
    padding: 20px;
    text-align: center;
    
}