/* =========================================
   RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   BODY + FONDO FULL IMPACTO
========================================= */
body {
    font-family: 'Inter', sans-serif;
    background: url("imagenes/fondo-campo.jpeg") center center no-repeat fixed;
    background-size: cover; /* impacto total */
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Oscurecimiento elegante */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 20, 10, 0.75),
        rgba(0, 40, 20, 0.65),
        rgba(0, 20, 10, 0.85)
    );
    z-index: -1;
}

/* =========================================
   NAVBAR PREMIUM
========================================= */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 30, 15, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
}

.menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    font-size: 15px;
    transition: 0.3s ease;
}

.menu a:hover {
    color: white;
}

/* Botones premium */
.nav-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: all 0.35s ease;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* =========================================
   HERO IMPACTO
========================================= */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-box {
    animation: fadeUp 1.4s ease forwards;
}

.hero h1 {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.95;
}

/* =========================================
   SECCIONES VIDRIO PREMIUM
========================================= */
.section {
    padding: 140px 40px;
    text-align: center;
}

.section .container {
    max-width: 1100px;
    margin: auto;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: 0.4s ease;
}

.section .container:hover {
    transform: translateY(-8px);
}

.section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.95;
}

/* =========================================
   GALERÍA IMPACTANTE
========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.grid img:hover {
    transform: scale(1.06);
}

/* =========================================
   MAPA
========================================= */
iframe {
    margin-top: 30px;
    border-radius: 18px;
}

/* Botones */
.btn-mapa,
.btn-mapa-sec,
.btn-acceso {
    display: inline-block;
    margin: 15px 10px;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.7);
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

.btn-mapa:hover,
.btn-mapa-sec:hover,
.btn-acceso:hover {
    background: rgba(255,255,255,0.15);
}

/* =========================================
   FOOTER
========================================= */
footer {
    text-align: center;
    padding: 50px 20px;
    background: rgba(0, 30, 15, 0.7);
    backdrop-filter: blur(10px);
    font-size: 14px;
}

/* =========================================
   ANIMACIONES
========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {

    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .menu {
        flex-direction: column;
        gap: 18px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .section .container {
        padding: 40px 25px;
    }
}