/* ==========================================================================
   High Energy DJ Service — Paul Peterson
   Main stylesheet (ONE file for the whole site)

   HOW TO CHANGE THE COLORS:
   All the colors live in the ":root" block right below this comment.
   Change a value there and it updates everywhere on every page.
   You don't need to touch anything else in this file.
   ========================================================================== */

:root {
  /* ---- COLORS (edit these to re-skin the whole site) ---- */
  --cream:      #FBF6EC;   /* main page background (warm tan/cream) */
  --cream-soft: #F3EAD8;   /* slightly darker cream for alternating sections */
  --card:       #FFFFFF;   /* card / box background */
  --ink:        #2B2622;   /* main text color (warm near-black, easy to read) */
  --ink-soft:   #5A524B;   /* lighter text for sub-headings and captions */
  --red:        #B5342B;   /* the confident accent red (buttons, links) */
  --red-dark:   #8E2820;   /* darker red for button hover */
  --gold:       #C98A1B;   /* warm gold for small highlights */
  --line:       #E3D8C4;   /* hairline borders */

  /* ---- FONTS ---- */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  /* ---- LAYOUT ---- */
  --maxw: 1080px;          /* max content width */
  --radius: 14px;          /* roundness of cards & buttons */
  --shadow: 0 6px 22px rgba(43, 38, 34, 0.10);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;   /* stop phones from auto-resizing text */
  text-size-adjust: 100%;
}
/* Belt-and-suspenders: never let the page scroll sideways on a phone */
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  /* Let long words (like an email address) wrap instead of pushing the
     layout wider than the screen on phones. */
  overflow-wrap: break-word;
}

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

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }

p { margin: 0 0 1em; }

