/* === Global Settings === */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fceedd;
    overflow-x: hidden;
}

/* Headings */
h1, h2 {
    font-family: 'Montserrat', sans-serif;
}

/* === Navbar === */
header .navbar {
    height: 10vh;
    box-shadow: 0 0.5vh 0.8vh rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 2.5vh;
}

header .navbar-brand img {
    border-radius: 50%;
    width: 10vh;
    height: 10vh;
}

.navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    text-decoration: none;
    padding: 0 2.5vh;
    line-height: 10vh;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ea2336;
}

/* === Botones === */
.btn-primary {
    background-color: #a00116;
    border-color: #a00116;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 2vh;
}

.btn-primary:hover {
    background-color: #68000e;
    border-color: #a00116;
}

.navbar-collapse {
    background-color: #fff;
    border-radius: 2vh;
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
    padding: 1.5vh;
}

/* Navbar en pantallas grandes */
@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
}

/* Formulario */
form .form-label {
    font-weight: bold;
    color: #333;
}

form .form-control {
    border-radius: 0.5rem;
    box-shadow: inset 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1); /* 1px 3px */
    transition: box-shadow 0.3s;
}

form .form-control:focus {
    box-shadow: 0 0 0.3125rem #68000e; /* 5px */
    border-color: #a00116;
}

form button {
    border-radius: 1rem;
    font-weight: bold;
    padding: 0.625rem 1.25rem;   /* 10px 20px */
}

/* Mapa */
iframe {
    width: 100%;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

/* === Footer === */
footer {
    background-color: #000;
    text-align: center;
    padding: 2vh 0;
    color: #fff;
}

footer a {
    color: white;
}

footer p {
    margin: 1vh 0;
    font-size: 2vh;
}

footer .socials {
    display: inline-flex;
    gap: 2vh;
}

footer .socials a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5vh;
    padding: 0 1vh;
    position: relative;
}

footer .socials a:not(:first-child) {
    border-left: 1px solid #fff;
    padding-left: 1.5vh;
}

footer .socials a:hover {
    text-decoration: underline;
}

/* === CORRECCIONES === */

/* Permite que el contenido empuje el footer hacia abajo */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ocupa el espacio restante del body y aplica margen por navbar fija */
.contactanos {
    flex: 1;
    margin-top: 12vh;
}
