* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 60, 93, 0.95);
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    margin-right: 10px;
}

.nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('../img/parque.jpg') center/cover no-repeat;
    margin-top: 80px;
}

.hero-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
}

/* SERVICIOS */
.servicios {
    padding: 80px 10%;
    background: #f5f5f5;
    text-align: center;
}

.servicios h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    background: #0b3c5d;
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* EMERGENCIAS */
.emergencias {
    padding: 60px 10%;
    text-align: center;
}

.emergencia-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.emergencia-grid div {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* FOOTER */
.footer {
    background: #0b3c5d;
    color: white;
    text-align: center;
    padding: 20px;
}