/* The monospace "eyebrow" label — a small nod to Paul's original site */
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 .6em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Alternating section background to add rhythm */
section { padding: 56px 0; }
section.alt { background: var(--cream-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / navigation ----------
   This same header is pasted at the top of EVERY page.
   If you add/rename a page, update the nav links on every page. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark {
  font-family: var(--font-mono); font-weight: 700; color: #fff;
  background: var(--red); width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem; flex: none;
}
.brand .name { font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.brand .name span { display: block; font-weight: 600; font-size: .78rem; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { background: var(--cream-soft); color: var(--red); }
.nav-links a.active { color: var(--red); }

.nav-call {
  margin-left: 8px; white-space: nowrap;
  font-weight: 700; text-decoration: none; color: var(--red);
  border: 2px solid var(--red); padding: 7px 14px; border-radius: 999px; font-size: .95rem;
}
.nav-call:hover { background: var(--red); color: #fff; }

/* Instagram icon button in the menu (links to Paul's Instagram) */
.nav-social {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 8px; width: 38px; height: 38px; flex: none;
  border: 2px solid var(--red); border-radius: 50%; color: var(--red);
}
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }
.nav-social:hover { background: var(--red); color: #fff; }

/* The "Check My Date" call-to-action button in the menu */
.nav-cta {
  white-space: nowrap; text-decoration: none; font-weight: 800;
  background: var(--red); color: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: .95rem;
}
.nav-cta:hover { background: var(--red-dark); color: #fff; }

/* Hamburger button (hidden on desktop, shown on mobile) */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 80% -10%, rgba(201, 138, 27, .18), transparent),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  padding: 60px 0 50px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .25em; }
.hero .lead { margin-bottom: 1.2em; }

/* The big "all inclusive" price badge */
.price-badge {
  background: var(--card); border: 2px solid var(--red);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
  max-width: 380px;
}
.price-badge .small { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--ink-soft); margin: 0; }
.price-badge .big { font-size: 2.6rem; font-weight: 800; color: var(--red); margin: .1em 0; line-height: 1; }
.price-badge .note { margin: .2em 0 0; color: var(--ink-soft); font-size: .98rem; }

/* Hero image frame */
.hero-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; rotate: 1.5deg;
}

/* ---------- Value props (the 6 words) ---------- */
.props { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.prop {
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  background: var(--card); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px;
}
.prop b { color: var(--red); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 { color: var(--red); }
.card .icon { font-size: 1.6rem; margin-bottom: .3em; }

/* List with red check marks */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--cream-soft); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.price-table td.amount { font-weight: 800; color: var(--red); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }

/* ---------- Photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
/* object-position: top keeps people's faces in view when a tall photo
   gets cropped to fit the gallery's uniform shape. */
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.gallery figcaption { padding: 10px 14px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-card a { font-weight: 700; }
.big-link { font-size: 1.4rem; font-weight: 800; overflow-wrap: anywhere; }

/* ---------- Song lists (Hear / Print pages) ---------- */
.song-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.song-cat h3 { color: var(--red); margin-bottom: .2em; }
.song-cat ul { columns: 2; column-gap: 30px; padding-left: 18px; margin: .6em 0 0; }
.song-cat.checklist ul { list-style: none; padding-left: 0; }
.song-cat.checklist li { break-inside: avoid; margin-bottom: 10px; }
.song-cat.checklist li label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.song-cat.checklist li input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 3px; flex: none;
  accent-color: var(--red); cursor: pointer;
}
.write-lines { margin-top: 14px; }
.write-lines input[type="text"] {
  display: block; width: 100%; height: 30px; padding: 4px 2px;
  border: none; border-bottom: 1px solid var(--ink-soft);
  background: transparent; font: inherit; color: var(--ink);
}
.write-lines input[type="text"]:focus { outline: none; border-bottom-color: var(--red); }

/* Collapsible "browse more ideas" lists on Print Songs — plain reference
   lists (no checkboxes), so people aren't overwhelmed by hundreds of songs. */
.browse-lists { margin-top: 10px; }
.song-browse {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 4px 16px; margin-bottom: 10px; background: var(--bg);
}
.song-browse summary {
  cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--red);
  list-style: none;
}
.song-browse summary::-webkit-details-marker { display: none; }
.song-browse summary::before { content: "▸ "; }
.song-browse[open] summary::before { content: "▾ "; }
.song-browse ul { columns: 2; column-gap: 30px; padding-left: 18px; margin: 0 0 14px; }
.song-browse li { break-inside: avoid; margin-bottom: 6px; color: var(--ink-soft); }

/* ---------- Terms ---------- */
.terms-list { counter-reset: term; list-style: none; padding: 0; }
.terms-list > li {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 10px; padding: 16px 20px 16px 56px; margin-bottom: 14px; position: relative;
}
.terms-list > li::before {
  counter-increment: term; content: counter(term);
  position: absolute; left: 16px; top: 16px;
  font-family: var(--font-mono); font-weight: 700; color: var(--red);
}

/* ---------- Callout band ---------- */
.cta-band { background: var(--red); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band .btn-primary { background: #fff; color: var(--red); }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--red-dark); }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--red); }

/* ---------- Reviews / testimonials ---------- */
.rating-line { font-size: 1.4rem; font-weight: 800; }
.rating-line .stars { color: #E8A21C; letter-spacing: 2px; }

/* The bold "Trusted by..." callout with a red accent bar */
.trust-line {
  border-left: 4px solid var(--red);
  padding: 6px 0 6px 16px;
  margin: 16px auto 4px;
  max-width: 640px;
  text-align: left;
  font-weight: 700;
  font-size: 1.18rem;
}

/* The one big featured review */
.testimonial-featured {
  background: var(--card); border: 2px solid var(--red);
  border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow);
  max-width: 760px; margin: 22px auto 26px; text-align: left;
}
.testimonial-featured .stars { color: #E8A21C; letter-spacing: 2px; font-size: 1.2rem; }
.testimonial-featured blockquote { margin: .4em 0 .7em; padding: 0; border: 0; font-size: 1.18rem; line-height: 1.6; }
.testimonial-featured .who { font-weight: 800; }
.testimonial-featured .who span { font-weight: 600; color: var(--ink-soft); font-size: .92rem; }

/* The smaller condensed reviews, side by side */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; text-align: left; align-items: start; }
.testimonial {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.testimonial .stars { color: #E8A21C; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote { margin: .5em 0 .6em; padding: 0; border: 0; }
.testimonial .who { font-weight: 800; }
.testimonial .who span { font-weight: 600; color: var(--ink-soft); font-size: .92rem; }

/* "Read more" — collapse long reviews to 4 lines until expanded.
   The full text stays in the page (good for Google); it's just visually hidden. */
.testimonial.collapsible blockquote {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.testimonial.collapsible.open blockquote { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.readmore-btn {
  background: none; border: 0; padding: 0; margin: 0 0 .5em;
  font: inherit; color: var(--red); font-weight: 700; cursor: pointer;
}
.readmore-btn:hover { text-decoration: underline; }

@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Embedded playlist (Hear Songs page) ---------- */
.embed-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #000;
}
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- "Check My Date" form (check-date.html) ---------- */
.form-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: start; }

/* Left side: trust / summary box */
.form-summary {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.form-summary h3 { color: var(--red); margin-bottom: .4em; }
.form-summary ul { list-style: none; padding: 0; margin: .4em 0 0; }
.form-summary li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.form-summary li:last-child { border-bottom: 0; }
.form-summary .stars { color: #E8A21C; letter-spacing: 1px; }

/* Right side: the form */
.book-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(181, 52, 43, .15);
}
fieldset.optional { border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px 2px; margin: 6px 0 20px; }
fieldset.optional legend { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--ink-soft); padding: 0 8px; }

@media (max-width: 760px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .book-form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E9E0D2; padding: 40px 0 28px; }
.site-footer a { color: #F3D9A6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 .6em; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 26px; padding-top: 18px; font-size: .88rem; color: #C7BBAA; }

/* ---------- Floating Call/Text bar (phones only) ----------
   This bar is added automatically by js/main.js, so it shows on every page
   without editing each one. It's hidden on desktop and when printing. */
.mobile-callbar { display: none; }

/* A small helper note shown on placeholder images so Paul knows to swap them */
.placeholder-note { background: var(--cream-soft); border: 1px dashed var(--red); border-radius: 10px; padding: 12px 16px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }

/* ==========================================================================
   RESPONSIVE — phone & tablet adjustments (most clients are on phones)
   ========================================================================== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* min-width:0 lets the columns shrink to fit narrow phones instead of
     being forced wide by the photo's natural size. */
  .hero-grid > div { min-width: 0; }
  .hero-photo { rotate: 0deg; max-width: 100%; margin: 0 auto; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Let stacked cards/columns shrink to the screen so long words wrap
     inside them instead of pushing the card off the right edge. */
  .contact-grid > div, .grid > div, .footer-grid > div { min-width: 0; }
  .song-cat ul { columns: 1; }

  /* Turn the desktop nav into a slide-down mobile menu */
  .nav-toggle { display: block; }
  .nav-call { display: none; }          /* phone number is in the menu instead */
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }    /* JS adds "open" when hamburger is tapped */
  /* display:block so each link is its own row — without it, the links are
     inline and their vertical padding overlaps (which made the red
     "Check My Date" button cover the Terms link). */
  .nav-links a { display: block; padding: 14px 10px; border-radius: 8px; font-size: 1.08rem; }
  /* In the menu, show the CTA as a centered button with a little space above it */
  .nav-links .nav-cta { margin-top: 8px; text-align: center; padding: 13px 16px; }
  /* Instagram icon: centered circle instead of a full-width row */
  .nav-links .nav-social { display: flex; width: 44px; height: 44px; margin: 6px auto 0; padding: 0; }
  .nav-wrap { position: relative; }

  /* Show the floating Call/Text bar at the bottom of the screen */
  .mobile-callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    /* the env(...) bit keeps the bar above the home-bar on newer iPhones */
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 246, 236, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(43, 38, 34, 0.10);
  }
  .mobile-callbar a {
    text-align: center; text-decoration: none; font-weight: 800;
    padding: 14px 10px; border-radius: 999px; font-size: 1.05rem;
  }
  .mobile-callbar .call { background: var(--red); color: #fff; }
  .mobile-callbar .text { background: #fff; color: var(--red); border: 2px solid var(--red); }

  /* Leave room at the bottom so the bar never covers the footer text */
  body { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  body { font-size: 17px; }

  /* Stack call-to-action buttons full width so they're easy to thumb-tap */
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; text-align: center; }

  /* Tighten the header so the logo + menu button fit comfortably */
  .brand .mark { width: 40px; height: 40px; }
  .brand .name { font-size: .98rem; }
  .brand .name span { font-size: .72rem; }
}

/* On very narrow phones, drop the small subtitle under the logo to save space */
@media (max-width: 360px) {
  .brand .name span { display: none; }
}

/* ==========================================================================
   PRINT styles — used mainly by the "Print Songs" page so it prints clean
   ========================================================================== */
@media print {
  .site-header, .site-footer, .cta-band, .no-print, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .song-cat { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  section { padding: 10px 0; }
  /* Keep checkboxes big enough to tick with a pen, and lines visible on paper. */
  .song-cat.checklist li input[type="checkbox"] { width: 15px; height: 15px; }
  .write-lines input[type="text"] { border: none; border-bottom: 1px solid #000; }
}
