/* A Salon Paul Mitchell — static rebuild of the "aspm23" Joomla theme */

:root {
  --bg: #1a1a1a;
  --panel: rgba(0, 0, 0, 0.65);
  --card: #212529;
  --text: #e9ecef;
  --muted: #adb5bd;
  --heading: #dee2e6;
  --link: #fff;
  --link-hover: #ccc;
  --serif: "Cardo", Georgia, serif;
  --sans: "Lato", Arial, "Noto Sans", sans-serif;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("../images/floral-pattern-fade.svg"),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bg) 100%);
  background-attachment: fixed;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

h1, h2, h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: calc(1.40625rem + 1.875vw); }
h2 { font-size: calc(1.35rem + 1.2vw); }
h3 { font-size: calc(1.321875rem + 0.8625vw); }
@media (min-width: 1200px) {
  h1 { font-size: 3.28rem; }
  h2 { font-size: 2.55rem; }
  h3 { font-size: 2.2rem; }
}
p { margin: 0 0 1rem; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: var(--link-hover); }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.serif { font-family: var(--serif); }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header / nav ---------- */
.site-header { padding: 1rem 0; }
.site-header .container {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
}
.logo img { display: block; width: 279px; max-width: 60vw; height: auto; }

.nav-list { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block; padding: 0.75rem 1rem;
  font-family: var(--serif); font-size: 1.25rem; color: #fff;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--link-hover); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 4px;
  color: #fff; font: inherit; font-size: 1rem; padding: 0.4rem 0.9rem; cursor: pointer;
}

@media (max-width: 992px) {
  .site-header .container { justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .nav-toggle { display: block; }
  .site-nav { flex-basis: 100%; display: none; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding-top: 0.75rem; }
  .nav-list a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

/* ---------- Social + phone ---------- */
.social { display: flex; justify-content: center; gap: 2.5rem; padding: 0 0 0.5rem; }
.social a { display: inline-flex; font-size: 2rem; line-height: 1; }
.social.lg { gap: 1.5rem; padding: 1.5rem 0; }
.social.lg a { font-size: 2.75rem; }

.mobile-phone {
  display: none; text-align: center; padding: 1.5rem 0;
  font-family: var(--serif); font-size: calc(1.375rem + 1.5vw);
}
@media (max-width: 992px) { .mobile-phone { display: block; } }

/* ---------- Hero slideshow ---------- */
.slideshow {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 7; min-height: 600px;
  max-width: var(--max); margin: 0 auto;
}
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem;
  font-family: var(--serif); font-size: calc(1.375rem + 1.5vw); line-height: 1.2;
}
.slide figcaption.right { text-align: right; }
.slide figcaption.dark { color: #212529; }
@media (min-width: 1200px) { .slide figcaption { font-size: 2.5rem; } }
@media (max-width: 640px) {
  .slideshow { min-height: 420px; }
  .slide figcaption { padding: 1.25rem; }
}
.slide-dots {
  position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 2;
}
.slide-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.8); background: transparent;
}
.slide-dots button[aria-current="true"] { background: rgba(255, 255, 255, 0.9); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- Main article panel ---------- */
.article {
  background: var(--panel);
  max-width: var(--max); margin: 0 auto;
  padding: 5rem 3rem;
}
@media (max-width: 640px) { .article { padding: 3rem 16px; } }
.article.flush-top { padding-top: 2rem; }

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }
.services-grid h2 { color: var(--heading); font-size: 2rem; }
.services-grid ul { list-style: none; margin: 0; padding: 0; }
.services-grid li { padding: 0.15rem 0; }

/* Stylists */
.stylists {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; margin-top: 2.5rem;
}
@media (max-width: 960px) { .stylists { grid-template-columns: 1fr; } }
.stylists h2 { font-size: 2rem; }

/* Booking */
.book-cta {
  display: inline-block; margin: 1rem 0 0.5rem; padding: 0.9rem 2rem;
  border: 1px solid #fff; border-radius: 4px;
  font-family: var(--serif); font-size: 1.75rem;
}
.book-cta:hover { background: #fff; color: #1a1a1a; }

/* ---------- Hours / location cards ---------- */
.info { max-width: var(--max); margin: 1.5rem auto; padding: 1rem 16px; }
.info-row { display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 1.5rem; }
.info-card {
  flex: 0 1 calc(33.333% - 1rem); min-width: 300px;
  background: var(--card); color: #fff; padding: 3rem;
}
@media (max-width: 767px) { .info-card { flex-basis: 100%; min-width: 0; padding: 2rem; } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.5rem; text-align: left; }
.hours th { font-weight: 700; }
.hours td { white-space: nowrap; }
.info-card address { font-style: normal; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--card); padding: 3rem 16px 4rem; text-align: center; }
