/* ============================================
   Barbershop Toronto Coolcutz
   Palette: near-black (#0f0f0f) + warm off-white (#f7f3ee) + aged gold (#c8a45c)
   Type: Playfair Display (display) + Inter (body)
   ============================================ */

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

:root {
  --black: #0f0f0f;
  --warm: #f7f3ee;
  --gold: #c8a45c;
  --gold-light: #dbb978;
  --gray: #6b6358;
  --gray-light: #b0a89e;
  --card-bg: #ffffff;
  --border: #e0d8ce;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --max-measure: 65ch;
  --max-wide: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body);
  background: var(--warm);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  color: var(--warm);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
  position: relative;
}

.hero-content::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.hero-label {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-name .gold {
  color: var(--gold);
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: var(--space-lg);
  max-width: 30ch;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gold);
  color: var(--black);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 0;
  transition: all 0.2s ease;
  width: fit-content;
  border: 2px solid var(--gold);
  cursor: pointer;
}

.hero-cta:hover {
  background: transparent;
  color: var(--gold);
}

.hero-cta .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

.hero-phone {
  margin-top: var(--space-lg);
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-light);
}

.hero-phone a {
  color: var(--warm);
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-phone a:hover {
  color: var(--gold);
}

.hero-image {
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.section-dark {
  background: var(--black);
  color: var(--warm);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: var(--space-xl);
  max-width: var(--max-measure);
}

.section-dark .section-subtitle {
  color: var(--gray-light);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review-card {
  background: var(--card-bg);
  padding: var(--space-lg);
  border-left: 3px solid var(--gold);
  position: relative;
}

.review-card::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
}

.review-text {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--black);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
}

.review-author {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: var(--space-xs);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

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

.service-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.service-price {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: var(--space-md);
}

/* ===== HOURS ===== */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
}

.hours-time {
  color: var(--gray-light);
}

.hours-cta-card {
  background: rgba(200, 164, 92, 0.08);
  border: 1px solid rgba(200, 164, 92, 0.2);
  padding: var(--space-xl);
  text-align: center;
}

.hours-cta-card p {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--gold-light);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-grid img:hover {
  opacity: 0.85;
}

.gallery-grid img:first-child {
  grid-column: 1 / -1;
  height: 420px;
}

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

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.contact-item-value {
  font-size: 1.05rem;
  line-height: 1.4;
}

.contact-item-value a {
  color: var(--black);
  transition: color 0.2s ease;
}

.contact-item-value a:hover {
  color: var(--gold);
}

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

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--black);
  transition: border-color 0.2s ease;
}

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

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

.contact-form button {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.contact-form button:hover {
  background: transparent;
  color: var(--gold);
}

.form-status {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--gray-light);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-address {
  line-height: 1.5;
}

.footer-attribution {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-attribution a {
  color: var(--gray-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-lg);
    min-height: 70vh;
    min-height: 70dvh;
  }

  .hero-content::after {
    display: none;
  }

  .hero-image {
    height: 50vh;
    order: -1;
  }

  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

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

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

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

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

  .gallery-grid img {
    height: 250px;
  }

  .gallery-grid img:first-child {
    height: 300px;
  }

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

  .section {
    padding: var(--space-xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-lg) var(--space-md);
    min-height: 60vh;
    min-height: 60dvh;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-phone {
    font-size: 1rem;
  }

  .review-card {
    padding: var(--space-md);
  }

  .service-card {
    padding: var(--space-md);
  }

  .hours-cta-card {
    padding: var(--space-lg);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

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