
/* MENU B&D GARAGE */
/* =====================
   VARIABLES GENERALES
===================== */
:root {
  --header-height: 40px;
  --logo-size: 120px;
  --logo-gap: 24px;

  --header-bg: #000;
  --brand-color: #00B5D9;
  --menu-text: #ffffff;
}
@media (max-width: 768px) {
  :root {
    --menu-text: #ffffff; 
}
}
/* =====================
   BARRA NEGRA
===================== */
.web-navbar-dark {
  background-color: var(--header-bg);
}

/* Wrapper que reserva altura */
.header-wrapper {
  height: var(--header-height);
  padding-bottom: calc(var(--logo-size) - var(--header-height));
}

/* Container relativo (CLAVE) */
.header-container {
  position: relative;
  height: 100%;
}

/* =====================
   LOGO FLAG
===================== */
.web-flag-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  background-color: var(--brand-color);

  position: absolute;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.web-flag-logo img {
  max-width: 70%;
  height: auto;
}

/* =====================
   GRID HEADER
===================== */
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 100%;

  padding-left: calc(var(--logo-size) + var(--logo-gap));
}

/* =====================
   BRANDS
===================== */
.header-brands {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-brands img {
    width: 50px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.header-brands img .pay{
    width: 80px !important;
}
.header-brands img:hover {
  opacity: 1;
}

/* =====================
   MENÚ PRINCIPAL
===================== */
.web-navbar-nav-white {
  padding-left: calc(var(--logo-size) + var(--logo-gap)) !important;
  padding-top: 18px; 
}
.web-navbar-nav-white .nav-link {
    color: var(--menu-text) !important;
    font-family: "Google Sans Flex", sans-serif !important;
    letter-spacing: 1px;
    font-size: 1rem;
}
@media (max-width: 991px) {
  .nav-link {
    color: rgb(216, 216, 216) !important;
  }
}
.active-page {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--brand-color);
}

/* =====================
   MOBILE MENU
===================== */
.web-navbar-open {
  position: fixed;          /* 🔑 */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(30px);

  padding: 40px;
  z-index: 9999;

  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.web-navbar-open.show {
  transform: translateY(0);
  opacity: 1;
}

.web-navbar-open.collapsing {
  height: 100vh;         
  display: block;  
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-header img {
  width: 60px;
}

.close {
  background: none;
  border: 0;
  color: white;
  font-size: 1.5rem;
}
.navbar-toggler {
  position: absolute;
  top: 50%;             
  right: 0;             
  transform: translateY(-50%);
  z-index: 20;           
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
}

/* =====================
   MOBILE LINKS
===================== */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    color: white;
    font-size: 14px;
    padding: 10px 0;
  }
}

.language-switch a{
    font-family: "Google Sans Flex", sans-serif;
    color: #27A8FF !important;
    font-weight: 600;
}
a{
    text-decoration: none !important;
}
.btn-default {
    color: #FAFBFC;
    font-size: 16px;
    font-family: "Google Sans Flex", sans-serif;
    line-height: 28.11px;
    letter-spacing: 0.8px;
    word-wrap: break-word;
    padding: 4px 28px 4px 28px;
    background-color: #00B5D9;
    border-radius: 100px;
    box-shadow: 4px 7px 13px 4px rgba(13, 167, 253, 0.12);
    transition: background-color 0.5s ease;
}
.btn-default:hover{
    background-color: #00608d;
    color: #FAFBFC !important;
    transition: background-color 0.3s ease;
}

/* =====================
   HERO
===================== */
.web-cl-hero{
  width: 100%;
  min-height: calc(100vh - 45px);
    background: linear-gradient(
    to bottom,
    #016A9A 0%,
    #016A9A 30%,
    #00B5D9 100%
    );
    font-family: "Google Sans Flex", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.web-cl-hero h1{
    font-size: clamp(1.5rem, 6vw, 6rem);
    text-align: center;
    font-weight: 500;
}

.web-cl-hero-img{
    width: 100%;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}