/* AJ Beauty & Lashes Rochdale — 2026 Brand Styles */

:root {
  --primary: #1A1A1A;
  --secondary: #8B7355;
  --accent: #C9A9A6;
  --bg: #FAF8F6;
  --text: #2D2D2D;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  --shadow-hover: 0 4px 20px rgba(26, 26, 26, 0.1);
  --transition: 0.2s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 0; }
h3 { font-size: 1.25rem; }

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.logo span { color: var(--secondary); }

.nav-desktop {
  display: none;
}

.nav-desktop a {
  color: var(--text);
  margin-left: 1.5rem;
  font-weight: 500;
}

.nav-desktop a:hover { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-accent {
  background: var(--secondary);
  color: var(--white);
}

.btn-accent:hover {
  background: #7a6349;
  color: var(--white);
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  padding: 5rem 2rem 2rem;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 99;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-mobile .btn { margin-top: 1.5rem; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 98;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; align-items: center; }
  .nav-mobile { display: none; }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero-with-image {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-with-image {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .hero-with-image .hero-content { order: 1; }
  .hero-with-image .hero-image { order: 2; }
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-with-image h1 { margin-left: 0; }
}

.hero-subhead {
  font-size: 1.125rem;
  max-width: 42ch;
  margin: 0 auto 2rem;
  color: var(--text);
}

@media (min-width: 768px) {
  .hero-with-image .hero-subhead { margin-left: 0; margin-right: 0; }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-with-image .hero-btns { justify-content: flex-start; }

@media (min-width: 768px) {
  .hero { padding: 4rem 0 5rem; }
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 { margin-bottom: 0.5rem; }

.section-header p {
  margin: 0;
  color: var(--text);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* Service cards */
.service-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.service-card:hover { box-shadow: var(--shadow-hover); }

.service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.service-card .btn {
  margin-top: 1rem;
  width: 100%;
  font-size: 0.875rem;
}

/* Review cards */
.review-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  font-size: 0.9375rem;
}

.review-card cite {
  font-size: 0.875rem;
  color: var(--secondary);
  font-style: normal;
}

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pricing-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover td { background: rgba(201, 169, 166, 0.08); }

.pricing-note {
  font-size: 0.875rem;
  color: var(--text);
  margin-top: 1rem;
  opacity: 0.9;
}

/* FAQ accordion */
.faq-list { max-width: 640px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 1rem 0;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { color: var(--secondary); }

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item[data-open] .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1rem;
  font-size: 0.9375rem;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filters button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--secondary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--accent);
  background: linear-gradient(135deg, #e8e0dc 0%, #d4c8c4 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

a.gallery-item:hover img {
  transform: scale(1.05);
}

/* Policy sections */
.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.policy-section p { margin: 0 0 0.5rem; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info h3 { margin-bottom: 0.5rem; }

.contact-info p { margin: 0 0 0.5rem; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #e8e4e0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  margin: 0 0 0.5rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }
