/* ==========================
   ESTILOS INTERMATICO COSMÉTICOS
   Negro + Dorado Premium
   ========================== */

/* Variables globales */
:root {
  --primary: #d4af37;        /* Dorado metálico */
  --primary-dark: #b8962f;   /* Dorado oscuro */
  --text-light: #ffffff;
  --background-color: #000;
  --bg-image: url('https://URL-DE-TU-IMAGEN-AQUI.jpg'); /* Puedes reemplazar por tu URL */
}

/* Reset y base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fondo con imagen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.45);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: #000000cc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header .logo img {
  height: 38px;
  display: block;
}
.site-header nav a {
  margin-left: 20px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.site-header nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(212,175,55,0.8);
}

/* Hero */
.hero {
  text-align: center;
  padding: 140px 20px 120px;
  animation: fadeIn 1.2s ease;
}
.hero h1 {
  font-size: 54px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212,175,55,0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Secciones generales */
.section {
  padding: 80px 50px;
  margin: 40px auto;
  max-width: 1200px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-radius: 12px;
}
.section h2 {
  color: var(--primary);
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
}

/* Catálogo */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.producto {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.producto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.producto h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
}
.producto p { font-size: 14px; margin-bottom: 10px; }
.precio {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
}
.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

/* Formulario */
.form-section form {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: var(--text-light);
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
  outline: none;
}

/* Marcas */
.marcas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.marca {
  padding: 20px 30px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-weight: bold;
  color: var(--primary);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 16px;
  background: #000000cc;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

/* Overlay de carga */
#loading-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  color: var(--primary);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(4px);
  z-index: 9999;
}
#loading-overlay.show { display: flex; }
.spinner {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(212,175,55,0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#loading-overlay p {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--primary);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 10px; }
  .site-header nav a { margin-left: 0; margin-right: 15px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 18px; }
  /* ====== Logo dorado con brillo animado ====== */
.brand{
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg,#c9a227 0%,#d4af37 20%,#f0d47a 40%,#d4af37 60%,#c9a227 80%,#b8962f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 3.2s linear infinite;
  text-shadow: 0 0 12px rgba(212,175,55,0.15);
}
@keyframes goldShimmer{
  0%{background-position:0% 50%}
  100%{background-position:200% 50%}
}
@media (prefers-reduced-motion: reduce){ .brand{ animation:none } }
@media (max-width:768px){ .brand{ font-size:26px } }

}
