/* ===== TINA'S AFRICAN BRAIDING STORE =====
   Palette: deep espresso (#1a0f0a), warm ivory (#f5ede4), amber-gold (#c78a5c)
   Type: Playfair Display (display) + Inter (body)
   No dark mode — single scheme, cold-email landing page.
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  /* Palette */
  --base: #1a0f0a;
  --foreground: #f5ede4;
  --accent: #c78a5c;
  --accent-hover: #d9a070;
  --muted: #b5a394;
  --card-bg: #2a1a12;
  --border: #3d2a1e;
  --star: #e8b84b;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  /* Type scale */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 5rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--base);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) var(--space-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.8) brightness(0.7);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--base) 0%,
    rgba(26, 15, 10, 0.85) 40%,
    rgba(26, 15, 10, 0.4) 70%,
    rgba(26, 15, 10, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 var(--space-lg) 0;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--muted);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--accent);
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  background: transparent;
}

.hero-phone:hover {
  background: var(--accent);
  color: var(--base);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--base);
  background: var(--accent);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--accent-hover);
  color: var(--base);
  transform: translateY(-2px);
}

.hero-address {
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--muted);
}

.hero-address a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 var(--space-lg) 0;
  color: var(--foreground);
}

/* ===== REVIEWS ===== */
.reviews {
  background: var(--card-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
  }
}

.review-card {
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.review-stars {
  color: var(--star);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--foreground);
  margin: 0 0 var(--space-md) 0;
  font-style: italic;
}

.review-author {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
  color: var(--foreground);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== HOURS ===== */
.hours {
  background: var(--card-bg);
}

.hours-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  margin-top: var(--space-lg);
}

.hours-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-base);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

/* ===== CONTACT / FORM ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info p {
  margin: var(--space-sm) 0;
  font-size: var(--text-base);
  color: var(--muted);
}

.contact-info strong {
  color: var(--foreground);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base);
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.contact-form button {
  align-self: flex-start;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--base);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-xl);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-status {
  font-size: var(--text-sm);
  color: var(--accent);
  margin: 0;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

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

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  margin: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

footer .attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: var(--space-sm);
}

footer .attribution a {
  color: var(--muted);
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
