/* =====================================================================
   danhartley.co.uk – shared styles for the inner pages
   Matches the design of the homepage (index.html)
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #161B27;
  --navy:       #222C3C;
  --navy-card:  #2A3548;
  --navy-mid:   #2D3748;
  --gold:       #C9A06A;
  --gold-light: #DDBB8E;
  --gold-deep:  #906B37;   /* bronze for text on light backgrounds */
  --cream:      #F7F5F0;
  --ivory:      #E3DBCE;   /* light section background */
  --ivory-deep: #D8CEBE;
  --card-ivory: #EEE8DD;
  --text:       #1A1F2E;
  --text-mid:   #424B5C;
  --text-light: #6B7385;
  --white:      #FFFFFF;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-weight: 300; color: var(--text); background: var(--navy); overflow-x: hidden; line-height: 1.7; }
img { max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px; height: 96px; background: var(--navy);
  border-bottom: 1px solid rgba(201,160,106,0.15);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 72px; }
.nav-logo-img { height: 68px; width: auto; display: block; max-width: none; margin: -7px 0 -13px -24px; }
.nav-logo-name, .nav-logo-sub { display: none; }
.nav-logo.no-logo .nav-logo-name, .nav-logo.no-logo .nav-logo-sub { display: block; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); line-height: 1; }
.nav-logo-sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,245,240,0.75); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.current { color: var(--gold); }
.nav-cta { display: inline-block; padding: 8px 16px; border: 1px solid var(--gold); border-radius: 6px; font-size: 0.68rem !important; font-weight: 500 !important; letter-spacing: 0.12em; color: var(--gold) !important; transition: background 0.2s, color 0.2s; }
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); }
.mobile-nav { display: none; position: fixed; top: 96px; left: 0; right: 0; z-index: 99; background: var(--navy); padding: 32px 48px; border-bottom: 1px solid rgba(201,160,106,0.2); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-nav a { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); text-decoration: none; }

/* ─── PAGE HERO (underwater image, darkened) ─── */
.page-hero {
  position: relative; text-align: center;
  padding: 196px 48px 104px;
  background:
    linear-gradient(180deg, rgba(22,27,39,0.72) 0%, rgba(22,27,39,0.60) 50%, rgba(22,27,39,0.88) 100%),
    url('hero-underwater.jpg') center 40% / cover no-repeat,
    var(--ink);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.15; color: var(--cream);
  margin-bottom: 24px; text-shadow: 0 2px 14px rgba(10,16,28,0.45);
}
.page-hero .hero-lede {
  font-size: 1.15rem; line-height: 1.75; color: var(--gold-light);
  max-width: 820px; margin: 0 auto; text-shadow: 0 1px 10px rgba(10,16,28,0.6);
}
.hero-anchors { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 52px; padding-top: 34px; border-top: 1px solid rgba(201,160,106,0.35); max-width: 1100px; margin-left: auto; margin-right: auto; }
.hero-anchors a { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,245,240,0.85); text-decoration: none; transition: color 0.2s; }
.hero-anchors a:hover { color: var(--gold); }
.hero-anchors span { color: var(--gold); opacity: 0.7; }

/* ─── SECTIONS ─── */
.sec { padding: 100px 48px; scroll-margin-top: 96px; }
.sec.dark  { background: var(--navy); }
.sec.light { background: var(--ivory); }
.sec.deep  { background: var(--ivory-deep); }
.sec.tight { padding-top: 72px; padding-bottom: 72px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap.narrow { max-width: 880px; }
.wrap.mid { max-width: 1040px; }
.center { text-align: center; }

.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.25;
  color: var(--text); margin-bottom: 24px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.dark .section-title { color: var(--cream); }
.dark .section-title em { color: var(--gold-light); }
.section-title.center { text-align: center; }

.section-intro { font-size: 1.08rem; line-height: 1.85; color: var(--text-mid); max-width: 860px; margin: 0 auto 52px; text-align: center; }
.dark .section-intro { color: rgba(247,245,240,0.72); }

.sub-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.85rem; line-height: 1.3; color: var(--gold-deep); margin: 48px 0 18px; }
.dark .sub-title { color: var(--gold-light); }
.sub-title:first-child { margin-top: 0; }

