/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background-color: #f4f6f9;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #1f2d3d;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover,
.navbar .active {
    color: #00bcd4;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../images/obra1.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
}

/* CONTENIDO */
.contenido {
    padding: 80px 8%;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.texto h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #1f2d3d;
}

.texto p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* GALERIA */
.galeria {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.galeria img:hover {
    transform: scale(1.05);
}

/* MISION Y VISION */
.mision-vision {
    display: flex;
    gap: 40px;
    padding: 80px 8%;
    background-color: white;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #f4f6f9;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #1f2d3d;
}

/* FOOTER */
footer {
    background-color: #1f2d3d;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}