/* General Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: white;
    padding: 1em 0;
}

header h1 {
    text-align: center;
    font-size: 2.5em;
}

header nav {
    text-align: center;
    padding: 1em 0;
}

header nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    transition: color 0.3s ease-in-out;
}

header nav a:hover {
    color: #cce7ff;
}

/* Section Styles */
section {
    padding: 40px 0;
    background: #f4f4f4;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 20px;
}

section p {
    text-align: justify;
    padding: 0 20%;
}

/* Gallery Styles */
.gallery {
    text-align: center;
    position: relative;
}

.image-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 10px auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.controls .prev, .controls .next {
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0,0,0,0.5);
    font-size: 2em;
}

.controls .prev:hover, .controls .next:hover {
    background-color: rgba(0,0,0,0.7);
}

.controls .prev {
    margin-left: 20px;
}

.controls .next {
    margin-right: 20px;
}

/* Expandir imagen */
.image-container img.expanded {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    cursor: zoom-out;
    transition: transform 0.3s ease-in-out;
}

.image-container img:not(.expanded) {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.image-container img:not(.expanded):hover {
    transform: scale(1.1);
}
