/* ============================================
   JAIDER PARRA - DISEÑO ELEGANTE MINIMALISTA
   Pianista Virtuoso & Compositor Contemporáneo
   ============================================ */

:root {
  /* Paleta elegante - Tonos cálidos y sofisticados */
  --bg: #0c0b09;
  --bg-alt: #13120f;
  --bg-warm: #1a1814;
  --surface: #1e1c18;
  --surface-hover: #262420;

  /* Textos */
  --text: #f8f6f3;
  --text-secondary: #b5b0a6;
  --text-muted: #7d796f;

  /* Acentos elegantes - Naranja y crema */
  --gold: #e07c3e;
  --gold-light: #f09555;
  --gold-soft: rgba(224, 124, 62, 0.12);
  --cream: #e8e4dc;
  --cream-soft: rgba(232, 228, 220, 0.1);

  /* Bordes sutiles */
  --border: rgba(201, 169, 98, 0.15);
  --border-light: rgba(248, 246, 243, 0.06);

  /* Sombras suaves */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);

  font-size: 16px;
}

/* ============================================
   BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   HERO - ELEGANTE CON IMAGEN PROMINENTE
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/DSC03991.jpg") center/cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 11, 9, 0.95) 0%,
    rgba(12, 11, 9, 0.8) 40%,
    rgba(12, 11, 9, 0.4) 70%,
    rgba(12, 11, 9, 0.2) 100%
  );
  z-index: 1;
}

.hero__glow {
  display: none;
}

/* ============================================
   NAVEGACIÓN MINIMALISTA
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(2rem, 5vw, 4rem);
  background: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(12, 11, 9, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--cream);
}

/* ============================================
   HERO CONTENT - ELEGANTE Y COMPACTO
   ============================================ */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 6rem clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.lead {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   ESTADÍSTICAS - MINIMALISTAS
   ============================================ */
.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat__number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.stat__label {
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ============================================
   BOTONES - ELEGANTES (SIN NARANJA)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn.primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border);
}

.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn.outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn.outline:hover {
  background: var(--cream);
  color: var(--bg);
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
  padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  background: var(--bg);
}

.section--dark {
  background: var(--bg-alt);
}

.section__header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.section__header .eyebrow {
  margin-bottom: 1rem;
}

.section__header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section__header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   BIOGRAFÍA
   ============================================ */
.bio {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.bio__image {
  position: relative;
  overflow: hidden;
}

.bio__image img {
  width: 100%;
  height: auto;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 0.5s ease;
}

.bio__image:hover img {
  filter: grayscale(0%) contrast(1.1);
}

.bio__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bio__text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.bio__text p {
  margin-bottom: 1rem;
}

.bio__highlight {
  padding: 2rem;
  background: var(--surface);
  border-left: 2px solid var(--gold);
}

.bio__highlight h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.bio__highlight ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.bio__highlight li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.bio__highlight li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============================================
   MÚSICA - GRID 2x2 EXACTO
   ============================================ */
.music-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.album {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease;
}

.album:hover {
  border-color: var(--border);
}

.album header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.album__tag {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.album h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cream);
}

.album iframe {
  width: 100%;
  height: 352px;
  border: 0;
  background: var(--bg);
}

.album__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.album__cta:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ============================================
   CURSOS
   ============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.course {
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course:hover {
  border-color: var(--border);
}

.course--highlight {
  border-color: var(--gold);
}

.course--highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.course__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.35rem 0.75rem;
  z-index: 5;
}

.course__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.course__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course:hover .course__visual img {
  transform: scale(1.05);
}

.course h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cream);
  padding: 1.5rem 1.5rem 0;
}

.course > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 1rem 1.5rem 0;
}

.course ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
}

.course li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.course li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.course .btn {
  margin: auto 1.5rem 1.5rem;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
  background: var(--bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact__card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease;
}

.contact__card:hover {
  border-color: var(--border);
}

.contact__card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
}

.contact__card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.contact__card a:hover {
  color: var(--gold);
}

.contact__card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact__cta {
  border-color: var(--gold);
}

.social {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 4rem;
    right: 1.5rem;
    background: var(--surface);
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    display: none;
  }

  .nav__links[data-open="true"] {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .bio {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .music-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .hero__content {
    padding: 5rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section__header h2 {
    font-size: 1.5rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .album iframe {
    height: 300px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMACIONES SUTILES
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img {
  animation: fadeIn 0.5s ease;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--bg);
}

/* Scrollbar elegante */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 4px;
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP - ELEGANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-float__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: transparent;
  border: 2px solid #25D366;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  order: 2;
}

.whatsapp-float__link:hover {
  background: rgba(37, 211, 102, 0.15);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-float__link svg {
  width: 30px;
  height: 30px;
  fill: #25D366;
}

.whatsapp-float__text {
  order: 1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #25D366;
  letter-spacing: 0.01em;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float__text {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-float__link {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__link svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-float__text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float__text {
    display: none;
  }
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
