/* ═══════════════════════════════════════════
   ANGEL DOMINICAN BARBERSHIP — STYLESHEET
   Palette: Burgundy (#6B1D2A) + Blush (#F5E6E0)
   Fonts: Playfair Display + Lato
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burgundy:      #6B1D2A;
  --burgundy-dark: #4E141F;
  --burgundy-light:#8C2A3A;
  --blush:         #F5E6E0;
  --blush-light:   #FAF3F0;
  --blush-dark:    #E8D0C8;
  --cream:         #FDF8F6;
  --charcoal:      #1E1A17;
  --charcoal-light:#2D2620;
  --warm-gray:     #6B6460;
  --warm-gray-light:#9E9690;
  --gold:          #C4A265;
  --gold-light:    #D4B87A;
  --white:         #FFFFFF;
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Lato', 'Segoe UI', system-ui, sans-serif;
  --max-width:     1200px;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--burgundy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  font-size: 0.875rem;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blush-dark);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(107, 29, 42, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.logo-light { color: var(--white); }
.logo-accent { color: var(--burgundy); font-weight: 400; font-style: italic; }
.logo-light .logo-accent { color: var(--blush); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--burgundy);
  transition: width var(--transition);
}
.primary-nav a:hover { color: var(--burgundy); }
.primary-nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border: 2px solid var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107, 29, 42, 0.25);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}
.btn-nav {
  padding: 10px 22px;
  font-size: 0.8125rem;
}
.btn-lg { padding: 16px 36px; font-size: 0.9375rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg); top: 0; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(30, 26, 23, 0.6) 0%,
    rgba(107, 29, 42, 0.5) 50%,
    rgba(30, 26, 23, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.headline-accent {
  color: var(--blush);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION COMMON ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--burgundy);
  margin: 0 auto;
}
.section-divider.align-left { margin: 0 0 32px; }

/* ── SERVICES ── */
.services {
  padding: 100px 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--blush-dark);
  border-radius: 8px;
  padding: 40px 32px;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 29, 42, 0.1);
  border-color: var(--burgundy);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--burgundy);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--burgundy);
  color: var(--white);
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background: var(--blush-light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(107, 29, 42, 0.12);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  border: 6px solid var(--blush-light);
  box-shadow: 0 8px 32px rgba(107, 29, 42, 0.1);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-accent-box {
  position: absolute;
  top: -24px;
  left: -24px;
  background: var(--burgundy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(107, 29, 42, 0.3);
}
.accent-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.accent-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 4px;
}
.about-content .section-title { text-align: left; }
.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 20px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
}
.value-icon {
  color: var(--burgundy);
  flex-shrink: 0;
}

/* ── GALLERY ── */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(107, 29, 42, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* ── CTA BANNER ── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(78, 20, 31, 0.92) 0%, rgba(30, 26, 23, 0.88) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-content .section-eyebrow.light { color: var(--gold); }
.cta-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--blush-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--blush-dark);
  border-radius: 8px;
  transition: all var(--transition);
}
.info-card:hover {
  border-color: var(--burgundy);
  box-shadow: 0 4px 20px rgba(107, 29, 42, 0.08);
}
.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--burgundy);
  flex-shrink: 0;
}
.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.info-card p,
.info-card a {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.6;
}
.info-card a:hover { color: var(--burgundy); text-decoration: underline; }

/* ── FORM ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--blush-dark);
  border-radius: 8px;
  padding: 40px;
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--blush-light);
  border: 1.5px solid var(--blush-dark);
  border-radius: 4px;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107, 29, 42, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--warm-gray-light); }
.form-note {
  font-size: 0.8125rem;
  color: var(--warm-gray-light);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { color: var(--burgundy); margin: 0 auto 16px; }
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-success p { color: var(--warm-gray); }

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul,
.footer-hours ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-hours a,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-hours a:hover,
.footer-contact a:hover { color: var(--blush); }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9375rem;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Default state: visible (progressive enhancement) */
/* JS adds .revealed for scroll-triggered animation */

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid    { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    padding: 96px 32px 32px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transition: right var(--transition);
    z-index: 1000;
  }
  .primary-nav.open { right: 0; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 20px; }
  .primary-nav a { font-size: 1rem; }
  .btn-nav { display: none; }

  .hero-content { padding: 100px 24px 80px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-badges { gap: 8px; }

  .services { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .about { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-img-secondary { right: 0; }
  .about-values { grid-template-columns: 1fr; }

  .gallery { padding: 72px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .cta-banner { padding: 72px 0; }
  .cta-actions { flex-direction: column; align-items: center; }

  .contact { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .about-img-secondary { display: none; }
  .about-accent-box { top: -16px; left: -16px; padding: 16px 20px; }
  .accent-number { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-scroll { animation: none; }
}
