/* ==========================================================================
   Roo's Barbershop — shared stylesheet
   Palette taken from the shop logo (deep navy + gold)
   ========================================================================== */

:root {
  --navy-950: #0a1524;
  --navy-900: #0e1c30;
  --navy-800: #16283f;
  --navy-700: #1e3552;
  --navy-600: #2a4468;
  --gold-600: #a8823f;
  --gold-500: #c9a355;
  --gold-400: #d9bc7c;
  --gold-300: #e8d4a3;
  --cream: #f3ecdd;
  --text-body: #d9dfe9;
  --text-muted: #9fadc2;
  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--navy-900);
  background-image: radial-gradient(circle at top, var(--navy-800) 0%, var(--navy-900) 55%);
  color: var(--text-body);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4,
.wordmark {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--gold-400);
  letter-spacing: 0.03em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-300);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--navy-700);
  background: rgba(10, 21, 36, 0.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text .wordmark {
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0;
}

.brand-text .tagline {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

nav.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--text-body);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-400);
  background: var(--navy-800);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-400);
  color: var(--navy-950);
}

.btn-outline {
  background: transparent;
  color: var(--gold-400);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: var(--gold-300);
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 24px 70px;
  text-align: center;
}

.hero-logo-full {
  width: 220px;
  margin: 0 auto 8px;
}

.hero-logo-full img {
  width: 100%;
  height: auto;
  display: block;
}

.hero .subtitle {
  max-width: 560px;
  margin: 18px auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.divider {
  width: 90px;
  height: 1px;
  background: var(--gold-600);
  margin: 10px auto 0;
}

.divider.wide {
  width: 140px;
  margin: 16px auto 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.display-heading {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 18px;
}

.display-heading em,
.section-title em {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 500;
}

/* ---------- Numbered section headers ---------- */

.section-head.numbered .section-number {
  display: block;
  color: var(--gold-500);
  letter-spacing: 0.5em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--gold-400);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}

/* ---------- Nav CTA button ---------- */

.nav-cta.btn {
  margin-left: 6px;
  padding: 9px 20px;
  font-size: 0.78rem;
}

@media (max-width: 780px) {
  .nav-cta.btn {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }
}

/* ---------- Back to top ---------- */

.back-to-top {
  color: var(--gold-400);
  font-size: 0.85rem;
}

/* ---------- Sections ---------- */

section {
  padding: 60px 24px;
}

section.alt {
  background: var(--navy-950);
  border-top: 1px solid var(--navy-700);
  border-bottom: 1px solid var(--navy-700);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 10px auto 0;
}

/* ---------- Feature / info cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}

.card .icon {
  font-size: 1.7rem;
  margin-bottom: 10px;
  display: block;
}

.card h3 {
  color: var(--gold-400);
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Check list ---------- */

.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  background: var(--navy-800);
  overflow: hidden;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--navy-700);
  font-size: 1.05rem;
  color: var(--cream);
}

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

.check-list li:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.check-list .tick {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ---------- Services table ---------- */

.services-list {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--navy-700);
}

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

.service-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.service-name {
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 500;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.service-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold-400);
  font-weight: 700;
  white-space: nowrap;
}

.services-note {
  text-align: center;
  max-width: 600px;
  margin: 30px auto 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Opening times table ---------- */

.hours-table {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 28px;
  border-bottom: 1px solid var(--navy-700);
  font-size: 1.02rem;
}

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

.hours-row.closed .hours-value {
  color: var(--text-muted);
  font-style: italic;
}

.hours-row.today {
  background: rgba(201, 163, 85, 0.1);
}

.hours-day {
  color: var(--cream);
  font-weight: 600;
}

.hours-value {
  color: var(--gold-400);
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-detail .icon {
  color: var(--gold-500);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-detail p,
.contact-detail a {
  color: var(--text-body);
  margin: 0;
}

.map-wrap {
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-800);
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

/* ---------- Booking ---------- */

.booking-panel {
  max-width: 760px;
  margin: 0 auto;
  border: 1px dashed var(--gold-600);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 50px 30px;
  text-align: center;
}

.booking-panel .icon-big {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}

.booking-panel h3 {
  color: var(--gold-400);
  margin-bottom: 10px;
}

.booking-panel p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 22px;
}

.booking-fallback {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--navy-700);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.booking-fallback a {
  font-weight: 600;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  text-align: center;
  background: var(--navy-950);
  border-top: 1px solid var(--navy-700);
  border-bottom: 1px solid var(--navy-700);
  padding: 60px 24px;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  margin-top: auto;
  background: var(--navy-950);
  border-top: 1px solid var(--navy-700);
  padding: 50px 24px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-800);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Mobile nav ---------- */

@media (max-width: 780px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--navy-700);
    flex-direction: column;
    padding: 10px 20px 18px;
    display: none;
  }

  nav.main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-inner {
    position: relative;
  }
}
