/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background-color: #00274c; /* Fondo superior */
    padding: 20px 0;
    color: #fff;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar el contenido horizontalmente */
}

.header .logo-container img {
    width: calc(150px * 1.693); /* Aumento del 69.3% */
}

.header-nav {
    margin-top: 20px;
    background: linear-gradient(45deg, #00274c, #003366); /* Degradado de tonos similares a #00274c */
    border-radius: 15px;
    width: 90%;
    text-align: center;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav ul li {
    display: inline-block;
    margin: 0;
}

.header-nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-nav ul li a:hover, .header-nav ul li a:focus {
    color: #003366; /* Azul marino */
    font-weight: bold;
    background-color: #fff;
}

.section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    color: #333;
}

.section p {
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: justify; /* Justificar el texto */
}

.section-proyectos {
    background-color: #d0d0d0; /* Gris moderado */
}

.section-proyectos .galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.section-proyectos .proyecto {
    width: 100%;
    max-width: 300px;
    margin: 15px;
    background-color: #f5f5f5; /* Blanco plateado */
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.section-proyectos .proyecto img {
    width: 100%;
    height: auto;
}

.section-proyectos .proyecto .contenido {
    padding: 15px;
    color: #00274c; /* Azul marino */
    text-align: justify;
}

.section-contacto {
    background-color: #f9f9f9;
}

.section-contacto h2 {
    margin-bottom: 20px;
    color: #00274c; /* Azul marino */
}

.section-contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-contacto form label {
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.section-contacto form input,
.section-contacto form textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.section-contacto form button {
    padding: 10px 20px;
    background-color: #00274c; /* Azul marino */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-contacto form button:hover {
    background-color: #003366; /* Azul más oscuro */
}

.footer {
    background-color: #00274c; /* Fondo inferior */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.social-buttons a {
    display: block;
    margin-bottom: 10px;
}

.social-buttons img {
    width: 50px;
    height: 50px;
}

