@font-face {
    font-family: 'gill';
    src: url('../fonts/gill-sans-mt-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.gill {
    font-family: 'gill', sans-serif;
}
/* ==============================
   VARIABLES
============================== */
:root {
    /*--color-dorado: #ca882f;*/
    --color-dorado:  #d29d01;
    --color-dorado-hover: #b67a2a;
    --color-negro: #000000;
    --color-blanco: #FFFFFF;
    --color-whatsapp-verde: #25D366;
    --color-whatsapp-resplandor: rgba(37, 211, 102, 0.7);
}

/* ==============================
   RESET Y BASE
============================== */
body {
    font-family: 'Roboto', sans-serif;
    padding-top: 70px; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}
main.container {
    flex: 1; 
}
.texto-justificado {
    text-align: justify!important;
}
.text-dorado,
.actual {
    color: var(--color-dorado)!important;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-size: 0.9rem!important;
}
.navbar .proyectos-link {
    color: var(--color-dorado) !important;
    font-weight: 400;
}
.navbar .proyectos-link:hover {
    filter: brightness(0.9);
    color: var(--color-dorado) !important;
}
.navbar .contactanos-link {
    color: #555 !important;
    font-weight: 400;
}
.navbar .contactanos-link:hover {
    color: #333 !important;
}
.navbar-v-divider {
    border-left: 3px solid  var(--color-dorado);
    height: 30px;
    margin: 0 0.5rem;
    font-weight: bold;
}
.navbar-nav .nav-link {
    font-weight: bold;
}
.navbar-nav .nav-link.active-link,
.navbar-nav .nav-link:hover {
    color: var(--color-dorado)!important;
}

/* ==============================
   HAMBURGER
============================== */
.hamburger-button {
    color: #333;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}
.hamburger-button:hover,
.hamburger-button:focus {
    color: var(--color-negro);
}

/* ==============================
   WHATSAPP BUTTON
============================== */
.whatsapp-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-whatsapp-verde);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 0 0px 0px var(--color-whatsapp-resplandor);
}
.whatsapp-icon-wrapper:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 0 15px 5px var(--color-whatsapp-resplandor);
}


/* ==============================
   BOTON COTIZAR
============================== */
.btn-cotiza-fixed {
    position: fixed;
    right: 0;
    bottom: 100px; /* Ajusta según el botón de WhatsApp */
    background-color: var(--color-dorado);
    color: var(--color-negro);
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none!important;
}

.btn-cotiza-fixed:hover {
    background-color: var(--color-dorado-hover);
    color: var(--color-negro);
    text-decoration: none;
}

/* Responsivo: Ajustes para móviles */
@media (max-width: 575.98px) {
    .btn-cotiza-fixed {
        bottom: 120px; /* más alto si el botón de WhatsApp está en 25px */
        font-size: 0.85rem;
        padding: 8px 16px;
        border-radius: 6px 0 0 6px;
    }
}


/* ==============================
   OFFCANVAS MENU
============================== */
.offcanvas {
    background-color: var(--color-negro);
    color: #ffffff;
    width: 320px !important;
}
.offcanvas-header {
    border-bottom: 1px solid #444;
    padding: 1rem 1.5rem;
}
.offcanvas-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 69px); 
}
.offcanvas-body i {
    color: var(--color-dorado)!important;
}
.offcanvas-body .navbar-nav .nav-link {
    color: #ffffff;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 400;
}
.offcanvas-body .navbar-nav .nav-link.active-link,
.offcanvas-body .navbar-nav .nav-link:hover {
    color: var(--color-dorado)!important;
}
.offcanvas-body .navbar-nav .nav-link i {
    color: #adb5bd;
}
.offcanvas-body .navbar-nav .nav-link.active-link i,
.offcanvas-body .navbar-nav .nav-link:hover i {
    color: var(--color-dorado)!important;
}
.contact-info-offcanvas h5 {
    color: #ffffff;
    border-bottom: 1px solid var(--color-dorado);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem !important; 
    font-weight: normal;
}
.contact-info-offcanvas p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}
.contact-info-offcanvas p i {
    color: var(--color-dorado);
    width: 20px;
}
.offcanvas-social-icons {
    margin-top: auto !important;
    padding-top: 1rem;
    border-top: 1px solid #444;
    text-align: left; 
}
.offcanvas-social-icons a i {
    color: #ffffff;
    transition: color 0.2s;
}
.offcanvas-social-icons a:hover i {
    color: var(--color-dorado);
}
.btn-close-custom {
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 0.5rem;
    line-height: 1;
    opacity: 1;
}
.btn-close-custom i {
    color: var(--color-dorado);
}
.btn-close-custom:hover i {
    color: #fff;
}

