/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
  font-family: 'Montserrat', sans-serif;
  background: #0f2027;
  color: #ffffff;
  overflow-x: hidden;
}

/* =========================
   INTRO / HERO
========================= */
/* Botón de scroll */
/* Botón de scroll redondo y suave */
.scroll-btn {
  display: block;
  margin: 40px auto 0;
  font-size: 2rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;

  background: rgba(255, 221, 0, 0.15); /* más translúcido */
  color: #ffdd00;
  border: 2px solid #ffdd00;
  border-radius: 50%; /* redondo */
  cursor: pointer;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* sombra más ligera */
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Hover más suave */
.scroll-btn:hover {
  background: rgba(255, 221, 0, 0.25);
  transform: translateY(3px); /* movimiento más leve */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Click */
.scroll-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


.intro-page {
  position: relative;
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

/* Canvas de fondo */
#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Overlay oscuro */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Contenido centrado */
.content {
  position: relative;
  z-index: 2;

  max-width: 900px;
  width: 100%;
  padding: 0 20px;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5.3rem;
  line-height: 1.1;
  margin-bottom: 20px;

  color: #ffdd00;

  /* Brillo ligero */
  text-shadow:
    0 0 2px rgba(255, 221, 0, 0.4),
    0 0 6px rgba(255, 221, 0, 0.4);
}


.content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Botón */
#btnTienda {
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;

  border: none;
  border-radius: 40px;
  cursor: pointer;

  background: #ffdd00;
  color: #1a1a1a;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover */
#btnTienda:hover {
  transform: translateY(4px); /* baja un poco */
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Click */
#btnTienda:active {
  transform: translateY(6px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}


/* =========================
   SECCIÓN INFO
========================= */
.info-section {
  width: 100%;
  padding: 120px 8%;

  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 50px;

  background: #b1b1b1;
  color: #222;
}

/* Texto */
.info-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #183a49;
  transform: translateY(100px);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #111;         /* negro profundo */
  color: #ffffff;           /* dorado, coherente con tu branding */
  text-align: center;
  padding: 25px 0;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;

  /* Limpieza de margenes */
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); /* sutil línea arriba */
}

/* Si quieres un efecto sutil al pasar el mouse */
.site-footer p:hover {
  color: #ffffff;
  transition: color 0.3s ease;
}



.info-text p {
  font-size: 1.3rem;
  line-height: 1.7;
  transform: translateY(100px);
}

/* Línea */
.line-separator {
  width: 2px;
  background: #ccc;
}

/* =========================
   IMÁGENES (2 ABAJO + 1 ARRIBA)
========================= */
.info-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
}

.info-images img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Abajo izquierda */
img[alt="Mineral 1"] {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

/* Abajo derecha */
img[alt="Mineral 2"] {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* Arriba centrada */
img[alt="Mineral 3"] {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  width: 70%;
  margin: 0 auto;
}

/* =========================
   RESPONSIVE GENERAL
========================= */
@media (max-width: 900px) {
  /* Hero */
  .intro-page {
    height: auto;
    padding: 80px 20px;
  }

  .content h1 {
    font-size: 3rem; /* más pequeño en móviles */
    line-height: 1.2;
  }

  .content p {
    font-size: 1rem;
  }

  /* Botones hero */
  #btnTienda, .scroll-btn {
    width: 60%;
    font-size: 0.95rem;
  }

  /* Sección info */
  .info-section {
    grid-template-columns: 1fr; /* todas las columnas se apilan */
    gap: 50px;
    padding: 60px 5%;
  }

  .line-separator {
    display: none;
  }

  .info-images {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }

  .info-images img {
    width: 100%;
    margin: 0 auto;
  }

  /* Footer */
  .site-footer {
    font-size: 0.9rem;
    padding: 20px 10px;
  }
}


