/* ============================================================
   Passion Hair — single page styles
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --ph-red: #c1272d;
  --ph-red-dark: #9c1f24;
  --ph-ink: #1a1a1a;
  --ph-muted: #5c5c5c;
  --ph-card: rgba(255, 255, 255, 0.94);
  --ph-radius: 16px;
  --ph-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --ph-nav-h: 68px;
}

/* Base */
* { box-sizing: border-box; }

body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ph-ink);
}

body { overflow-x: hidden; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--ph-nav-h);   /* offset so sections clear the fixed navbar */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Sections */
section[id] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: calc(var(--ph-nav-h) + 40px) 20px 60px;
  text-align: center;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

#home       { background-image: url('../img/Barber-Chair.jpg'); }
#services   { background-image: url('../img/marvy.jpg'); }
#appointment, #about, #hours, #directions {
  background-image: url('../img/straightedgebw.jpg');
}
#careers    { background-image: url('../img/passionhair.jpg'); }

@media (min-width: 768px) {
  #services, #appointment, #about, #hours, #directions {
    background-attachment: fixed;
  }
}

/* Navbar */
.navbar {
  min-height: var(--ph-nav-h);
  background-color: rgba(252, 252, 252, 0.97) !important;
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: min-height .3s ease, padding .3s ease;
}

.navbar-brand.ph-brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.navbar-brand.ph-brand img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

.navbar-brand.ph-brand .red {
  color: var(--ph-red);
}

.navbar .nav-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ph-ink) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--ph-red) !important;
  background-color: rgba(193, 39, 45, 0.08);
}

.navbar .nav-link.active {
  color: var(--ph-red) !important;
  background-color: rgba(193, 39, 45, 0.1);
  box-shadow: inset 0 -2px 0 var(--ph-red);
}

.navbar-shrink { min-height: 56px; }

/* Content cards */
.content-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 40px;
  background: var(--ph-card);
  border-radius: var(--ph-radius);
  box-shadow: var(--ph-shadow);
  backdrop-filter: blur(4px);
  text-align: center;
}

.content-card.card-wide { max-width: 760px; }

@media (max-width: 575px) {
  .content-card { padding: 32px 22px; }
}

/* Typography */
.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ph-ink);
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px;
}

.section-title .red { color: var(--ph-red); }

/* red accent rule under headings */
.title-rule {
  width: 54px;
  height: 4px;
  background: var(--ph-red);
  border: 0;
  border-radius: 3px;
  margin: 0 auto 26px;
  opacity: 1;
}

.content-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 18px;
  margin: 26px 0 14px;
  color: var(--ph-ink);
}

.content-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ph-muted);
  margin: 0 0 20px;
}

.content-card a { color: var(--ph-red); text-decoration: none; }
.content-card a:hover { text-decoration: underline; }

/* Home hero (no card — text sits directly on the photo) */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--ph-radius);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(2px);
  max-width: 720px;
}

.hero .brand-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  font-size: clamp(44px, 8vw, 84px);
  margin: 0 0 10px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero .brand-heading .red { color: var(--ph-red); }

.hero .intro-text {
  font-size: clamp(18px, 3vw, 30px);
  color: #f2f2f2;
  font-weight: 500;
  margin: 0 0 30px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-subline {
  font-size: clamp(14px, 1.9vw, 18px);
  color: #e6e6e6;
  font-weight: 400;
  line-height: 1.5;
  max-width: 560px;
  margin: -16px auto 30px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn-ph {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 15px;
  line-height: 1.35;
  color: #fff !important;
  background: var(--ph-red);
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  margin: 8px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(193, 39, 45, 0.32);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-ph:hover,
.btn-ph:focus {
  background: var(--ph-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193, 39, 45, 0.4);
  color: #fff !important;
}

.btn-ph.btn-ghost {
  background: transparent;
  color: var(--ph-ink) !important;
  border: 2px solid rgba(0, 0, 0, 0.18);
  box-shadow: none;
}

.btn-ph.btn-ghost:hover {
  border-color: var(--ph-red);
  color: var(--ph-red) !important;
  background: transparent;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

/* Services list */
.service-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  text-align: left;
}

.service-item {
  padding: 18px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.service-item:last-child { border-bottom: none; }

.service-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ph-ink);
  margin: 0;
  flex: 1 1 auto;
}

.service-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ph-red);
  background: rgba(193, 39, 45, 0.08);
  border-radius: 8px;
  padding: 3px 12px;
  white-space: nowrap;
}

.service-desc {
  flex: 1 1 100%;
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ph-muted);
}

.service-effective {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 13px;
  color: var(--ph-muted);
  padding: 6px 4px 14px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 6px;
}

.prices-checked {
  font-size: 12.5px;
  color: #9a9a9a;
  margin: -2px 0 18px;
}

/* Map */
.map-wrap {
  position: relative;
  padding-bottom: 62%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  margin-top: 8px;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
#contact {
  width: 100%;
  background: #1a1a1a;
  color: #ddd;
  padding: 26px 20px;
  font-size: 14px;
}

#contact a { color: #ddd; text-decoration: none; }
#contact a:hover { color: #fff; text-decoration: underline; }

#contact .instagram-link {
  display: inline-block;
  background: var(--ph-red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 8px;
}
#contact .instagram-link:hover { background: var(--ph-red-dark); text-decoration: none; }

@media (max-width: 767px) {
  #contact .footer-right { margin-top: 14px; }
}

/* Customer alert banner */
.customer-alert {
  position: fixed;
  top: var(--ph-nav-h);
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--ph-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  animation: ph-alert-in .35s ease;
}

@keyframes ph-alert-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.customer-alert-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.customer-alert-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.customer-alert-text {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.customer-alert-close {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s ease;
}
.customer-alert-close:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .customer-alert { animation: none; }
}

/* Small caption under buttons (e.g. wait-list conditions) */
.btn-caption {
  font-size: 13px;
  color: var(--ph-muted);
  margin: 10px 0 0;
  line-height: 1.4;
}

.btn-caption.on-photo {
  color: #e8e8e8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}


/* Home update status card — integrated into the hero, glassy dark to match */
.home-status {
  margin: 26px auto 0;
  max-width: 480px;
  width: 100%;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: left;
  overflow: hidden;
}

.home-status-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ph-red);
  box-shadow: 0 0 0 rgba(193, 39, 45, 0.6);
  animation: ph-pulse 2s infinite;
}

@keyframes ph-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(193, 39, 45, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(193, 39, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 39, 45, 0); }
}

.home-status-handle {
  margin-left: auto;
  font-weight: 500;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: #e0a3a6 !important;
  text-decoration: none;
}
.home-status-handle:hover { color: #fff !important; text-decoration: underline; }

.updates-feed {
  max-height: 190px;
  overflow-y: auto;
  padding: 2px 16px;
}

.updates-feed::-webkit-scrollbar { width: 6px; }
.updates-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

.update-item {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.update-item:last-child { border-bottom: none; }

.update-meta {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 11.5px;
  color: #f0a8ab;
  margin-bottom: 4px;
}

.update-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: #f2f2f2;
  margin: 0;
  white-space: pre-wrap;
}

@media (prefers-reduced-motion: reduce) {
  .home-status-dot { animation: none; }
}
