/* ============================================
   Hair by Lou - Stylesheet
   ============================================ */

:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #c8a87c;
  --color-accent-dark: #b08d5e;
  --color-dark: #1a1a1a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { color: var(--color-dark); }
img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 680px; }
.section { padding: 5rem 0; }
.page-section { padding-top: 8rem; }

/* Typography */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 168, 124, 0.3);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 168, 124, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(200, 168, 124, 0.3);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: none;
  transition: box-shadow 0.4s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: height 0.3s ease;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 44px;
  width: auto;
  transition: height 0.3s ease;
}
.logo:hover { opacity: 0.8; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--color-accent-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  overflow: hidden;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  animation: heroFadeIn 1.2s ease-out;
}
.hero-logo {
  width: clamp(280px, 50vw, 500px);
  height: auto;
  display: block;
  margin: 0 auto 2.5rem;
  padding-right: 1rem;
  filter: brightness(0) invert(1);
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ---- Instagram Gallery Grid ---- */
.gallery-section { background: var(--color-surface); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8e4df;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.2rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Placeholder tiles with shimmer */
.gallery-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8e4df 0%, #d4cfc8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.gallery-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---- Booking Section ---- */
.booking-section { background: var(--color-bg); }
.booking-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.booking-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: var(--radius);
}
.booking-placeholder {
  padding: 3rem 2rem;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.booking-placeholder:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.booking-placeholder p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.booking-note {
  font-size: 0.9rem !important;
  color: var(--color-text-muted);
  margin-top: 1.5rem !important;
}

/* ---- Contact Form ---- */
.contact-form {
  margin-top: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-group .optional {
  color: var(--color-text-muted);
  font-weight: 300;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d4cfc8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; }

.contact-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e4df;
  text-align: left;
}
.contact-info h3 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
}
.contact-info p { margin-bottom: 0.5rem; }

/* ---- Bio / About ---- */
.bio-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.bio-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  border: 2px solid var(--color-accent);
  margin: 0 auto;
}
.bio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.bio-title {
  font-size: 1.2rem;
  color: var(--color-accent-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bio-tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.bio-content {
  margin: 0 auto;
}
.bio-section {
  margin-bottom: 2.5rem;
}
.bio-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent-dark);
}
.bio-section p {
  margin-bottom: 1rem;
}
.bio-cta {
  text-align: center;
  margin: 3rem 0 1rem;
}
@media (max-width: 768px) {
  .bio-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .bio-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ---- Price List ---- */
.price-category {
  margin-bottom: 2.5rem;
}
.price-category h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}
.price-list {
  list-style: none;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eae6e1;
}
.price-list li:last-child { border-bottom: none; }
.price-list .service {
  font-weight: 400;
}
.price-list .price {
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
  margin-left: 1rem;
}
.price-note {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #f3efea;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---- Location ---- */
.location-map {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.location-map iframe {
  display: block;
}
.map-link {
  text-align: center;
  padding: 0.75rem;
  background: var(--color-surface);
  font-size: 0.85rem;
}
.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.location-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent-dark);
}
.location-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.opening-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-muted);
}
.location-card-center {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 768px) {
  .location-card-center {
    max-width: none;
  }
}
.location-card-cta {
  grid-column: 1 / -1;
  text-align: center;
}
.directions-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn-outline {
  background: transparent;
  color: var(--color-accent-dark);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Terms ---- */
.terms-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 2.5rem 0 0.75rem;
}
.terms-content p { margin-bottom: 1rem; }
.terms-updated {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  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; }

/* Stagger gallery items */
.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.08s; }
.gallery-item:nth-child(3) { transition-delay: 0.16s; }
.gallery-item:nth-child(4) { transition-delay: 0.24s; }
.gallery-item:nth-child(5) { transition-delay: 0.32s; }
.gallery-item:nth-child(6) { transition-delay: 0.4s; }

/* Section divider */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Form input focus glow */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(200, 168, 124, 0.2);
}

/* Price list hover */
.price-list li {
  transition: background 0.2s ease, padding 0.2s ease;
  border-radius: 4px;
}
.price-list li:hover {
  background: rgba(200, 168, 124, 0.06);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer .logo img { height: 24px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.8rem; }
.footer-instagram { display: inline-flex; align-items: center; }
.footer-instagram:hover { color: #fff; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .hero { background-attachment: scroll; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .footer-container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