/* ==============================
   SECCIONES Y TITULOS
============================== */
.section-title-main {
    font-weight: 700; 
    font-size: 2rem;
    color: var(--color-negro);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}
.decorative-line-wrapper {
    display: flex;
    justify-content: center;
}
.decorative-line {
    width: 70px;
    height: 4px;
    background-color: var(--color-dorado);
    border-radius: 2px;
}
.project-header-image {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

/* ==============================
   FOOTER
============================== */
.footer-section {
    background-color: var(--color-negro);
    margin-top: auto; 
}
.footer-column-content {
    text-align: left;
}
.footer-logo {
    max-height: 45px; 
    display: block;
    margin-bottom: 0.5rem;
}
.footer-address-line {
    font-size: 0.9rem;
    color: #ccc; 
    margin-bottom: 0.3rem;
    line-height: 1.4; 
}
.footer-heading-column {  
    color: #e0e0e0;
    font-size: 0.9rem; 
    font-weight: normal!important;
    /*text-transform: uppercase;*/
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem !important; 
}
.footer-contact-info p,
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-contact-info p a,
.footer-links li a {
    color: #f0f0f0; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease-in-out;
}
.footer-contact-info p a:hover,
.footer-links li a:hover {
    color: var(--color-dorado);
    text-decoration: none;
}
.footer-contact-info .whatsapp-footer a {
    color: var(--color-dorado); 
    font-weight: 500;
}
.footer-contact-info .whatsapp-footer a i {
    margin-right: 0.3rem;
    font-size: 1.1rem; 
}
.footer-links ul,
.footer-links {
    padding-left: 0;
    list-style: none;
    /*font-weight: bold;
    text-transform: uppercase;*/
}
.footer-social .social-icon {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-dorado);
    color: var(--color-negro); 
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-social .social-icon:hover {
    background-color: var(--color-dorado-hover)!important;
    color: var(--color-negro);
}
.footer-copyright {
    font-size: 0.85rem;
    color: #999; 
}

/* ==============================
   SCROLL TO TOP BUTTON
============================== */
.scroll-to-top-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    background-color: var(--color-dorado);
    color: var(--color-negro);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex; 
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden; 
    transform: translateY(10px); 
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s, transform 0.4s ease-in-out;
}
.scroll-to-top-button.show {
    opacity: 1;
    visibility: visible; 
    transform: translateY(0);
    transition-delay: 0s; 
}
.scroll-to-top-button:hover {
    filter: brightness(0.9);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 991.98px) {
    .navbar-v-divider { display: none !important; }
    .navbar .d-none.d-lg-flex { display: none !important; }
    body { padding-top: 60px; }
    .navbar-brand { margin-left: 0.5rem !important; }
    .scroll-to-top-button { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1.1rem; }
    .footer-column { margin-bottom: 2rem; }
    .footer-column:last-of-type { margin-bottom: 0; }
    .footer-column.mt-lg-5 { margin-top: 0 !important; }
    .footer-column-content { margin: 0; max-width: none; }
}
@media (max-width: 767.98px) {
    .footer-section { padding: 0 20px; }
    .section-title-main { font-size: 1.7rem; }
    .section-subtitle { font-size: 1rem; }
    .decorative-line { width: 50px; height: 3px; }
}
.fs-7 {
    font-size: 0.85rem!important;
}


/* Estilos para el campo de subida de archivo personalizado */

.custom-file-upload {
    position: relative;
    display: block;
}

/* El label que el usuario ve y con el que interactúa */
.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente */
    width: 100%;
    height: 120px; /* Altura del área para hacer clic */
    border: 2px dashed #e0e0e0; /* Borde punteado y color gris claro */
    border-radius: .375rem;
    background-color: #f8f9fa; /* Un fondo muy sutil */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.file-upload-label:hover {
    border-color: #c0c0c0; /* Borde un poco más oscuro al pasar el mouse */
    background-color: #f1f3f5;
}

/* El icono de la imagen */
.file-upload-icon i {
    font-size: 2.5rem; /* Tamaño del icono */
    color: #adb5bd; /* Color gris del icono */
    margin-right: 1rem; /* Espacio entre el icono y el texto */
}

/* El texto "Adjuntar foto..." o el nombre del archivo */
.file-upload-text {
    font-size: 1rem;
    color: #6c757d; /* Color gris del texto */
    font-weight: 400;
}
