/* ============================================
   Tenesha's HAIR — Custom Styles
   ============================================ */

/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f9f1f4;
}
::-webkit-scrollbar-thumb {
  background: #a84d70;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #943a57;
}

/* ============================================
   Button Styles
   ============================================ */
.btn-amber {
  background: linear-gradient(135deg, #ffbb14 0%, #e5a100 100%);
  color: #2d1019;
  transition: all 0.3s ease;
}
.btn-amber:hover {
  background: linear-gradient(135deg, #ffd155 0%, #ffbb14 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(229, 161, 0, 0.35);
}
.btn-amber:active {
  transform: translateY(0);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ============================================
   Input Styles
   ============================================ */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e8c3d0;
  border-radius: 0.75rem;
  background: #fdf2f6;
  color: #522031;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}
.input-field::placeholder {
  color: #bf708e;
  opacity: 0.7;
}
.input-field:hover {
  border-color: #a84d70;
  background: #fff;
}
.input-field:focus {
  border-color: #a84d70;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(168, 77, 112, 0.12);
}

/* ============================================
   Service Card
   ============================================ */
.service-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.service-card:hover {
  transform: translateY(-6px);
}

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(125, 48, 73, 0.12) !important;
}

/* ============================================
   Nav Link
   ============================================ */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #ffd155;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ============================================
   Mobile Nav Link
   ============================================ */
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
}

/* ============================================
   Gallery Item
   ============================================ */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 16, 25, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 0.75rem;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================
   Reveal Animations (Progressive Enhancement)
   Only activate when JS is available and user prefers motion
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
}

/* Default visible state for all reveal elements (no-JS fallback) */
.section-reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navbar Scrolled State
   ============================================ */
.navbar-scrolled {
  background: rgba(45, 16, 25, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .btn-amber,
  .btn-outline-light {
    width: 100%;
    text-align: center;
  }
}
