/* =======================
   RESET GENERAL
   ======================= */
body {
  margin: 0;
  font-family: sans-serif;
  text-align: center;
  padding: 20px;
}

/* =======================
   TEMAS (fondos + color base del texto)
   ======================= */
body.claro        { background: #ffffff; color: #000; }
body.oscuro       { background: #1a1a1a; color: #fff; }
body.gris         { background: #f0f0f0; color: #111; }
body.corporativo  { background: #ffffff; color: #001f3f; }   /* blanco + azul marino */
body.elegante     { background: #000000; color: #d4af37; }   /* negro + dorado */
body.fresco       { background: #eaffea; color: #225522; }   /* verde suave */
body.moderno      { background: #ffffff; color: #6a0dad; }   /* blanco + violeta */

/* =======================
   TOPBAR (hamburguesa)
   ======================= */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hamburger {
  font-size: 26px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

/* =======================
   MENÚ LATERAL
   ======================= */
.menu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.8);
  position: fixed;
  top: 0; left: 0;
  width: 200px;
  height: 100%;
  padding: 20px;
}
.menu a {
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  display: block;
}
body.menu-open .menu { display: flex; }

/* =======================
   LOGO
   ======================= */
.logo img {
  max-height: 120px;  /* límite vertical */
  max-width: 90%;     /* límite horizontal relativo a la pantalla */
  height: auto;       /* mantiene proporción */
  width: auto;        /* mantiene proporción */
}
.logo.whitebg {
  background: #fff;
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

/* =======================
   BOTONES PRINCIPALES
   ======================= */
.btn {
  display: block;
  margin: 10px auto;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  width: 80%;
  max-width: 300px;
  color: #fff;
}

/* Variante gris */
.btn.grises { background: #444; }

/* Variante por servicio (cuando elegís “colores”) */
.btn.whatsapp  { background: #25D366; }   /* verde WhatsApp */
.btn.phone     { background: #0088cc; }   /* azul llamada */
.btn.gmail     { background: #d93025; }   /* rojo Gmail */
.btn.linkedin  { background: #0a66c2; }   /* azul LinkedIn */
.btn.instagram { background: #E1306C; }   /* rosa Instagram */
.btn.facebook  { background: #1877F2; }   /* azul Facebook */
.btn.youtube   { background: #FF0000; }   /* rojo YouTube */
.btn.tiktok    { background: #000000; }   /* negro TikTok */
.btn.x         { background: #1DA1F2; }   /* celeste X */
.btn.website   { background: #6a0dad; }   /* violeta Website */
.btn.g_review  { background: #34A853; }   /* verde Google */
.btn.f_review  { background: #1877F2; }   /* azul Facebook (reseñas) */
.btn.address   { background: #555555; }   /* gris "Cómo llegar" */
.btn.colores.extra1 { background:#ff5733; color:#fff; } /* naranja */
.btn.colores.extra2 { background:#28a745; color:#fff; } /* verde */
.btn.colores.extra3 { background:#007bff; color:#fff; } /* azul */
.btn.colores.extra4 { background:#6f42c1; color:#fff; } /* violeta */

/* =======================
   BLOQUE ICONOS (vCard y compartir)
   ======================= */
.btn-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 20px; /* separación entre iconos */
}
.btn-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  color: inherit;
}
.btn-icon img {
  width: 150px;   /* tamaño grande de icono */
  height: 150px;
  margin-bottom: 6px;
}

/* =======================
   FAVORITO
   ======================= */
#fav-btn.active img { filter: drop-shadow(0 0 5px gold); }

/* =======================
   FOOTER
   ======================= */
.footer {
  margin-top: 30px;
  font-size: 12px;
  color: #888;
}
/* =======================
   TITULOS Y SUBTITULOS
   ======================= */
h1 {
  margin-bottom: 6px;   /* reduce el espacio debajo del nombre */
  font-size: 1.6em;     /* opcional, para definir tamaño explícito */
}

.subtitle {
  font-size: 1.4em;     /* agranda un poco el texto secundario */
  margin-top: 0;        /* lo pega más al título */
  font-weight: 500;     /* un poco más grueso que normal */
}
/* =======================
   CONTENEDOR DE BOTONES
   ======================= */
.btn-container {
  background: rgba(0,0,0,0.05);     /* tono sutil en claro */
  border: 1px solid rgba(0,0,0,0.1); /* línea suave */
  border-radius: 12px;
  padding: 15px 10px;
  margin: 20px auto;
  max-width: 340px;
}

/* Ajuste tema oscuro */
body.oscuro .btn-container,
body.elegante .btn-container {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Otros temas opcionales (si querés que cambie más el tono) */
body.fresco .btn-container {
  background: rgba(0,128,0,0.05);
}
body.moderno .btn-container {
  background: rgba(98,0,234,0.05);
}
.btn.grises { background: #444 !important; }
/* Ajuste de fondo para que no se vea gigante en PC */
body {
  background-size: cover !important;   /* móvil: llena la pantalla */
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* En pantallas grandes (PC) */
@media (min-width: 992px) {
  body {
    background-size: contain !important; /* mantiene proporciones */
    background-position: top center !important;
  }
}
/* Mostrar aviso solo en PC */
@media (min-width: 992px) {
  body::after {
    content: "Esta tarjeta está optimizada para uso en pantallas de celular.";
    display: block;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    font-style: italic;
  }
}
/* Botón extra 1 en modo colores */
.btn.extra1.colores {
  background: #ff5722; /* Naranja vibrante */
  color: #fff;
}

/* Botón extra 2 en modo colores */
.btn.extra2.colores {
  background: #4caf50; /* Verde */
  color: #fff;
}