@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

:root {
  --color-primary: #00d1b2;
  --color-white: #fefeff;
  --color-off-white: #f5f5f5;
  --color-black: #000;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--color-off-white);
  scroll-behavior: smooth;
}

header {
  background-color: var(--color-black);
  position: relative;
  /* Needed for ::before absolute positioning */
  display: flex;
  align-items: center;
  justify-content: center;
}



.navbar,
.navbar-menu {
  background-color: transparent;
}

.navbar-start {
  padding: 0 1rem;
}

a.navbar-item:hover {
  background-color: transparent;
}

a.is-transparent {
  background-color: transparent;
  color: var(--color-white);
  border: none;
}

a.is-transparent:hover {
  background-color: var(--color-primary);
}

.navbar-item-active {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  /* Or 'blue' if you prefer */
  text-underline-offset: 6px;
  /* Adjust to move the line down */
  text-decoration-thickness: 2px;
  /* Adjust for a thicker line */
}

img {
  object-fit: cover;
}

.card-image>.image>.swiper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.card-image {
  height: 100%;
  width: 100%;
}

.isotope-button {
  font-weight: bold;
}

.isotope-button:active,
.isotope-button.is-selected {
  /* Color de text primari per al botó actiu/seleccionat */
  color: var(--color-primary);
}

.content .property-info {
  /* Reseteig de padding i margin per a llistes d'informació */
  padding: 0;
  margin: 0;
}

.content .property-info:not(:last-child) {
  /* Eliminar marge inferior si no és l'últim fill (encara que el valor sigui 0) */
  margin-bottom: 0;
}

.property-info li {
  list-style: none;
}

@media (max-width: 480px) {
  .flex-aside {
    flex-direction: column;
  }
}

.testimonial-card {
  border: 1px solid var(--color-primary);
  background-color: var(--color-white);
  border-radius: 0.25rem;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
    0 0 0 1px rgba(10, 10, 10, 0.02);
}

.testimonial-image {
  margin: 0 auto;
}

.slick-slide {
  margin: 0 15px;
}

#scroll-button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
}

.blue-title {
  color: #3399FF;
}

a {
  color: #2e7ccb !important;
}


a.black-title {
  color: black !important;
}

a.blue-title {
  color: #3399FF !important;
}

a:hover {
  color: #3399FF !important;
}

a.navbar-link {
  color: white !important;
}

.blue-background {
  background-color: #3399FF !important;
}

.blue-icon {
  color: #007BFF;
}

.button.is-blue {
  background-color: #007BFF;
  ;
  border-color: transparent;
  color: #fff;
}

.is-selected2 {
  color: #007BFF;
}

.text-not-selected {
  color: #8fbbe7;
}

.blue-text {
  color: #007BFF;
}

h2,
h3,
h4,
strong {
  font-family: Montserrat, sans-serif;
}

/* Per a mòbils (pantalles de menys de 768px) */
@media (max-width: 768px) {
  a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    /* Afegim !important per sobreescriure l'estil global d'aquest fitxer */
    color: #007bffff !important;
  }
}

/* Per a PC */
@media (min-width: 769px) {
  a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  a:hover {
    color: #6fb3fbff !important;
  }
}

a.no-underline {
  text-decoration: none !important;
  text-underline-offset: 0px !important;
}

/* Force mobile menu on tablets and smaller (up to 1216px) to prevent overflow */
@media screen and (max-width: 1215px) {
  .navbar-menu {
    display: none;
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-burger {
    display: block;
  }
}

/* Desktop menu only on larger screens (1216px+) */
@media screen and (min-width: 1216px) {
  .navbar-menu {
    display: flex !important;
  }

  .navbar-burger {
    display: none !important;
  }
}

.navbar-dropdown .fi {
  display: inline-block !important;
  width: 1.33em !important;
  min-width: 1.33em !important;
  flex-shrink: 0 !important;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* Mobile dropdown menu fix */
@media screen and (max-width: 1023px) {
  .navbar-item.has-dropdown.is-active .navbar-dropdown {
    display: block !important;
  }
}

/* Fix navbar dropdown width for user menu only */
.navbar-dropdown.user-menu-dropdown {
  width: 50%;
}

/* Add separator lines to all navbar dropdown items */
.navbar-dropdown .navbar-item {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-top: 1px solid #dbdbdb;
}

.navbar-dropdown .navbar-item:first-child {
  border-top: none;
}

/*
Color,Nom (Aprox.),Codi Hexadecimal,Ús Suggerit,Accessibilitat (Contrast amb Blanc)
Blau Fosc Principal,Blau Marí,#003366,"Fons de peus de pàgina, elements clau, text sobre fons clar.",Excel·lent
Blau Corporatiu/Acció,Blau Reial,#007BFF,"Botons (CTAs), enllaços actius, icones importants, capçaleres.",Bo (assequible)
Blau Mitjà,Blau Cel Fosc,#3399FF,"Fons de seccions, gràfics, il·lustracions, hover de botons.",Inadequat per a text petit sobre ell
Blau Clar (Suport),Blau Gel,#C6E2FF,"Fons subtils, highlights, avisos informatius.",Requereix text fosc
Blau Molt Fosc (Text),Blau Nit,#001F3F,"Text principal, títols (alternativa al negre pur).",Excel·lent
*/

/* Fix icon alignment in Bulma input fields */
.control.has-icons-left .icon.is-left {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.control.has-icons-left .input {
  padding-left: 2.5rem !important;
}

/* Gray placeholder text */
.input::placeholder,
.textarea::placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

/* Firefox */
.input::-moz-placeholder,
.textarea::-moz-placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

/* Internet Explorer 10-11 */
.input:-ms-input-placeholder,
.textarea:-ms-input-placeholder {
  color: #999 !important;
}

/* Microsoft Edge */
.input::-ms-input-placeholder,
.textarea::-ms-input-placeholder {
  color: #999 !important;
}


.footer-section-title {
            display: inline-block;
            padding-bottom: 0.4rem;
            margin-bottom: 0.75rem;
            position: relative;
        }
.footer-section-title::after {
            content: '';
            display: block;
            width: 100%;
            height: 3px;
            background-color: #00c4b4;
            margin-top: 0.35rem;
        }
 

    #footer-links ul li {
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
        width: 50%;
    }

    #footer-links ul li:last-child {
        border-bottom: none;
    }

    #footer-links ul li a::before {
        margin-right: 0.4rem;
        color: #aaa;
    }

