/* =====================================================
   Baytown Barber Shop
   Base: Lawson Group salon-beauty template (adapted for barbershop)
   Colors: Navy #1B3A5C | Teal #4A8490 | Burgundy #8B2635
   ===================================================== */

:root {
  --brand-primary:   #1B3A5C;
  --brand-secondary: #4A8490;
  --brand-accent:    #8B2635;
  --brand-dark:      #132A43;
  --text-dark:       #1A1A1A;
  --text-mid:        #444;
  --text-light:      #666;
  --bg-light:        #F5F5F2;
  --bg-pale:         #EDECE8;
  --white:           #FFFFFF;
  --border:          #DDD9D3;
  --radius:          4px;
  --shadow:          0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:       0 6px 30px rgba(0,0,0,0.14);
  --font-sans:       'Inter', system-ui, -apple-system, sans-serif;
  --font-display:    'Montserrat', 'Inter', sans-serif;
  --font-serif:      Georgia, 'Times New Roman', serif;
  --transition:      0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-primary); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; }
.text-center { text-align: center; }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 0.75rem; }
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 2.5rem; max-width: 640px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem;
  transition: all var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--brand-accent); color: var(--white); }
.btn-primary:hover { background: #6e1d28; color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--brand-primary); }
.btn-dark { background: var(--brand-primary); color: var(--white); }
.btn-dark:hover { background: var(--brand-dark); color: var(--white); }

/* --- Top Bar --- */
.topbar { background: var(--brand-dark); color: var(--white); font-size: 0.82rem; padding: 0.45rem 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar a { color: var(--white); }
.topbar a:hover { color: rgba(255,255,255,0.7); }

/* --- Nav --- */
.site-header { background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav-logo { font-family: var(--font-serif); font-weight: 700; font-style: italic; font-size: 1.4rem; color: var(--brand-primary); text-decoration: none; }
.nav-logo span { color: var(--brand-accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand-accent); }
.nav-cta { margin-left: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; border-radius: 2px; }

/* --- Hero --- */
.hero {
  background: var(--brand-primary);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  align-items: stretch;
}
.hero-content { padding: 5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; font-family: var(--font-serif); font-style: italic; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 1.5rem; }
.hero-since { font-size: 0.85rem; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.gallery-cell {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.2);
  min-height: 140px;
}

/* --- Services Section --- */
.services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem;
  box-shadow: var(--shadow); border-top: 3px solid var(--brand-accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--brand-primary); margin-bottom: 0.4rem; }
.service-price { font-weight: 700; color: var(--brand-accent); font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 0; }

/* --- Booking CTA --- */
.booking-cta { background: var(--brand-accent); color: var(--white); padding: 4rem 0; }
.booking-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.booking-cta h2 { color: var(--white); margin-bottom: 0.5rem; }
.booking-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 0; }
.booking-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; min-width: 220px; }

/* --- About / Team Section --- */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--brand-dark), #1d3a4f);
  border-radius: var(--radius);
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.2);
}
.about-text .section-title { margin-bottom: 1rem; }
.about-text p { color: var(--text-mid); }
.about-text strong { color: var(--brand-primary); }

/* --- Testimonials --- */
.testimonials { background: var(--bg-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border-left: 4px solid var(--brand-accent); box-shadow: var(--shadow); }
.stars { color: #F5A623; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-card blockquote { color: var(--text-mid); font-style: italic; font-size: 0.95rem; margin-bottom: 1rem; }
.reviewer { font-weight: 700; font-size: 0.9rem; color: var(--brand-primary); }
.reviewer span { font-weight: 400; color: var(--text-light); }

/* --- Contact Section --- */
.contact-section { background: var(--brand-dark); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info p { color: rgba(255,255,255,0.75); }
.contact-details { margin-top: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-detail-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail-text strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 0.1rem; }
.contact-detail-text a, .contact-detail-text span { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.contact-detail-text a:hover { color: rgba(255,255,255,1); }
.hours-table { width: 100%; margin-top: 0.5rem; }
.hours-table tr td { padding: 0.25rem 0; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.hours-table tr td:last-child { text-align: right; }
.contact-form { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 2.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 0.7rem 1rem; color: var(--white);
  font-size: 0.95rem; font-family: var(--font-sans); transition: border-color var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-accent); }
.form-group select option { background: var(--brand-dark); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; }
.form-success { display: none; background: rgba(74,132,144,0.3); border: 1px solid var(--brand-secondary); border-radius: var(--radius); padding: 1rem; text-align: center; color: var(--white); margin-top: 1rem; }

/* --- Footer --- */
.site-footer { background: #0E2136; color: rgba(255,255,255,0.6); padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .nav-logo { color: var(--white); display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.5; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--brand-accent); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* --- Stock Photo Replacements --- */
.service-card.has-photo { padding: 0; overflow: hidden; }
.service-card.has-photo .service-card-body { padding: 1.75rem 1.75rem 1.75rem; }
.service-photo { width: 100%; height: 180px; object-fit: cover; display: block; }
.gallery-cell { overflow: hidden; }
.gallery-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
img.about-visual { background: var(--bg-pale); display: block; width: 100%; object-fit: cover; border-radius: var(--radius); min-height: 360px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-gallery { min-height: 200px; }
  .hero-content { padding: 3.5rem 1.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .booking-inner { grid-template-columns: 1fr; }
  .booking-actions { align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; gap: 1.25rem; box-shadow: var(--shadow-lg); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
