/* Tipografías personalizadas */
@font-face {
    font-family: 'Aloevera';
    src: url('./tipografias/') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('./tipografias/') format('opentype');
    font-style: normal;
}

/* Desplazamiento suave al hacer scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar general */
.navbar {
    font-family: 'Euclid Circular A Medium', sans-serif;
    background-color: #f7f7f7;
    min-height: 100px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 1000;
}

/* Sombra al hacer scroll  */
.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.navbar-brand img {
    height: 60px;
    transition: transform 0.2s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Íconos en la derecha */
.navbar-nav .nav-link img {
    height: 28px;
    width: 28px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link img:hover {
    transform: scale(1.1);
}

/* Links del menú */
.navbar-nav .nav-link {
    font-size: 20px;
    color: #111;
    padding: 0.5rem 1rem;
    margin: 0 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

/* Quitar espacio solo para los íconos */
.navbar-nav .nav-item.iconos .nav-link {
    padding: 0.5rem 0.3rem;
    /* menos espacio lateral */
    margin: 0 0.2rem;
    /* casi pegados */
}

/* Sección principal con fondo de banner */
.hero {
    position: relative;
    height: 130vh;
    background-image: url('./img/contacto-img/banner_contacto.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(1.1) contrast(1.1);
    text-align: center;
}

/* Título */
.hero-center h1 {
    margin: 0;
    font-size: 50px;
    font-family: 'Euclid Circular A Light', sans-serif;
    color: rgb(255, 255, 255);
    letter-spacing: 1.5px;
    margin-top: 300px;
}

/* Texto destacado */
.highlight {
    font-family: 'Euclid Circular A Semibold', sans-serif;
}

/* Seccion contacto */
.seccion-contacto {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    margin-top: -100px;
}

/* Fila superior con línea roja centrada */
.fila-linea-transparente {
    height: 200px;
    position: relative;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.linea-roja {
    width: 3px;
    height: 150px;
    background-color: red;
}

/* Contenedor de columnas */
.contenedor-columnas {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.columna-contacto.izquierda {
    flex: 1;
    position: relative;
    z-index: 3;
}

.columna-contacto.izquierda img {
    width: 800px;
    height: auto;
    object-fit: cover;
    position: relative;
    top: -50px;
    left: 0;
}

/* Columna derecha con formulario */
.columna-contacto.derecha {
    flex: 1;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    background-color: #ffffff;
}

.titulo-columna2 {
    margin-bottom: 16px;
    font-family: 'Bebas Neue Bold', sans-serif;
    color: #3a3a3a;
    font-size: 90px;
}

.parrafo-form {
    font-family: 'Euclid Circular A Light', sans-serif;
    font-size: 20px;
    width: 550px;
    margin-bottom: 50px;
}

.bold {
    font-family: 'Euclid Circular A Bold', sans-serif;
    font-size: 20px;
}

.formulario-contacto {
    margin-right: 300px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #f1f1f1;
    background-color: #f1f1f1;
}

.btn-icono {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 40px;
    background-color: #3a3a3a;
    color: white;
    border: none;
    font-family: 'Euclid Circular A Bold', sans-serif;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.btn-icono img {
    width: 90px;
    height: 20px;
    object-fit: cover;
}

.btn-icono span {
    flex: 1;
    text-align: left;
}

input::placeholder,
textarea::placeholder {
    color: #3a3a3a;
    opacity: 1;
}

/*Seccion info*/
.seccion-carne {
    width: 100%;
    background-color: #ffe5d1;
    padding: 40px 0;
}

.contenedor-carne {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    gap: 20px;
}

.columna-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.icono-superior {
    width: 100px;
    height: auto;
}

.bloque-texto h4 {
    margin: 0;
    line-height: 1.3;
    font-family: 'Euclid Circular A Light';
    font-size: 20px;
}

.bloque-texto h5 {
    margin: 0;
    line-height: 1.3;
    font-family: 'Euclid Circular A Bold';
    font-size: 20px;

}

.columna-final {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 290px;
    padding: 20px;
    margin-left: -280px;
}

.iconos-finales {
    display: flex;
    gap: 10px;
}

.icono-inferior {
    width: 40px;
    height: auto;
    cursor: pointer;
}


/*Mapa*/
.seccion-mapa {
    width: 100%;
    background-color: #ffffff;
    text-align: center;

    padding-top: 100px;
}

.titulo-mapa {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.contenedor-mapa {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}


/*Footer*/
.footer {
    background-image: url('./img/index-img/Footer/fondo.png');
    background-size: cover;
    background-position: center;

    color: white;
    font-family: 'Euclid Circular A', sans-serif;
    padding-top: 200px;
    padding-bottom: 60px;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    text-align: left;
}

.footer-columna {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.imagen-footer {
    align-items: flex-start;
    justify-content: center;
}

.logo-footer {
    width: 200px;
    height: auto;
}

.bloque-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bloque-footer h4 {
    font-size: 18px;
    margin: 0;
    font-family: 'Euclid Circular A Bold', sans-serif;
    color: black;
}

.bloque-footer h3 {
    font-size: 20px;
    margin: 0;
    font-family: 'Euclid Circular A Ligth', sans-serif;
    color: black;
}

.columna-derecha {
    text-align: left;
    align-items: flex-start;
}

.footer-linea {
    width: 1600px;
    height: 2px;
    background-color: black;
    margin: 100px auto 0;
}

.texto-iconos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    padding-left: 250px;
    padding-right: 250px;
}

.texto-iconos span {
    font-size: 18px;
    color: black;
    font-family: 'HelveticaNeue', sans-serif;
}

.iconos {
    display: flex;
    gap: 10px;
}

.icono {
    width: 46px;
    height: 46px;
    cursor: pointer;
}


@media screen and (max-width:1366px) {

    body {
        overflow-x: hidden;
    }

    .columna-contacto.izquierda img {
        width: 500px;
        height: auto;
        object-fit: cover;
        position: relative;
        top: -50px;
        left: 0;
    }

    .formulario-contacto {
        margin-right: 200px;
    }
}

/* Moviles */
/* ==== RESPONSIVE PARA DISPOSITIVOS MÓVILES ==== */
@media screen and (max-width: 768px) {

    .navbar-nav {
        align-items: flex-start;
    }

    /* Iconos en fila a la izquierda */
    .navbar-nav .iconos {
        display: flex;
        flex-direction: row;
        gap: 1px;
        justify-content: flex-start;
        padding-left: 5px;
    }

    /* HERO */
    .hero {
        height: 50vh;
        background-position: center;
    }

    .hero-center h1 {
        font-size: 20px;
        margin-top: 110px;
        padding: 0 20px;
    }

    .fila-linea-transparente {
        display: none;
    }

    /* FORMULARIO */

    .seccion-contacto {
        margin-top: 20px;
        margin-bottom: 20px;
    }


    .contenedor-columnas {
        flex-direction: column;
        align-items: center;
    }

    .columna-contacto.izquierda img {
        width: 80%;
        top: 0;
    }

    .columna-contacto.derecha {
        width: 100%;
        padding: 20px;
    }

    .titulo-columna2 {
        font-size: 50px;
        text-align: center;
    }

    .parrafo-form {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .formulario-contacto {
        margin: 0;
    }

    .btn-icono {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-icono img {
        width: 60px;
        height: 16px;
    }

    /* INFO DE CONTACTO */
    .contenedor-carne {
        flex-direction: column;
        align-items: center;
    }

    .columna-info {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .columna-final {
        margin-left: 0;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    /* MAPA */

    .seccion-mapa {
        padding-top: 50px !important;
        padding: 30px 30px;
    }

    .contenedor-mapa iframe {
        width: 100% !important;
        height: 400px;
    }

    /* Footer */

    .footer {
        padding-top: 80px;
    }

    .footer-columna.imagen-footer {
        margin: 0 auto;
    }

    .footer-columna {
        margin: 0 auto;
    }

    .footer-columna.columna-derecha {
        text-align: center;
        margin: 0 auto;
    }

    .bloque-footer {
        width: 100%;
    }

    .footer-contenido {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .bloque-footer h4,
    .bloque-footer h3 {
        font-size: 18px !important;
    }

    .footer-linea {
        width: 90% !important;
        margin: 40px auto 0 !important;
    }

    .texto-iconos {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    .texto-iconos span {
        font-size: 16px !important;
    }

    .iconos {
        justify-content: center !important;
    }

    /* NAVBAR */
    .navbar-nav .nav-link {
        font-size: 18px;
        margin: 5px 0;
    }
}