/* ===================================
   Blend Barbershop — Styles
   Charcoal + Coral · Editorial
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --charcoal-mid: #3a3a3a;
  --coral: #C85A3C;
  --coral-light: #d4735a;
  --coral-dark: #a84830;
  --cream: #f7f3f0;
  --cream-dark: #efe9e3;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #555555;
  --text-light: #888888;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-subhead {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--coral);
}

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 90, 60, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-map {
  margin-top: 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--coral);
  padding: 8px 18px;
  border: 1px solid var(--coral);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--coral);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--coral);
}

.mobile-menu-cta {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral);
  margin-top: 8px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(200, 90, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-image {
  position: relative;
  height: 700px;
}

.hero-image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 85%;
  border-radius: 6px;
  overflow: hidden;
}

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

.hero-image-accent {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 55%;
  height: 35%;
  border-radius: 6px;
  overflow: hidden;
  border: 4px solid var(--charcoal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.hero-accent-box {
  position: absolute;
  bottom: 38%;
  left: -8%;
  background: var(--coral);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(200, 90, 60, 0.4);
}

.hero-accent-box-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 2px;
}

.hero-accent-box-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--cream);
}

.services-header {
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 90, 60, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--coral);
  color: var(--white);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-stack {
  position: relative;
  height: 680px;
}

.about-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 82%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 45%;
  border-radius: 8px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent-bar {
  position: absolute;
  top: 10%;
  right: 18%;
  width: 60px;
  height: 120px;
  background: var(--coral);
  border-radius: 4px;
  z-index: -1;
}

.about-body {
  margin-bottom: 40px;
}

.about-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

.about-value-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 90, 60, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
  padding: 120px 0;
  background: var(--cream);
}

.gallery-header {
  margin-bottom: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 16px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--large {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 7;
  grid-row: span 1;
}

/* --- Testimonial --- */
.testimonial-strip {
  background: var(--charcoal);
  padding: 80px 0;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 20px;
}

.testimonial-attr {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 16px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 90, 60, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.contact-detail-value a {
  color: var(--charcoal);
  transition: var(--transition);
}

.contact-detail-value a:hover {
  color: var(--coral);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--cream);
  border-radius: 12px;
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  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.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  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.925rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(200, 90, 60, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(200, 90, 60, 0.08);
  border: 1px solid rgba(200, 90, 60, 0.2);
  border-radius: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--coral-dark);
}

.form-success.show {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--coral);
}

/* --- Map --- */
.map-section {
  background: var(--charcoal-light);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 380px;
  filter: grayscale(0.4) contrast(1.05);
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-mark {
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral);
  transition: var(--transition);
}

.footer-phone:hover {
  color: var(--coral-light);
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    height: 500px;
    max-width: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    gap: 48px;
  }

  .about-image-stack {
    height: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 80px;
    min-height: auto;
  }

  .hero-inner {
    padding-top: 24px;
  }

  .hero-image {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-scroll {
    display: none;
  }

  .services {
    padding: 80px 0;
  }

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

  .about {
    padding: 80px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-stack {
    height: 400px;
    order: -1;
  }

  .gallery {
    padding: 80px 0;
  }

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

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item {
    height: 240px;
  }

  .testimonial-strip {
    padding: 60px 0;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-form {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .contact-form {
    padding: 20px;
  }
}
