/* ========================================
   Heads Up Hair Studio — Custom Styles
   Premium Dark Luxury Theme
   Teal + Slate Grey + Gold Accents
======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Selection Color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #f1f5f9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Navbar Transition */
.nav-scrolled {
  background: rgba(2, 6, 23, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

/* Service Card Hover Effects */
.service-card {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(251, 191, 36, 0.05);
}

/* Gallery Item Hover */
.gallery-item {
  cursor: pointer;
}

.gallery-item img {
  will-change: transform;
}

/* Testimonial Card */
.testimonial-card {
  opacity: 1;
}

.testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer Animation for Gold Elements */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.1); }
  50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.2); }
}

/* Scroll Reveal Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile Menu Transition */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Select Dropdown Styling */
select option {
  background: #1e293b;
  color: #e2e8f0;
}

/* Image Loading Placeholder */
img {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.1;
  }
}

/* Print Styles */
@media print {
  nav, #contactForm, #mobileMenuBtn {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
