/* =========================
   RESET / BASE
========================= */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
    background: transparent;
}

/* Hover → navbar blanca */
.navbar:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Links (inicio sobre fondo oscuro) */
.nav-link {
    color: #ffffff !important;
    margin-left: 20px;
    font-weight: 300;
    transition: all 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Links cuando navbar es blanca */
.navbar:hover .nav-link,
.navbar-scrolled .nav-link {
    color: #0a1f3d !important;
}

/* Navbar al hacer scroll */
.navbar-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Blur SOLO si el navegador lo soporta */
@supports ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
    .navbar-scrolled {
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}

/* =========================
   HERO (FONDO PRINCIPAL)
========================= */
.hero-navbar {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Imagen de fondo */
.bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/fondo.jpg') center/cover no-repeat;
    filter: brightness(0.6);
}

/* Overlay elegante */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(5, 15, 35, 0.8),
        rgba(5, 15, 35, 0.9)
    );
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 20px;
}

/* =========================
   TIPOGRAFÍA
========================= */
.titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    letter-spacing: 0.5px;
}

.subtitulo {
    margin-top: 10px;
    opacity: 0.85;
    letter-spacing: 1px;
    font-size: 1rem;
}

/* =========================
   LOGOS
========================= */
.logo {
    max-width: 260px;
    opacity: 0.95;
}

/* Logo siempre visible sobre blanco */
.navbar img {
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}

.logo-small {
    max-width: 120px;
}

/* =========================
   BOTONES
========================= */
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.7);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0a1f3d;
}

/* =========================
   CONTACTO
========================= */
.contacto {
    background: #f8f9fa;
    color: #333;
}

.contacto h2 {
    font-family: 'Playfair Display', serif;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .titulo {
        font-size: 1.8rem;
    }

    .logo {
        max-width: 200px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}