/* ============================================
   Gio's Barber Shop — styles.css
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #111111;
  --bg-alt: #1a1a1a;
  --accent: #C9A84C;
  --accent-dark: #a8893d;
  --text: #f5f5f5;
  --text-muted: #999999;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --section-pad: clamp(60px, 8vw, 100px);
  --container: 1140px;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #e0c060; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: clamp(0.95rem, 1.1vw, 1.05rem); }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section --- */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }
.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-glow {
  position: relative;
}
.section-glow::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(17,17,17,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
}
.nav__phone {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav__phone svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
  fill: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(17,17,17,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .nav__phone {
  margin-top: 16px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav__links, .nav__phone-desktop { display: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: #111;
}
.btn--primary:hover {
  background: #e0c060;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--secondary:hover {
  background: rgba(201,168,76,0.1);
  color: #e0c060;
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.1) 0%, transparent 50%),
              linear-gradient(180deg, #111111 0%, #1a1a1a 50%, #111111 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 20px;
}
.hero__content h1 {
  margin-bottom: 16px;
}
.hero__content h1 span {
  color: var(--accent);
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Header --- */
.page-header {
  padding: calc(70px + var(--section-pad)) 0 var(--section-pad);
  text-align: center;
  background: radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.06) 0%, transparent 50%),
              var(--bg);
}
.page-header--compact {
  padding-bottom: 2rem;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
  display: block;
}
.stat__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 8px 32px rgba(201,168,76,0.08);
}
.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- About Teaser --- */
.about-teaser {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-teaser p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-teaser .arrow-link {
  font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center;
  padding: var(--section-pad) 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-alt);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: rgba(201,168,76,0.2);
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
}
.team-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.team-card p { color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* --- Bullet List --- */
.feature-list {
  max-width: 600px;
}
.feature-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-card:hover { transform: scale(1.02); }
.gallery-card__bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-card__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__content {
  text-align: center;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  padding: 20px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 20px;
}
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  margin-top: 3px;
}
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--accent); }
.contact-item p { color: var(--text-muted); }

/* --- Hours Table --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}
.hours-table td:first-child { color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }
.hours-table .closed { color: var(--text-muted); font-style: italic; }

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.social-link:hover { color: var(--accent); }
.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; }

form .btn {
  width: 100%;
}

/* --- Note Banner --- */
.note-banner {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
}
.note-banner a { font-weight: 600; }

/* --- Map --- */
.map-container {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* --- Footer --- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer__links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px 0;
}
.footer__links a:hover { color: var(--accent); }
.footer__hours p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --- Fade Up Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Links --- */
.section-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
}

/* --- Coming Soon Banner --- */
.coming-soon-banner {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* --- Owner Section --- */
.owner-section {
  max-width: 700px;
}
.owner-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Print --- */
@media print {
  .nav, .footer, .hamburger, .mobile-menu { display: none; }
  body { background: #fff; color: #111; }
  .section { padding: 24px 0; }
}
