/* =============================================================
   LOUTI HAIR DRESSING — Custom Stylesheet
   Brand: Red #961013 | Gold #D4AF37 | Black #0a0a0a | White #fff
   ============================================================= */

:root {
  --red:    #961013;
  --gold:   #D4AF37;
  --dark:   #0a0a0a;
  --cream:  #fdf8f0;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Custom Scrollbar ----- */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: #f1f1f1; }
::-webkit-scrollbar-thumb      { background: var(--red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: #7a0d10; }


/* ======================================================
   NAVIGATION
====================================================== */
#header { background: transparent; }

#header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
#header.scrolled nav { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* Logo : black parts → white on dark backgrounds */
#nav-logo {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
#header.scrolled #nav-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(212,175,55,0.55));
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.nav-link:hover           { color: var(--gold); }
.nav-link:hover::after    { width: 100%; }


/* ======================================================
   MOBILE MENU
====================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
}
.mobile-menu-overlay.open { transform: translateX(0); }

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 340px;
}

.mobile-close-btn {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
.mobile-close-btn:hover { color: var(--gold); }

.mobile-nav-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  line-height: 1.2;
}
.mobile-nav-link:hover { color: var(--gold); }


/* ======================================================
   HERO
====================================================== */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  will-change: transform;
}
@media (min-width: 768px) {
  .hero-bg { background-attachment: fixed; }
}

/* Hero text — deep shadow for readability on any image */
#home h1,
#home h1 span {
  text-shadow: 0 2px 16px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9);
}
#home p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ======================================================
   SCROLL REVEAL
====================================================== */
.reveal-fade-up,
.reveal-slide-left,
.reveal-slide-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-fade-up    { transform: translateY(32px); }
.reveal-slide-left { transform: translateX(-44px); }
.reveal-slide-right{ transform: translateX(44px); }

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }


/* ======================================================
   HERO SCROLL INDICATOR
====================================================== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: none;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-mouse {
  width: 26px; height: 40px;
  border: 2px solid var(--gold);
  border-radius: 13px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollAnim 1.6s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}


/* ======================================================
   HERO BUTTONS
====================================================== */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: white;
  font-weight: 600; font-size: 1rem;
  padding: 1rem 2rem; border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1fb955;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

.btn-call {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: transparent; color: white;
  font-weight: 600; font-size: 1rem;
  padding: 1rem 2rem; border-radius: 9999px;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-call:hover {
  background: var(--gold); color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.4);
}


/* ======================================================
   ABOUT SECTION
====================================================== */
.about-img-wrap {
  position: relative;
  height: 520px;
  border-radius: 1rem;
  overflow: visible;
}
.about-img-wrap img { border-radius: 1rem; }

.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); color: white;
  padding: 1.25rem 1.5rem; border-radius: 1rem;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 12px 32px rgba(150,16,19,0.45);
}

.about-deco {
  position: absolute; top: -16px; left: -16px;
  width: 80px; height: 80px;
  border: 3px solid var(--gold);
  border-radius: 0.5rem;
  opacity: 0.35;
  pointer-events: none;
}

.check-dot {
  width: 22px; height: 22px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}


/* ======================================================
   SECTION DIVIDERS
====================================================== */
.section-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.divider-line {
  width: 64px; height: 1px;
  background: var(--gold);
}
.divider-line-dark {
  width: 64px; height: 1px;
  background: var(--red);
}


