@font-face {
  font-family: "Avenir";
  src: url("fonts/Avenir-Light.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("fonts/Avenir-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("fonts/Avenir-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


:root {
    /* Variables para Modo Claro (Por defecto) */
    --bg-color: #ffffff;
    --text-color: #000000;
    --btn-bg: transparent;
    --btn-border: #000000;
    --btn-text: #000000;
    --font-family: "Avenir", -apple-system, BlinkMacSystemFont, sans-serif;
    --img-appstore: 1;
    --img-appstore-hover: 0;
}

/* Variables para Modo Oscuro */
[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --btn-bg: transparent; /* Botón sin fondo */
    --btn-border: #ffffff; /* Borde blanco */
    --btn-text: #ffffff;
    --img-appstore: 0;
    --img-appstore-hover: 1;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;

    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s; /* Animación suave */
    font-family: var(--font-family);
    font-weight: 200;
}

h1 {
    font-family: "Avenir";
    font-weight: 900;
    font-size: 40px;
}

.title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 50px;
    background-color: var(--text-color);
    color: var(--bg-color);
    height: 50px;
}

.icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.page {
  width: 100%;
  max-width: 1100px;   /* prueba entre 1000–1200 */
  padding: 0 25px;     /* aire lateral en móvil */
  box-sizing: border-box;
}

.hero {
  text-align: center;
  padding: 25px 0;
}

.title-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Estilo de tus botones estilo App */
.btn-support {
    display: inline-flex;
    align-items: center;
    background: var(--btn-bg);
    border: 3px solid var(--btn-border);
    color: var(--btn-text);
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 900;
}

a {
    color: var(--btn-text);
    text-decoration: none;
}

.btn-support:press {
    transform: scale(0.95); /* Efecto de pulsación */
}

.btn-support:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.logo {
    width: 200px;
    height: 200px;
}

.logo:hover {
    transform: scale(0.95); /* Efecto de pulsación */
}

.icon {
    width: 50px;
}

.icon:hover {
    transform: scale(1.4); /* Efecto de pulsación */
}


#theme-toggle {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
}

#theme-toggle:active {
    transform: scale(0.95); /* Efecto de pulsación */
}

.btn-appstore {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
    margin-bottom: 40px;
}

.btn-appstore:active {
    transform: scale(0.95); /* Efecto de pulsación */
}

.img-appstore {
    width: 250px;
    filter: invert(var(--img-appstore));
}

.img-appstore:hover {
    filter: invert(var(--img-appstore-hover));
}

/***CARRUSEL***/
.carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: center;
  padding: 25px 0;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
}

.carousel-track img {
  height: 500px;          /* ajusta a tu gusto */
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
}

.carousel-track img:hover {
    transform: scale(0.95);
}

.carousel-btn.prev, .carousel-btn.next {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    font-family: var(--font-family);
    font-size: 50px;
}

@media (max-width: 480px) {
  /*.title {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 16px 20px;
  }*/
 
  .icon {
    display: none;
  }
}
