/* styles.css */
/* main.css */
:root {
  --nav-height: 0px;
}
/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
main {
  margin-top: 1rem;
}
/* Navbar sticky */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  padding: 1rem 2rem 0.5rem 1.5rem;
  position: sticky;
  top: 0;
  background-image: url('../images/marmol.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid transparent;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* sombra suave */

}
.navbar nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
#burger-btn {
  position: relative;          /* necesario para que translateY no afecte al resto */
  transform: translateY(-0.33rem);  /* sube ≈4px */
}

/* Logo */
.logo-img {
  max-height: 40px;
  width: auto;
}
/* Botones */
nav button {
  background: none;
  border: none;
  margin-left: 0.5rem;
  margin-top: 0.8rem;

}

nav a {
  text-decoration: none;
}
.icon--large {
  width: 2.125rem;    /* e.g. 40px */
  height: 2.125rem;
  stroke-width: 1.625;  /* adjust line thickness if you like */
}

#cart-badge {
  position: absolute;
  top: 4px;             /* separación del borde superior del botón */
  right: 4px;           /* separación del borde derecho */
  width: 1rem;
  height: 1rem;
  background: #b69856;  /* dorado de la marca */
  color: #fff;
  border-radius: 50%;   /* círculo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;

  pointer-events: none; /* deja pasar clic al botón bajo el badge */

  top: -0.2em;         /* sube 4px */
  right: -0.5rem;       /* corre 4px a la derecha */
  font-size: 0.75rem;    /* 12px → 10px aprox. en proporción */
}

/* Utilidad para ocultar */
.hidden {
  display: none !important;
}



/* 2. Menú desplegable estético y oculto por defecto */
.menu {
  background: linear-gradient(to bottom, #ffffff, #f2f2f2);
  backdrop-filter: blur(8px);
  position: fixed;
  top: var(--nav-height);    
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: opacity 0.6s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(-5%);
}
.menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Lista de enlaces */
.menu ul {
  list-style: none;
}
.menu li + li {
  margin-top: 1rem;
}
.menu a {
  display: block;
  padding: 0.50rem 1rem;
  font-family: 'Cormorant Unicase', sans-serif;
  font-size: large;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.menu a:hover {
  background: rgba(212,175,55,0.1);
  color: #b8922f;
}
.menu a + a {
  border-top: 1px solid #e5e5e5;
}
.menu a:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.menu a.active {
  color: #d4af37; /* dorado vivo */
  font-weight: 700;
  background: rgba(212,175,55,0.2); /* sombra dorada suave */
}


/* ================================
   PIE DE PÁGINA REDISEÑADO
   ================================ */

   .site-footer {
    background-image: url('../images/marmol.webp');
    background-size: cover;
    background-position: center;
    padding: 2rem 1rem;
    color: #2e2e2e;
    font-family: sans-serif;
  }
  
  /* Contenedor columnas: mobile apilado, tablet+ grid */
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  @media (min-width: 768px) {
    .footer-content {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
  }
  
  /* Columnas individuales */
  .footer-col {
    text-align: center;
  }
  @media (min-width: 768px) {
    .footer-col {
      text-align: left;
    }
  }
  
  /* Logo pequeño y lema */
  .footer-logo-small {
    max-width: 15rem;
    margin: 0 auto 0.5rem;
  }
  .footer-tagline {
    font-family: 'Red Hat Display', serif;
    font-size: 1rem;       /* texto normal */
    color: #555;
    margin: 0 0 1rem;
    line-height: 1.4;
  }
  
  /* Separadores: invisibles mobile, visibles desktop */
  .footer-separator--col1,
  .footer-separator--col2 {
    display: none;
  }
  @media (min-width: 768px) {
    .footer-separator--col1 {
      display: block;
      width: 40px;
      height: 2px;
      background: #b69856;
      margin: 0.5rem 0 1rem;
    }
    .footer-separator--col2 {
      display: block;
      width: 25px;
      height: 2px;
      background: #b69856;
      margin: 0.5rem 0 1rem;
    }
  }
  
  /* Encabezados de columna (subtítulos) */
  .footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;     /* subtítulo */
    font-weight: 600;
    color: #2e2e2e;
    margin: 0 0 0.75rem;
  }
  
  /* Detalles (horario, dirección, contacto) */
  .footer-detail {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;       /* texto normal */
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    margin: 0 0 0.75rem;
  }
  .footer-detail a {
    color: inherit;
    text-decoration: none;
  }
  
  /* Redes sociales (50% más grandes) */
  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  @media (min-width: 768px) {
    .footer-socials {
      justify-content: flex-start;
    }
  }
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;   /* antes 32px */
    height: 48px;  /* antes 32px */
    padding: 12px; /* antes 8px */
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
  }
  .social-icon img {
    width: 100%;
    height: auto;
  }
  
  /* CTA intermedio */
  .footer-cta {
    text-align: center;
    margin: 2rem 0 1.5rem;
  }
  .footer-cta p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;       /* texto normal */
    color: #555;
    margin: 0;
  }
  .footer-cta a {
    color: #b69856;
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.2s;
  }
  .footer-cta a:hover {
    text-decoration: underline;
  }
  
  /* Legal */
  .footer-legal {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
    text-align: center;
  }
  .footer-legal p {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;       /* texto normal */
    color: #555;
    margin: 0 0 0.75rem;
  }
  .footer-legal__nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;       /* texto normal */
    color: #555;
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
  }
  .footer-legal__nav a:hover {
    text-decoration: underline;
  }
  