/* ======================================================
   VARIABLES Y BASE
====================================================== */
:root {
  --negro: #0a0a0a;
  --dorado: #c8a951;
  --gris-plateado: #cfcfcf;
  --blanco: #ffffff;
  --fuente-titulo: 'Playfair Display', serif;
  --fuente-texto: 'Roboto', sans-serif;
}

body {
  background-color: var(--negro);
  color: var(--blanco);
  font-family: var(--fuente-texto);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--fuente-titulo);
  color: var(--dorado);
  letter-spacing: 1px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================================================
   NAVBAR
====================================================== */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(200,169,81,0.2);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-content .logo img {
  height: 60px;
}

.nav-content .menu a {
  color: var(--gris-plateado);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-content .menu a:hover {
  color: var(--dorado);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: var(--dorado);
  height: 3px;
  width: 25px;
  margin: 4px 0;
}

/* ------------------- Celular ------------------- */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: var(--negro);
    position: absolute;
    top: 80px;
    right: 0;
    width: 60%;
    border-left: 2px solid var(--dorado);
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-content .menu a {
    margin: 1rem;
  }
}

/* ======================================================
   HERO SERVICIOS
====================================================== */
.hero-servicios {
  position: relative;
  height: 70vh;
  background: url('../media/hero-servicios.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-servicios::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../media/hero-servicios.jpg') center/cover no-repeat;
  animation: zoomServicios 20s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes zoomServicios {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeHeroText 1.5s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes fadeHeroText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-family: var(--fuente-titulo);
  font-size: 2.5rem;
  color: var(--dorado);
  background: linear-gradient(90deg, #c9b25a 0%, #f5d87c 50%, #c9b25a 100%);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shineGold 6s linear infinite;
}

@keyframes shineGold {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gris-plateado);
}

/* ======================================================
   HERO NUMEROLOGÍA (visible arriba derecha)
====================================================== */
.hero-numerologia {
  position: absolute;
  margin-top: 90px;
  top: 25px;
  right: 40px;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(220, 220, 220, 0.85);
  letter-spacing: 1.5px;
  font-family: var(--fuente-texto);
  z-index: 5; /* 🔥 Asegura que quede encima del overlay */
  user-select: none;
  pointer-events: none; /* evita interferir con clics del hero */
}

.hero-numerologia .num-line {
  display: block;
}

.hero-numerologia:hover {
  color: var(--dorado);
}

/* ======================================================
   SECCIÓN INTRODUCTORIA
====================================================== */
.intro {
  padding: 5rem 0;
  background: #0e0e0e;
  text-align: center;
}

.intro h2 {
  color: var(--dorado);
  font-family: var(--fuente-titulo);
  margin-bottom: 1.5rem;
}

.intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gris-plateado);
  line-height: 1.8;
}

/* ======================================================
   SERVICIOS DETALLE
====================================================== */
.servicios-detalle {
  padding: 5rem 0;
  background: #111;
}

.servicio-bloque {
  border-left: 3px solid var(--dorado);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
  transition: transform 0.3s;
}

.servicio-bloque:hover {
  transform: translateX(5px);
}

.servicio-bloque h3 {
  color: var(--dorado);
  font-family: var(--fuente-titulo);
  margin-bottom: 0.5rem;
}

.servicio-bloque p {
  color: var(--gris-plateado);
  line-height: 1.7;
}

/* ======================================================
   IMPORTANCIA
====================================================== */
.importancia {
  background: #0a0a0a;
  padding: 5rem 0;
  text-align: center;
}

.importancia h2 {
  color: var(--dorado);
  font-family: var(--fuente-titulo);
  margin-bottom: 1.5rem;
}

.importancia p {
  color: var(--gris-plateado);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ======================================================
   ANIMACIONES SCROLL
====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------- Celular ------------------- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .servicio-bloque {
    border-left: none;
    border-top: 2px solid var(--dorado);
    padding-top: 1rem;
  }
}


/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: #050505;
  color: var(--gris-plateado);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

.footer-info a {
  color: var(--dorado);
  text-decoration: none;
}

.footer-social a img {
  width: 28px;
  margin-right: 1rem;
  transition: opacity 0.3s;
}

.footer-social a:hover img {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* ------------------- Celular ------------------- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-social {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-social a img {
    margin: 0 0.7rem;
  }
}

