/*



*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {

  /* === BRAND COLORS === */

  --primary-color: #7E7F5F;        /* Olivo (Acento estratégico) */
  --title-color: #53565A;          /* Cool Gray 11 (Títulos) */
  --p-color: #53565A;              /* Texto principal */

  --section-bg-color: #FFFFFF;     /* Fondo base limpio */
  --secondary-bg-color: #E5D3B3;   /* Arena (<strong>Seccio</strong>nes cálidas) */
  --light-bg-color: #D7D2CB;       /* Warm Gray 1 (Fondos suaves) */

  --dark-color: #53565A;
  --grey-color: #D7D2CB;

  --text-secondary-white-color: rgba(255, 255, 255, 0.95);

  /* === TYPOGRAPHY === */

  --body-font-family: 'Inter', sans-serif;
  --heading-font-family: 'Playfair Display', serif;

  --h1-font-size: 64px;
  --h2-font-size: 40px;
  --h3-font-size: 32px;
  --h4-font-size: 26px;
  --h5-font-size: 22px;
  --h6-font-size: 18px;

  --p-font-size: 18px;
  --copyright-text-font-size: 14px;
  --custom-link-font-size: 13px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
  --font-weight-black: 800;
}
body,
html {
  height: 100%;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.telefono-color {
    color: var(--white-color); /* Un azul profesional */
    text-decoration: none; /* Opcional: quita el subrayado */
    
}


.site-footer .telefono-color:hover {
  color: #F7EBC6;
}



/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

/*---------------------------------------
  NAVBAR LOGO (BIOÁ)
-----------------------------------------*/

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 1;
}

.logo-navbar {
  height: 40px;              /* tamaño ideal desktop */
  width: auto;
  max-width: 160px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Tablet */
@media (max-width: 991px) {
  .logo-navbar {
    height: 36px;
    max-width: 145px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo-navbar {
    height: 32px;
    max-width: 130px;
  }
}


.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  BARRA COLOR VERDE               
-----------------------------------------*/
.bioa-bar{
width:100%;
background:#7A8A63;
display:flex;
align-items:center;
justify-content:center;
padding:6px 0;
}

.bioa-bar-text{
color:#ffffff;
font-size:18px;
font-weight:500;
letter-spacing:2px;
text-transform:uppercase;
font-family:inherit;
}
/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

/* Team carousel – MARÉE brand color */
.team-thumb-maree {
  background-color: var(--primary-color); /* Azul verdoso MARÉE */
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS Esta es la seccion de Proyectos             
-----------------------------------------*/

.news,
.related-news /* Projects section override */
#news {
  background: var(--white-color);
}

/*--------------------------------------- 
  PROJECTS – SEPARATOR LINE
  Línea horizontal antes de la sección Projects
-----------------------------------------*/
#news {
  position: relative;
}

#news::before {
  content: "";
  display: block;
  width: 80%;
  max-width: 1200px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12); /* Línea separadora sutil antes de Projects */
  margin: 0 auto 4rem auto;       /* Espaciado superior de la sección */
}

/*---------------------------------------
  CONTENEDOR GENERAL DE CADA PROYECTO
-----------------------------------------*/
.news-thumb {
  position: relative; /* Permite posicionar etiquetas encima de la imagen */
}

/*---------------------------------------
  ETIQUETAS DE CATEGORÍA
  (Remodeling / Commercial / Industrial)
-----------------------------------------*/
.news-category {
  /* background: var(--white-color); Fondo de la etiqueta de categoría */
  background: var(--primary-color); /* Fondo de la etiqueta de categoría */
  position: absolute;             /* Posicionada sobre la imagen */
  z-index: 9;                     /* Siempre visible encima */
  top: 0;
  left: 0;
  padding: 4px 12px;              /* Tamaño visual de la etiqueta */
  display: inline-block;
}

