/* ============================================
   Haircon Bedford – Mockup Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1A1515;
  background-color: #F7F5F2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #4A1C3A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #4A1C3A;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #4A1C3A;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Oranienbaum', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: #1A1515;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.overline {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5E5654;
  margin-bottom: 12px;
}

.caption {
  font-size: 0.875rem;
  color: #5E5654;
  letter-spacing: 0.02em;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section + .section {
  border-top: 1px solid #D4CFCA;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 50;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav--scrolled {
  background: #F7F5F2;
  border-bottom: 1px solid #D4CFCA;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Oranienbaum', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1A1515;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav__logo:hover {
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1A1515;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  text-decoration: none;
}

.nav__links a[aria-current="page"]::after,
.nav__links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #4A1C3A;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background-color: #4A1C3A;
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: #2E0E22;
}

.btn--secondary {
  background-color: transparent;
  color: #4A1C3A;
  border: 1.5px solid #4A1C3A;
}

.btn--secondary:hover {
  background-color: #4A1C3A;
  color: #FFFFFF;
}

.btn--light {
  background-color: #FFFFFF;
  color: #4A1C3A;
}

.btn--light:hover {
  background-color: #EDEAE6;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1A1515;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  color: #FFFFFF;
}

.hero__overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero h1 {
  color: #FFFFFF;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__phone {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.hero__phone a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ---- Playroom Feature ---- */
.playroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.playroom__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #EDEAE6;
  padding: 32px;
  border: 1px solid #D4CFCA;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: #5E5654;
  font-size: 0.9375rem;
}

/* ---- Testimonials ---- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.testimonial {
  padding: 32px;
  border-left: 3px solid #4A1C3A;
  background: #EDEAE6;
}

.testimonial q {
  display: block;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.6;
  color: #1A1515;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5E5654;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Stylists Grid ---- */
.stylists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stylist-card {
  padding: 40px;
  background: #EDEAE6;
  border: 1px solid #D4CFCA;
}

.stylist-card h3 {
  margin-bottom: 4px;
}

.stylist-card .role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A1C3A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.stylist-card .specialties {
  font-size: 0.875rem;
  color: #5E5654;
  margin-bottom: 16px;
}

.stylist-card .quote {
  font-style: italic;
  color: #5E5654;
  font-size: 0.9375rem;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid #D4CFCA;
  margin-top: 16px;
}

.stylist-card .quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5E5654;
}

/* ---- Visit Page ---- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.visit-info h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.visit-info p {
  margin-bottom: 12px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid #D4CFCA;
  font-size: 0.9375rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.faq-item {
  margin-bottom: 32px;
}

.faq-item h4 {
  margin-bottom: 8px;
  color: #1A1515;
}

.faq-item p {
  color: #5E5654;
  font-size: 0.9375rem;
}

/* ---- Contact Form ---- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5E5654;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  color: #1A1515;
  background: #F7F5F2;
  border: 1px solid #D4CFCA;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #4A1C3A;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---- Book Page ---- */
.booking-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.booking-option {
  padding: 32px;
  background: #EDEAE6;
  border: 1px solid #D4CFCA;
  text-align: center;
}

.booking-option h3 {
  margin-bottom: 12px;
}

.booking-option p {
  color: #5E5654;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

/* ---- Footer ---- */
.footer {
  background: #2E0E22;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer a {
  color: #FFFFFF;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer__col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Utility ---- */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.page-header {
  padding-top: 120px;
  padding-bottom: 48px;
  border-bottom: 1px solid #D4CFCA;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.125rem;
  color: #5E5654;
  max-width: 600px;
}

/* ---- Responsive ---- */
@media (max-width: 1079px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: #F7F5F2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 40;
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links a {
    font-family: 'Oranienbaum', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    padding: 12px 0;
  }

  .nav__links a[aria-current="page"]::after,
  .nav__links a:hover::after {
    height: 2px;
  }

  .nav__toggle {
    display: block;
    z-index: 50;
  }

  .nav__cta {
    display: none;
  }

  .hero__content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .playroom,
  .services-grid,
  .testimonials,
  .stylists-grid,
  .visit-grid,
  .booking-options,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .container {
    padding: 0 16px;
  }

  .hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card,
  .testimonial,
  .stylist-card,
  .booking-option {
    padding: 24px;
  }
}

/* ---- Print ---- */
@media print {
  .nav,
  .footer,
  .btn,
  .hero__actions,
  .nav__toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  .section {
    padding: 24px 0;
    border-top: 1px solid #ccc;
  }

  .hero {
    min-height: auto;
    background: #fff;
    color: #000;
  }

  .hero__bg {
    display: none;
  }

  .hero h1,
  .hero p {
    color: #000;
  }
}
