/* ============================================
   PELUQUERÍA LORENA MARTÍN - Dark Gold Theme
   ============================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #f0f0f0;
  background-color: #0a0a0a;
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Colors ----- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #A8892E;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --text: #f0f0f0;
  --text-muted: #999999;
  --border: #2a2a2a;
}

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/gallery-1.jpg') center/cover no-repeat;
  filter: brightness(0.25) saturate(1.2);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.85) 50%,
    rgba(10, 10, 10, 1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-logo-img {
  height: 120px;
  width: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-title {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-weight: 300;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.hero-rating .stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

.hero-rating .rating-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-phone {
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  user-select: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT ===== */
.about {
  background: var(--dark-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-text strong {
  color: #fff;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.stat {
  padding: 20px;
  background: var(--dark-3);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
  display: block;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.about-image-badge i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.about-image-badge p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #fff;
  font-size: 1rem;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--dark);
}

.gallery-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  grid-template-areas:
    "a1 a1 a2 a3"
    "a1 a1 a4 a4"
    "a5 a6 a6 a7"
    "a8 a6 a6 a9"
    "a10 a10 a10 a10";
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-area: a1; }
.gallery-item:nth-child(2) { grid-area: a2; }
.gallery-item:nth-child(3) { grid-area: a3; }
.gallery-item:nth-child(4) { grid-area: a4; }
.gallery-item:nth-child(5) { grid-area: a5; }
.gallery-item:nth-child(6) { grid-area: a6; }
.gallery-item:nth-child(7) { grid-area: a7; }
.gallery-item:nth-child(8) { grid-area: a8; }
.gallery-item:nth-child(9) { grid-area: a9; }
.gallery-item:nth-child(10) { grid-area: a10; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  opacity: 0.8;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--dark-2);
}

.testimonials-summary {
  text-align: center;
  margin-bottom: 50px;
}

.rating-large {
  margin-bottom: 25px;
}

.rating-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.rating-stars {
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 5px;
  margin: 10px 0;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonials-footer {
  text-align: center;
  margin-top: 30px;
}

/* ===== SCHEDULE ===== */
.schedule {
  background: var(--dark);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.schedule-card {
  background: var(--dark-3);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  text-align: left;
  padding: 10px 15px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.schedule-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.day-name {
  color: var(--text);
}

.day-hours {
  color: var(--text-muted);
}

.schedule-table tr.closed td {
  opacity: 0.4;
}

.schedule-table tr.closed .day-hours {
  font-style: italic;
}

.schedule-info .info-card {
  background: var(--dark-3);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.info-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--dark-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  max-height: 400px;
}

.contact-info {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
}

.contact-card {
  background: var(--dark-3);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  transition: color 0.3s;
}

.contact-phone:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-4);
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.social-link:hover {
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}


.contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-4);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.footer-social a:hover {
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.3s;
}

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

.footer-hours p {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 3px 0;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact p i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-contact .btn {
  margin-top: 15px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  text-align: center;
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOATING INSTAGRAM BUTTON ===== */
.float-instagram {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 20px rgba(188, 24, 136, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}

.float-instagram:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(188, 24, 136, 0.5);
  color: #fff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: none;
    gap: 5px;
  }
  .gallery-item {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo-img {
    height: 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 350px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: none;
    gap: 4px;
  }
  .gallery-item {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .contact-info {
    grid-template-rows: auto auto;
  }
  .contact-map iframe {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rating-number {
    font-size: 3rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-logo-img {
    height: 60px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: none;
    gap: 3px;
  }
  .gallery-item {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
