/* =========================
   GLOBAL.CSS (UPDATED)
   ========================= */

/* 1) CUSTOM FONT */
@font-face {
  font-family: myFirstFont;
  src: url(/assets/fonts/Now-Light.otf);
}

body {
    background-color: #FFFAEC; 
        font-family: myFirstFont; /* Your custom font */

}

/* 2) NAVBAR */
.navbar {
  width: 100%;
  background-color: #FFFAEC;
  padding: 5px 0;
  margin-top: 7px;
}

.navbar-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem; /* Horizontal padding inside navbar */
}

/* BRAND TITLE (merged homepage style) */
.brand h1 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.5px;
}
.brand h1 span {
  font-weight: 300;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* NAV MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 3rem; /* Space between menu items */
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
  position: relative; /* for ::before pseudo-element */
}

/* NAV LINKS (font size & weight from homepage) */
.nav-menu li a {
  text-decoration: none;
  color: #000;
  font-weight: 400;  /* was 500 */
  font-size: 1.2rem;   /* was 1.4rem */
  letter-spacing: 0.5px;
  position: relative; /* for underline animation */
}

/* Underline Animation for Hover */
.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: -2px; /* just below the text */
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

/* On hover or active, animate the underline */
.nav-menu li:hover a::before,
.nav-menu li.active a::before {
  width: 100%;
}

/* Hide line when not active/hovering */
.nav-menu li:not(.active):not(:hover) a::before {
  width: 0;
}



#calle {
  font-size: 13px;
}

#bjm {
  font-size: 13px;
  font-weight: bold;
}

footer {
  text-align: center;
}

footer p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #6c757d;
  letter-spacing: 0.5px;
  margin: 0;
}


  /* Language Switcher Styling */
  .language-links {
    display: flex;
    justify-content: center;
    gap: 1rem;  /* Adjust spacing between language links as needed */
    margin-bottom: 1rem; /* Spacing between links and hr */
  }
  
  .language-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
  }
  
  /* Optional hover effect */
  .language-links a:hover {
    text-decoration: underline;
  }
  
  /* Mobile adjustments for language links */
  @media (max-width: 768px) {
    .language-links {
      gap: 0.8rem;
      font-size: 0.9rem;
    }
  }




/* Responsive Footer Tweaks for Mobile */
@media (max-width: 768px) {


  h2 {
    font-size: 1rem;
  }

  .brand h1 {
    font-size: 0.9rem;
  }

  .nav-menu li a {
    font-size: 0.9rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }

  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }

  @media (max-width: 768px) {
    .nav-menu li a {
      font-size: 0.9rem !important;
    }
  }
  

}

@media (max-width: 1200px) {
    /* Hide the brand on mobile */
    .brand {
      display: none;
    }
  
    /* Center the nav menu across the screen */
    .navbar-container {
      justify-content: center;
    }
      
    
    .nav-menu {
      gap: 2rem; /* Reduce the gap if needed */
    }
  }