.prose p { font-size: 1.08rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 18px; }
.dark .prose p { color: rgba(247,245,240,0.75); }
.prose strong { font-weight: 600; color: var(--text); }
.dark .prose strong { color: var(--cream); font-weight: 500; }
.prose a:not(.btn-primary):not(.btn-outline):not(.text-link) { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.dark .prose a:not(.btn-primary):not(.btn-outline):not(.text-link) { color: var(--gold); }
.prose ul, .prose ol { margin: 0 0 22px 1.4rem; color: var(--text-mid); font-size: 1.08rem; line-height: 1.85; }
.dark .prose ul, .dark .prose ol { color: rgba(247,245,240,0.75); }
.prose li { margin-bottom: 8px; }

/* arrow / dash lists */
.arrow-list { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.arrow-list li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.7; color: var(--text-mid); }
.dark .arrow-list li { color: rgba(247,245,240,0.78); }
.arrow-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--gold); }
.light .arrow-list li::before { color: var(--gold-deep); }

/* ─── CARDS ─── */
.card { border-radius: 12px; padding: 40px 36px; }
.light .card, .deep .card { background: var(--white); border: 1px solid rgba(26,31,46,0.08); }
.dark .card { background: var(--navy-card); border: 1px solid rgba(201,160,106,0.18); }
.card-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.75rem; line-height: 1.25; color: var(--text); margin-bottom: 14px; }
.dark .card-title { color: var(--cream); }
.card p { font-size: 1rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 14px; }
.dark .card p { color: rgba(247,245,240,0.75); }
.card p:last-child { margin-bottom: 0; }

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

/* pill tag / badge */
.tag { display: inline-block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; color: var(--gold-deep); border: 1px solid rgba(144,107,55,0.45); background: rgba(201,160,106,0.10); }
.dark .tag { color: var(--gold); border-color: rgba(201,160,106,0.5); background: rgba(201,160,106,0.08); }

/* tinted information box (details, pricing notes, edge box) */
.info-box { background: rgba(201,160,106,0.12); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 24px 0; }
.dark .info-box { background: rgba(201,160,106,0.08); }
.info-box p { font-size: 0.98rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 4px; }
.dark .info-box p { color: rgba(247,245,240,0.78); }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--gold-deep); font-weight: 600; }
.dark .info-box strong { color: var(--gold); font-weight: 500; }
.info-box h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.5rem; color: var(--gold-deep); margin-bottom: 8px; }
.dark .info-box h3 { color: var(--gold-light); }

/* text links with arrows */
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--gold-deep); text-decoration: none; transition: gap 0.2s; background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; padding: 0; }
.dark .text-link { color: var(--gold); }
.text-link:hover { gap: 13px; }
.big-link { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 500; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid rgba(144,107,55,0.45); padding-bottom: 4px; }
.dark .big-link { color: var(--gold-light); border-bottom-color: rgba(201,160,106,0.45); }

/* ─── BUTTONS ─── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; background: var(--gold); color: var(--ink); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; line-height: 1.2; border-radius: 6px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: 1px solid var(--gold-deep); color: var(--gold-deep); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; line-height: 1.2; border-radius: 6px; background: transparent; transition: background 0.2s; }
.dark .btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(201,160,106,0.14); }
.btn-outline svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ─── QUOTE BAND ─── */
.quote-band {
  padding: 92px 48px; text-align: center; position: relative;
  background:
    linear-gradient(180deg, rgba(22,27,39,0.82) 0%, rgba(22,27,39,0.72) 50%, rgba(22,27,39,0.86) 100%),
    url('hero-underwater.jpg') center 70% / cover no-repeat,
    var(--ink);
}
.quote-band p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.4; color: var(--cream); max-width: 960px; margin: 0 auto; text-shadow: 0 2px 14px rgba(10,16,28,0.45); }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }

/* ─── VIDEO ─── */
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); background: var(--navy-mid); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* thin gold border around videos */
.video-frame::after { content: ''; position: absolute; inset: 0; border: 2px solid rgba(201,160,106,0.75); border-radius: inherit; pointer-events: none; z-index: 2; }


/* ─── SOCIAL BUTTON ROW ─── */
.follow-head { text-align: center; margin-top: 64px; }
.follow-head h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.6rem; color: var(--text); margin-bottom: 6px; }
.dark .follow-head h4 { color: var(--cream); }
.follow-head p { font-size: 1rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; }
.dark .follow-head p { color: rgba(247,245,240,0.72); }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }

/* ─── FORMS ─── */
.field { display: block; width: 100%; padding: 15px 18px; border-radius: 6px; font-size: 1rem; font-family: 'Inter', sans-serif; -webkit-appearance: none; outline: none; transition: border-color 0.2s; }
.light .field { background: var(--white); border: 1px solid rgba(26,31,46,0.18); color: var(--text); }
.dark .field { background: rgba(255,255,255,0.06); border: 1px solid rgba(201,160,106,0.35); color: var(--cream); }
.dark .field::placeholder { color: rgba(247,245,240,0.5); }
.field:focus { border-color: var(--gold); }
.form-note { font-size: 0.85rem; color: var(--text-light); margin-top: 16px; }
.dark .form-note { color: rgba(247,245,240,0.5); }
.form-success { display: none; color: var(--gold-deep); font-size: 0.98rem; margin-top: 16px; text-align: center; }
.dark .form-success { color: var(--gold); }

/* ─── CTA ─── */
.cta-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.5rem, 4.4vw, 3.6rem); line-height: 1.2; color: var(--text); margin-bottom: 20px; }
.dark .cta-title { color: var(--cream); }
.cta-sub { font-size: 1.1rem; line-height: 1.75; color: var(--text-mid); margin: 0 auto 40px; max-width: 680px; }
.dark .cta-sub { color: rgba(247,245,240,0.7); }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 40px 48px 24px; border-top: 1px solid rgba(201,160,106,0.1); }
.footer-inner { max-width: 1200px; margin: 0 auto 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; }
.footer-col-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); margin-bottom: 10px; }
.footer-text { font-size: 0.95rem; line-height: 1.8; color: rgba(247,245,240,0.55); }
.footer-text.gold { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-links a { font-size: 0.95rem; color: rgba(247,245,240,0.55); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover, .footer-links a:hover { color: var(--cream); }
.footer-links { list-style: none; display: grid; grid-template-columns: auto auto; gap: 10px 32px; justify-content: start; }
.social-icons { display: flex; gap: 12px; margin-top: 6px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(201,160,106,0.35); border-radius: 50%; color: var(--gold); transition: background 0.2s, border-color 0.2s; }
.social-icon:hover { background: rgba(201,160,106,0.12); border-color: var(--gold); }
.social-icon svg { width: 17px; height: 17px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(247,245,240,0.06); text-align: center; }
.footer-copy { font-size: 0.85rem; color: rgba(247,245,240,0.45); letter-spacing: 0.04em; }
.footer-copy a { color: var(--gold); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }
/* centred footer columns */
.footer-inner > div { text-align: center; } .footer-contact { align-items: center; } .social-icons { justify-content: center; } .footer-links { justify-content: center; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1180px) {
  nav { padding: 0 40px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; height: 76px; }
  .mobile-nav { top: 76px; }
  .nav-logo { height: 56px; }
  .nav-logo-img { height: 60px; margin: -5px 0 -10px -20px; }
  .page-hero { padding: 140px 24px 72px; }
  .page-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .page-hero .hero-lede { font-size: 1rem; }
  .hero-anchors { display: none; }
  .sec { padding: 72px 24px; }
  .quote-band { padding: 72px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 32px 26px; }
  footer { padding: 36px 24px 22px; }
}
