/* ===============================
   Estilos principales - José Machuca
   =============================== */

:root {
  --color-bg: #f9f8f6;
  --color-text: #0b1a33;
  --color-accent: #0b1a33;
  --color-gold: #c9a75f;
  --font-main: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* ========== CONTENEDORES ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--color-accent);
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-gold);
}

.lead {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: #444;
}

p {
  margin-bottom: 1.2rem;
}

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(249, 248, 246, 0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.4s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo-img {
  height: 55px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 3px;
  background: var(--color-accent);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ========== HERO ========== */
/*.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  z-index: 1;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}
*/
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Asegura que el hero esté detrás del menú pero dentro del flujo */
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  z-index: 0; /* <- esto baja la imagen al fondo */
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 1; /* <- overlay encima de la imagen */
}

.hero-inner {
  position: relative;
  z-index: 2; /* <- texto por encima de la imagen y overlay */
  text-align: center;
  color: #fff;
}
.hero-title {
  font-size: 3.5rem;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero-sub {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: #FFFFFF;
}

.hero .btn {
  margin: 0 0.5rem;
}

/* ========== BOTONES ========== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn.primary:hover {
  background-color: var(--color-gold);
  color: var(--color-accent);
}

.btn.ghost {
  border: 2px solid #fff;
  color: #fff;
}

.btn.ghost:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-accent);
}

/* ========== SOBRE MÍ ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.about-facts h3 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.about-facts ul {
  list-style: none;
}

.about-facts li {
  margin-bottom: 0.5rem;
}

.link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  color: var(--color-gold);
}

/* ========== EXPERIENCIA ========== */
.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mix-thumb {
  width: 100%;
  height: 180px;
  background-color: #eaeaea;
  background-size: cover;        /* Hace que la imagen rellene todo */
  background-position: center;   /* Centra la imagen */
  background-repeat: no-repeat;  /* Evita repeticiones */
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;              /* Evita que sobresalga el borde redondeado */
}

/* ========== SERVICIOS ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-img {
  width: 100%;
  height: 180px;
  background-color: #eaeaea;
  background-size: cover;        /* Hace que la imagen rellene todo */
  background-position: center;   /* Centra la imagen */
  background-repeat: no-repeat;  /* Evita repeticiones */
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;              /* Evita que sobresalga el borde redondeado */
  
}

.service h3 {
  color: var(--color-accent);
}

/* ========== RESEÑAS ========== */
.reviews-carousel {
  display: flex;
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.review-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #eaeaea;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.quote-carousel {
  text-align: center;
  position: relative;
  height: 80px;
}

.quote {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  font-style: italic;
  color: #444;
}

.quote.active {
  opacity: 1;
}

/* ========== CANCIONES ========== */
.song-list {
  list-style: none;
  text-align: center;
  font-size: 1.05rem;
}

.song-list li {
  margin: 0.6rem 0;
}

.song-list a {
  text-decoration: none;
  color: var(--color-accent);
  transition: color 0.3s;
}

.song-list a:hover {
  color: var(--color-gold);
}
.small-note {
    text-align: center;
}

/* ========== COTIZACIÓN ========== */
.cotiza-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.cotiza-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.cotiza-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.cotiza-form input,
.cotiza-form textarea,
.cotiza-form select {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 0.3rem;
  font-family: var(--font-main);
}

.cotiza-form button {
  margin-top: 1rem;
  width: 100%;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-accent);
  color: #fff;
  padding: 3rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-left p {
  margin-bottom: 0.4rem;
}

.footer a {
  color: var(--color-gold);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

/*.social-icon {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--color-gold);
}*/
.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 40px;   /* Tamaño del icono */
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Hace que los íconos se vean blancos si son negros */
  transition: filter 0.3s;
}

.social-links a:hover img {
  filter: brightness(0) invert(0.7); /* efecto suave al pasar el cursor */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 850px) {
  .about-grid,
  .cotiza-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }
}
.hero-inner, .hero-title, .hero-sub {
  position: relative;
  z-index: 10 !important;
}

