* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0e0e0e;
  color: white;
  scroll-behavior: smooth;
}

section {
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 3s ease-in;
  overflow: hidden;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* evita desbordamientos horizontales */
  width: 100%;
}

#info-section {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@keyframes pulse {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* FRONTPAGE */

.logo-creart {
  width: 680px;
  transition: transform 1.5s ease;
  -webkit-user-drag: none;
  user-select: none;
  position: relative;
  top: -50px; /* súbelo el valor que necesites */
}

.hero-text img.logo-creart {
  display: block;
  margin: 0 auto;
}

.hero-text img.logo-creart:hover {
  transform: scale(1.3);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-text {
  text-align: center;
  font-family: 'Montserrat', 'Raleway','Poppins', sans-serif;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.7rem; /* antes 1rem o default, ajústalo si deseas más grande */
  letter-spacing: 7.5px; /* separa las letras, ajusta el valor a tu gusto */
  margin-top: -20px; /* opcional: separa del logo si lo ves muy pegado */
  margin-left: 27px;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.scroll-down {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 60px; /* distancia desde el borde inferior */
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  background-color: rgba(255,255,255,0.1);
  border: 2px solid white;
  border-radius: 50%;
  color: black;
  text-shadow:
  -1px -1px 0 white,
  1px -1px 0 white,
  -1px 1px 0 white,
  1px 1px 0 white;
  font-size: 2.5rem;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  animation: upDown 2s infinite;
  transition: background-color 0.3s, transform 0.3s;
  user-select: none;
}

.scroll-down:hover {
  background-color: rgba(255,255,255,0.3);
}

@keyframes upDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ABOUT - sección Discover Us */

.content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.content.active {
  display: block;
  opacity: 1;
}

.about {
  display: flex;
  flex-direction: row; /* fila horizontal */
  align-items: center; /* alinea arriba */
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 8rem;
  padding-bottom: 8rem;
  -webkit-user-drag: none;
  user-select: none;
}

.about-left {
  background: linear-gradient(to right, rgba(37, 37, 37, 0.8), #212121);
  flex: 1;
  border-top: 2px solid white;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  border-right: none;
  padding: 400px 70px 400px 80px; /* más espacio arriba y abajo */
  color: white;
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-left h2 {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.about-left h2 span:first-child {
  margin-bottom: 10px; /* ajusta el espacio entre Discover y US */
}

.divider-container {
  border-top: 2px solid white;
  background-color: #212121;
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider {
  width: 2px;
  background: white;
  height: 800px;
}

.about-right {
  position: relative;
  z-index: 0;
  justify-content: flex-start; /* empuja todo arriba */
  flex: 1 1 90%; /* toma 70% ancho */
  display: flex;
  flex-direction: column;
  gap: 4rem;
  height: 930px;
  padding-top: 100px;
  padding-left: 65px;
  background: linear-gradient(to right, #212121, #0e0e0e);
  overflow: hidden;
}

.about-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, white, #0e0e0e);
}

.about-right::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, white, #0e0e0e);
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* separación horizontal entre botones */
  margin-bottom: 20px;
  margin-top: -60px;
  margin-left: 50px;
}

.about-buttons button {
  background: transparent;
  color: white;
  border: 2px solid transparent;
  padding: 10px 20px;
  margin-right: 100px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.about-buttons button.selected {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.about-buttons button:hover {
  transform: scale(1.05); /* efecto suave al pasar cursor */
  background-color: rgba(255, 255, 255, 0.1); /* fondo suave al hover */
}

.text-content {
  display: flexbox;
  padding-bottom: 2rem;
  
}

.about-content {
  color: white;
  font-size: 1.1rem;
  line-height: 1.4;
}

.section-title {
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-size: 1.7rem !important;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  margin-bottom: 1.5rem;
  margin-top: -30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: -65px;
  bottom: 0;
  width: 110%; /* línea hasta el borde */
  height: 1px;
  background: linear-gradient(to right, #ffffff, #0e0e0e);
  background-color: #ffffff; /* color del subrayado */
}

.about p {
  margin-bottom: -30px;
  margin-top: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 1.1rem;
}

.about-content .content {
  display: none;
}

.about-content .content.active {
  display: block;
}

.section-title {
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
  margin-bottom: 1rem;
}

/* Contenedor de imágenes que cambian */
.images-group {
  padding-left: 5vw;
  padding-right: 10vw;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  flex-wrap: wrap;
  max-height: 320px; /* ✅ limita la altura según diseño */
  justify-content: center; /* opcional: centra las imágenes */
  align-items: flex-start; /* alinea arriba */
}

.images-group.active {
  display: flex;
  opacity: 1;
}

/* Imágenes dentro de about */
.imagen-prop {
  height: 20rem;
  width: 33.3%;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  object-fit: cover;
  margin: auto;
  padding-right: 2rem;
}

.image-content {
  width: 115vh;
  height: 70vh;
  padding-top: 2rem;
}


/* CATALOGO */
.catalogo {
  position: relative;
  width: auto;
  padding: 8rem 0;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* importante para que respete orden vertical */
  align-items: center;     /* centra todo horizontalmente */
  justify-content: flex-start; /* empuja todo hacia arriba */
}

.background-fade {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.background-video-catalogo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.catalogo-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px; /* ⬆️ sube todo el contenido */
}


.catalogo-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-top: 35px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  word-spacing: 25px;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  padding-top: 0;            /* 🔽 Eliminar padding extra arriba */
}

.gem-selector {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 2rem;
}

.gem {
  position: relative;
  width: 60px; /* tu tamaño actual */
  height: 60px;
  border: 1px solid rgb(250, 250, 250);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ⚠️ añade esto para que la imagen no sobresalga */
  cursor: pointer;
  transition: transform 0.3s;
  user-select: none;
}

.gem.selected[data-gem="diamante"] {
  border-color: white; /* verde esmeralda */
}

.gem.selected[data-gem="esmeralda"] {
  border-color: #00ff00; /* verde esmeralda */
}

.gem.selected[data-gem="ruby"] {
  border-color: #ff0000; /* rojo rubí */
}

.gem.selected[data-gem="aguamarina"] {
  border-color: #1ca9c9; /* azul aguamarina */
}

.gem.selected[data-gem="turmalina"] {
  border-color: #800080; /* púrpura turmalina */
}

.gem img {
  max-width: 70%; /* controla el tamaño relativo de la imagen */
  max-height: 70%;
  object-fit: contain; /* ajusta proporcionalmente */
  pointer-events: none;
  user-select: none;
}

.gem:hover {
  transform: scale(1.3);
  border: 2px solid rgb(250, 250, 250);
}

.gem.selected {
  animation: pulse 4s infinite ease-in-out;
  transform: scale(1.5);
}

.gem-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 2rem;
  padding: 1rem;
}

.gem-media, .gem-description {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gem-media iframe,
.gem-media video {
  width: 100%;
  height: 75vh; /* Aumentamos la altura relativa al viewport */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
}

.gem-description {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1rem;
  text-align: left;
}

/* CONTACTO - ESTILO OSCURO CON FONDO #0e0e0e */

.contacto {
  width: 100%;
  min-height: 110vh;
  padding: 5rem 3rem;
  background-color: #0e0e0e;
  color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

.contacto h3 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #eee;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.15);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  max-width: 1100px;
  width: 100%;
  justify-content: center;
  align-items: stretch; /* <--- cambia flex-start por stretch */
}

.contact-form {
  flex: 1 1 400px;
  background: #1a1a1a;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  color: #ccc;
}

.contact-form, .contact-info {
  flex: 1 1 400px;
  background: #1a1a1a;
  padding: 2rem 2rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  color: #ccc;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  background: #222;
  color: #eee;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  border: 2px solid transparent;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  font-weight: 500;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e4e4e4; /* slateblue */
  background-color: #2b2b2b;
  color: #eee;
}

.contact-form button {
  background: linear-gradient(45deg, #ededed, #d3d3d3);
  color: rgb(54, 54, 54);
  padding: 1.2rem 0;
  font-weight: 800;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(196, 196, 196, 0.7);
  transition: all 0.35s ease;
  user-select: none;
}

.contact-form button:hover {
  box-shadow: 0 8px 25px rgba(228, 228, 228, 0.9);
  transform: scale(1.05);
}

.contact-info {
  justify-content: flex-start; /* que el contenido empiece arriba */
  font-size: 1.2rem;
  user-select: text;
  padding-top: 2rem;
  line-height: 1.4;
}

.contact-info p {
  margin: 0;
  padding-bottom: 0.1rem;
}

.contact-info .about {
  font-style: italic;
  margin-bottom: 1.8rem;
  color: #aaa;
}

.contact-list {
  list-style: none;
  padding-top: 1rem;
  padding-bottom: 2rem;
  margin: 0;
  justify-content: center; /* centradas, opcional */
  gap: 20px; /* separación entre iconos */
}

.contact-title-socials {
  text-align: center;
}

.contact-socials {
  margin-bottom: -25px;
  list-style: none;
  display: flex; /* HORIZONTAL */
  justify-content: center; /* centradas, opcional */
  gap: 40px; /* separación entre iconos */
}

.contact-socials a {
  color: white; /* o tu color base */
  font-size: 2rem; /* tamaño de icono */
  transition: color 0.3s ease;
}

.contact-socials li {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  display: inline-block;
}

.contact-socials li .icon {
  font-size: 1.6rem;
}

.contact-socials li a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-socials li a:hover {
  color: #605797;
}

.mapa {
  margin-top: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(223, 223, 223, 0.4);
  border: 2px solid #e4e4e4;
}

.social-logo {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-logo:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Responsive */

@media (max-width: 850px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form, .contact-info {
    flex: 1 1 100%;
    max-width: 480px;
  }
}

/* FOOTER */

.footer {
  background-color: #050505;
  color: #ccc;
  padding: 4rem 2rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 2rem;
}

.logo-creart-footer {
  width: 400px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  max-width: 300px;
  line-height: 1.5;
  font-size: 1rem;
  margin-left: 60px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #eee;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 0.6rem;
}

.footer-links a,
.footer-social a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #6a5acd;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: #6a5acd;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo p {
    margin: 0 auto;
  }
}
