/* ============================================================
   City Barbers — Shared Stylesheet
   citybarbersnyc.com | 223 E 74th St, New York, NY 10021
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1b1b1b;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; }

/* ---- Animations ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---- Layout ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 4px; font-weight: 700; color: #8b6914; margin-bottom: 16px; display: inline-block; }
.heading-xl { font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; }
.heading-lg { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -.01em; }
.heading-md { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; }
.body-lg { font-size: 1.1rem; color: #5a5a5a; line-height: 1.75; max-width: 540px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 32px; font-family: 'DM Sans', sans-serif; font-size: .875rem; font-weight: 600; letter-spacing: .3px; border: none; border-radius: 2px; cursor: pointer; transition: all .35s cubic-bezier(.16,1,.3,1); }
.btn-gold { background: #1b1b1b; color: #fff; }
.btn-gold:hover { background: #8b6914; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,105,20,.3); }
.btn-outline-white { background: 0 0; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: #fff; color: #1b1b1b; border-color: #fff; }
.btn-outline-dark { background: 0 0; color: #1b1b1b; border: 1.5px solid #1b1b1b; }
.btn-outline-dark:hover { background: #1b1b1b; color: #fff; }
.btn-sm { padding: 10px 22px; font-size: .8rem; }

/* ---- NAV ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .4s cubic-bezier(.16,1,.3,1); padding: 24px 0; }
.nav.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(20px); padding: 16px 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav.scrolled .nav-logo, .nav.scrolled .nav-links a { color: #1b1b1b; }
.nav.scrolled .nav-links a:hover { color: #8b6914; }
.nav.scrolled .nav-toggle span { background: #1b1b1b; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: #fff; transition: color .4s; }
.nav-inner-page .nav-logo { color: #1b1b1b; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.85); transition: color .3s; position: relative; }
.nav-inner-page .nav-links a { color: #1b1b1b; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: #8b6914; transition: width .3s; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #8b6914 !important; }
.nav-cta .btn { padding: 10px 24px; font-size: 11px; letter-spacing: 1.5px; }
.nav-inner-page { background: rgba(255,255,255,.97); padding: 16px 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: 0 0; border: none; padding: 4px; }
.nav-toggle span { width: 22px; height: 1.5px; background: #fff; transition: all .3s; }
.nav-inner-page .nav-toggle span { background: #1b1b1b; }

/* ---- Page Hero (inner pages) ---- */
.page-hero { background: #1b1b1b; color: #fff; padding: 140px 0 80px; }
.page-hero .eyebrow { color: #c9a84c; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .body-lg { color: rgba(255,255,255,.65); }

/* ---- Breadcrumb ---- */
.breadcrumb { padding: 16px 0; font-size: .8rem; color: #aaa; border-bottom: 1px solid #f0ede6; margin-bottom: 0; background: #fafaf8; }
.breadcrumb a { color: #8b6914; }
.breadcrumb span { margin: 0 6px; }

/* ---- Service Detail ---- */
.service-detail { padding: 80px 0; }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.service-content h2 { font-size: 1.6rem; margin: 40px 0 16px; color: #1b1b1b; }
.service-content h3 { font-size: 1.2rem; margin: 28px 0 12px; color: #1b1b1b; }
.service-content p { font-size: 1rem; color: #555; line-height: 1.75; margin-bottom: 16px; }
.service-content ul, .service-content ol { padding-left: 1.5rem; margin-bottom: 16px; }
.service-content li { font-size: 1rem; color: #555; line-height: 1.75; margin-bottom: 8px; }
.service-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: #fafaf8; border: 1px solid #f0ede6; border-radius: 4px; padding: 32px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.sidebar-price { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: #8b6914; line-height: 1; margin-bottom: 4px; }
.sidebar-price-label { font-size: .8rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.related-services h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: #aaa; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; }
.related-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0ede6; font-size: .9rem; transition: color .3s; }
.related-link:hover { color: #8b6914; }
.related-link span { font-family: 'DM Serif Display', serif; color: #8b6914; }

/* ---- FAQ Section ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; font-size: 1rem; font-weight: 600; background: 0 0; border: none; width: 100%; text-align: left; font-family: 'DM Sans', sans-serif; color: #1b1b1b; transition: color .3s; }
.faq-question:hover { color: #8b6914; }
.faq-icon { font-size: 1.2rem; color: #ccc; transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: #8b6914; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .4s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-answer p { font-size: .9rem; color: #777; line-height: 1.7; }

/* ---- CTA Banner ---- */
.cta-banner { background: #1b1b1b; color: #fff; padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { color: #fff; flex-shrink: 0; }
.cta-inner p { color: rgba(255,255,255,.5); font-size: .95rem; max-width: 400px; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

/* ---- Footer ---- */
.footer { background: #0a0a0a; color: rgba(255,255,255,.45); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-desc { font-size: .85rem; line-height: 1.7; max-width: 300px; }
.footer h4 { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .85rem; transition: color .3s; }
.footer-links a:hover { color: #c9a84c; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; justify-content: space-between; font-size: .75rem; }
.footer-nap { font-size: .75rem; color: rgba(255,255,255,.3); }

/* ---- Reviews ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fafaf8; padding: 32px; border-radius: 4px; border: 1px solid #f0ede6; transition: all .3s; }
.review-card:hover { border-color: #c9a84c; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.04); }
.review-stars-sm { color: #c9a84c; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-size: .95rem; color: #555; line-height: 1.7; margin-bottom: 20px; }
.review-author { font-size: .85rem; font-weight: 600; }
.review-meta { font-size: .75rem; color: #aaa; margin-top: 2px; }

/* ---- Blog Cards ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #f0ede6; transition: all .4s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.06); }
.blog-img { height: 200px; background: linear-gradient(135deg, #c9a84c, #8b6914); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 28px; }
.blog-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: #8b6914; margin-bottom: 12px; }
.blog-title { font-family: 'DM Serif Display', serif; font-size: 1.15rem; line-height: 1.35; margin-bottom: 12px; }
.blog-excerpt { font-size: .85rem; color: #888; line-height: 1.7; margin-bottom: 20px; }
.blog-link { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #1b1b1b; transition: color .3s; }
.blog-link:hover { color: #8b6914; }

/* ---- Blog Post ---- */
.blog-post-content { max-width: 780px; }
.blog-post-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.blog-post-content h3 { font-size: 1.2rem; margin: 28px 0 12px; }
.blog-post-content p { font-size: 1.05rem; color: #444; line-height: 1.8; margin-bottom: 20px; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.5rem; margin-bottom: 20px; }
.blog-post-content li { font-size: 1.05rem; color: #444; line-height: 1.8; margin-bottom: 10px; }
.blog-meta { display: flex; gap: 20px; font-size: .85rem; color: #aaa; margin-bottom: 40px; }
.blog-meta span { display: flex; align-items: center; gap: 6px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); padding: 24px 28px; gap: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.1); }
  .nav-links.active a { color: #1b1b1b; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner p { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
