/* =============================================
   FILA CUTS — Premium Hair Salon Styles
   ============================================= */

:root {
  --black: #111111;
  --dark: #222222;
  --white: #FFFFFF;
  --gold: #C9A227;
  --gold-light: #d4b545;
  --gold-dark: #a8861f;
  --beige: #F7F3EE;
  --gray: #888888;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

/* ---- Typography ---- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-text {
  color: #555;
  font-size: 1rem;
  font-weight: 300;
}

.text-gold { color: var(--gold) !important; }

/* ---- Buttons ---- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-gold:hover,
.btn-gold:focus {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.35);
}

.btn-outline-gold {
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ---- Navbar ---- */
#mainNavbar {
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  background: transparent;
}

#mainNavbar.scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-logo {
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--transition);
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition), left var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
  left: 20%;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: url('assets/home.jpg') center / cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.jpg') center / cover no-repeat fixed;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.55) 0%,
    rgba(17, 17, 17, 0.75) 50%,
    rgba(17, 17, 17, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}

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

/* Hero entrance animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Sections ---- */
.section-padding {
  padding: 5rem 0;
}

.bg-beige { background-color: var(--beige); }
.bg-dark { background-color: var(--black); }

/* ---- About ---- */
.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--black);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  border: 3px solid var(--gold);
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
}

.feature-box {
  text-align: center;
  padding: 1rem 0.5rem;
}

.feature-icon {
  margin: 0 auto 0.75rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* ---- Services ---- */
.service-card {
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-emoji {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.75rem;
  background: rgba(17, 17, 17, 0.7);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* ---- Gallery ---- */
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}

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

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

.gallery-overlay i {
  color: var(--gold);
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform var(--transition);
}

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

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

.gallery-card:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ---- Stats ---- */
.stats-section {
  position: relative;
  padding: 5rem 0;
  background: url('assets/hero.jpg') center / cover no-repeat fixed;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.88);
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ---- Testimonials ---- */
.testimonial-card {
  max-width: 700px;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stars {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border: none;
}

.testimonial-author {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

#testimonialsCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--black);
  opacity: 0.3;
  border: none;
}

#testimonialsCarousel .carousel-indicators .active {
  background-color: var(--gold);
  opacity: 1;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 50px;
  opacity: 0.6;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
  filter: invert(1);
}

/* ---- CTA ---- */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: url('assets/home.jpg') center / cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.82);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ---- Contact ---- */
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--dark);
  border: 1px solid rgba(201, 162, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

.contact-value a {
  color: rgba(255, 255, 255, 0.65);
}

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

.contact-social,
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link,
.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  color: var(--gold);
  font-size: 1.2rem;
  border-radius: 50%;
  transition: all var(--transition);
}

.social-link:hover,
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
  display: block;
  filter: grayscale(30%) contrast(1.1);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-style: italic;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  max-width: 90vw;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 4px;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: color var(--transition);
  z-index: 10;
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold);
}

/* ---- Floating Buttons ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-light);
}

/* ---- Scroll Reveal ---- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

.reveal-up.delay-1 { transition-delay: 0.1s; }
.reveal-up.delay-2 { transition-delay: 0.2s; }
.reveal-up.delay-3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(17, 17, 17, 0.98);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 4px;
  }

  .about-badge {
    right: 0;
    bottom: -1rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-bg,
  .stats-section {
    background-attachment: scroll;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 4.75rem;
    width: 40px;
    height: 40px;
  }

  .testimonial-card {
    padding: 2rem 1.25rem;
  }

  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg {
    background-attachment: scroll;
  }
}
