:root {
  --bg: rgba(255, 255, 255, 0);
  --bg-alt: rgba(234, 241, 250, 0);
  --panel: rgba(244, 248, 253, 0);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.88);
  --gold: #1d4ed8;
  --gold-light: #3b82f6;
  --border: #dbe6f2;
  --radius: 4px;
  --max-width: 1100px;
  font-size: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
  background-image: url("../images/decor/mural/20260815_133239.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  text-shadow:
    -1px -1px 0 #0b1220,
     1px -1px 0 #0b1220,
    -1px  1px 0 #0b1220,
     1px  1px 0 #0b1220,
     0     0   3px rgba(11, 18, 32, 0.6);
}

h1, h2, h3, .brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.5px;
}

a { color: inherit; text-decoration: none; }

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

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

/* Header / Nav */

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand {
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: bold;
}

.brand-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-logo img {
  height: 104px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold);
}

.btn-outline:hover { background: var(--gold); color: #ffffff; }

/* Hero */
.hero {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 4.5rem 0; }

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-heading p { color: var(--text-muted); }

/* Photo placeholder (used until real photos are added) */
.photo,
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

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

/* Home page carousel */
.carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel img.active { opacity: 1; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-grid .photo,
.gallery-grid .photo-placeholder {
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-grid .photo:hover,
.gallery-grid .photo-placeholder:hover {
  transform: scale(1.02);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--panel);
  color: var(--text-muted);
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover { border-color: var(--gold); color: var(--gold-light); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

.team-photo {
  max-width: 800px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Barbers */
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.barber-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.barber-card .photo,
.barber-card .photo-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  border: none;
}

.barber-card-body { padding: 1.5rem; }

.barber-card h3 { color: var(--text); margin-bottom: 0.25rem; }

.barber-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.barber-bio { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* Shop (art & apparel) */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.product-card .photo,
.product-card .photo-placeholder {
  border-radius: 0;
  border: none;
}

.product-card-body { padding: 1.25rem; }

.product-card h3 { color: var(--text); margin-bottom: 0.25rem; font-size: 1.05rem; }

.product-price { color: var(--text-muted); font-size: 0.9rem; }

/* Contact / map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-row { margin-bottom: 1.5rem; }
.info-row h3 { color: var(--text); font-size: 1rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px; }
.info-row p { color: var(--text-muted); }
.info-row p a { display: inline-block; min-height: 44px; padding: 0.5rem 0; }

.map-embed {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.5rem;
  color: var(--text-muted);
}
.social-links a:hover { color: var(--gold-light); }

/* Responsive */
@media (max-width: 768px) {
  .brand-logo img { height: 76px; }

  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem 0 0;
    gap: 1.25rem;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }

  html { background-attachment: scroll; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel img { transition: none; }
}