/* ======================================================
   PRODUCT CARDS
====================================================== */
.product-card {
  border-radius: 1.25rem;
  overflow: hidden;
  height: 440px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.product-card:hover {
  box-shadow: 0 20px 52px rgba(0,0,0,0.22);
  transform: translateY(-6px);
}

.product-inner {
  position: relative;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: background-size 0.55s ease;
}
.product-card:hover .product-inner { background-size: 115%; }

/* Per-category product images (Pexels — free commercial licence) */
.cat-1 { background-image: url('../img/cat-extensions.jpg'); background-position: center; }
.cat-1 .product-overlay { background: linear-gradient(155deg, rgba(100,10,14,0.78) 0%, rgba(8,3,3,0.92) 100%); }

.cat-2 { background-image: url('../img/cat-braiding.jpg'); background-position: center top; }
.cat-2 .product-overlay { background: linear-gradient(155deg, rgba(55,12,75,0.78) 0%, rgba(8,3,18,0.92) 100%); }

.cat-3 { background-image: url('../img/cat-wigs.jpg'); background-position: center top; }
.cat-3 .product-overlay { background: linear-gradient(155deg, rgba(5,25,60,0.78) 0%, rgba(3,8,20,0.92) 100%); }

.cat-4 { background-image: url('../img/cat-nails.jpg'); background-position: center; }
.cat-4 .product-overlay { background: linear-gradient(155deg, rgba(75,12,55,0.78) 0%, rgba(15,4,14,0.92) 100%); }

.cat-5 { background-image: url('../img/cat-accessories.jpg'); background-position: center top; }
.cat-5 .product-overlay { background: linear-gradient(155deg, rgba(5,50,42,0.78) 0%, rgba(3,14,12,0.92) 100%); }

.cat-cta {
  background: linear-gradient(135deg, #0a0a0a 0%, #1c0808 50%, #0a0a0a 100%);
  border: 2px solid rgba(212,175,55,0.25);
}
.cat-cta:hover { border-color: rgba(212,175,55,0.55); }

.product-overlay {
  position: absolute; inset: 0;
  transition: opacity 0.4s ease;
}

.product-body {
  position: absolute; inset: 0;
  z-index: 10; padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.4s ease;
}
.product-card:hover .product-body { transform: translateY(-6px); }

.product-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
}
.product-card:hover .product-icon {
  background: var(--gold); color: black;
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.product-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: white;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.6rem 1.25rem; border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
}
.product-card:hover .product-btn { opacity: 1; transform: translateY(0); }
.product-btn:hover { background: #7a0d10; }


/* ======================================================
   FEATURE CARDS (Why Choose Us)
====================================================== */
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,175,55,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon {
  background: rgba(212,175,55,0.2);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(212,175,55,0.3);
}


/* ======================================================
   GALLERY
====================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
  .gallery-item { height: 220px; }
}
@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item { height: 210px; }
}

.gallery-item {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-bg { transform: scale(1.08); }

/* Gallery images are now unique — no filters needed */

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10,5,5,0.82) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }


/* ======================================================
   TESTIMONIALS
====================================================== */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
  transform: translateY(-5px);
  border-color: rgba(212,175,55,0.35);
}

.quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem; line-height: 1;
  color: var(--gold); opacity: 0.35;
  position: absolute; top: 0.5rem; left: 1.75rem;
  pointer-events: none;
}


/* ======================================================
   CONTACT CARDS
====================================================== */
.contact-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.contact-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.contact-icon {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}


/* ======================================================
   FOOTER
====================================================== */
.footer-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.footer-link:hover              { color: var(--gold); }
.footer-link:hover::before      { transform: scale(1.5); }

.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.social-wa:hover  {
  border-color: #25D366;
  color: #25D366;
}


/* ======================================================
   FLOATING WHATSAPP BUTTON
====================================================== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 64px; height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #1fb955;
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37,211,102,0.6);
}

.whatsapp-ring {
  position: absolute;
  inset: -5px; border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.55);
  animation: ringPulse 2s ease-out infinite;
}
.whatsapp-ring-2 {
  inset: -12px;
  animation: ringPulse 2s ease-out 0.5s infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: #0a0a0a; color: white;
  font-size: 0.78rem; font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.9rem;
  border-radius: 0.45rem;
  opacity: 0; transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0a0a0a; border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1; transform: translateX(0);
}


/* ======================================================
   RESPONSIVE ADJUSTMENTS
====================================================== */
@media (max-width: 1023px) {
  .about-img-wrap   { height: 380px; }
  .about-badge      { bottom: -12px; right: -8px; }
}
@media (max-width: 767px) {
  .about-img-wrap   { height: 300px; }
  .about-deco       { display: none; }
  .about-badge      { position: static; margin-top: 1rem; align-self: flex-start; width: fit-content; border-radius: 0.75rem; }
  .whatsapp-float   { bottom: 1.25rem; right: 1.25rem; width: 56px; height: 56px; }
}
