@charset "utf-8";
/* CSS Document */
/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* =========================
   HEADER
========================= */

header {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    z-index: 100;
}

.logo img {
    height: 55px;
}

/* NAVIGATION */

nav {
    display: flex;
    gap: 35px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    padding: 5px 0;
}

/* Línea animada */

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: #1e7f5c;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #1e7f5c;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   HERO CON IMAGEN FONDO
========================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -2;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
    z-index: -1;
}

/* Oscurece ligeramente la imagen */

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
}

/* Contenido sobre imagen */

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 85px;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* BOTÓN */

.btn {
    display: inline-block;
    padding: 16px 45px;
    background: #1e7f5c;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 15px 40px rgba(30,127,92,0.4);
}

.btn:hover {
    background: #145c42;
    transform: translateY(-5px);
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 20px;
    background: #1e7f5c;
    color: white;
}