/*---------------------------------------
  INFORMACIÓN DE TEXTO DEL PROYECTO
-----------------------------------------*/
.news-text-info {
  margin: 0 20px; /* Separación lateral del texto */
}

/*---------------------------------------
  TÍTULO DEL PROYECTO
-----------------------------------------*/
.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color); /* Color base del título */
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color); /* Color del título al pasar el mouse */
}

/*---------------------------------------
  IMÁGENES DE PROYECTOS
-----------------------------------------*/
.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out; /* Suaviza el zoom al hover */
}

/*---------------------------------------
  CONTENEDOR DE IMAGEN + EFECTO HOVER
-----------------------------------------*/
.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden; /* Oculta desbordes del zoom */
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

/*---------------------------------------
  LÍNEA ANIMADA INFERIOR (HOVER)
-----------------------------------------*/
.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1);
  background: #198754; /* Color base del efecto hover (no usado en MARÉE) */
}

/*---------------------------------------
  VARIANTES DE COLOR DEL HOVER
  (Adaptadas al beige arena de MARÉE)
-----------------------------------------*/
.news-image-hover-warning::after {
  background: #EFCF9A; /* Beige arena – identidad MARÉE */
}

.news-image-hover-primary::after {
  background: #EFCF9A; /* Beige arena – identidad MARÉE */
}

.news-image-hover-success::after {
  background: #EFCF9A; /* Beige arena – identidad MARÉE */
}

/*---------------------------------------
  ACTIVACIÓN DEL EFECTO HOVER
-----------------------------------------*/
.news-image-hover:hover::after {
  width: 100%; /* La línea se expande completamente */
  left: 0;
  right: auto;
  z-index: 9;
}

/*---------------------------------------
  EFECTO ZOOM SUAVE SOBRE IMAGEN
-----------------------------------------*/
.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02); /* Zoom controlado */
}

/*---------------------------------------
  TARJETAS DE DOS COLUMNAS
  (Control de tamaño exacto de imagen)
-----------------------------------------*/
.news-two-column {
  min-height: 199px; /* Altura fija para uniformidad */
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* La imagen se recorta sin deformarse */
}

/*---------------------------------------
  TEXTO AUXILIAR / SOCIAL
-----------------------------------------*/
.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65); /* Texto secundario */
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 2rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'] {
  background: #1f2a28;   /* verde oscuro sofisticado */
  border: none;
  border-radius: 100px;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.contact-form button[type='submit']:hover {
  background: #c7a15a;   /* tono arena / natural */
  color: #ffffff;
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}


/*---------------------------------------
  PARALLAX SECTION (PLANTILLA PROYECTOS)
-----------------------------------------*/
.parallax-section {
    height: 450px; /* Altura de la ventana de la foto */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efecto oscurecedor suave sobre la imagen parallax para que el texto resalte */
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
}

/* Estilo para un título opcional sobre el parallax */
.parallax-title {
    color: var(--white-color);
    position: relative;
    z-index: 2;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Ajuste para móviles (El efecto fixed suele dar problemas en iOS/Android) */
@media screen and (max-width: 991px) {
    .parallax-section {
        height: 300px;
        background-attachment: scroll; /* Cambia a scroll en móvil para evitar errores */
    }
}
/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/*---------------------------------------
  HERO TAGLINE
-----------------------------------------*/

/* Desktop */
.heroText {
  left: 50% !important;
  transform: translate(-50%, -50%) translateY(180px) !important; /* ⬅ baja más */
  text-align: center;
}

.hero-tagline {
  display: inline-block;
  font-size: 36px;
  font-weight: 300; /* ⬅ texto sencillo */
  color: var(--white-color);
}

/* Tablet */
@media (max-width: 991px) {
  .heroText {
    transform: translate(-50%, -50%) translateY(40px) !important;
  }

  .hero-tagline {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .heroText {
    transform: translate(-50%, -50%) translateY(20px) !important;
  }

  .hero-tagline {
    font-size: 14px;
  }
}




