/*
Theme Name: Big Business Party Rentals
Theme URI: https://bigbusinesspartyrentals.com/
Author: Big Business Party Rentals and Events Specialist
Author URI: https://bigbusinesspartyrentals.com/
Description: Custom lightweight theme for Big Business Party Rentals and Events Specialist, a Las Vegas event setup and rental company. Hand-written PHP and CSS, no page builder, no jQuery, built for fast mobile loads and local SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: big-business-party-rentals
Tags: one-column, custom-menu, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #16181d;
  --ink-soft: #3f4450;
  --ink-faint: #565d6b;
  --paper: #ffffff;
  --wash: #f4f5f7;
  --line: #dfe2e8;
  --accent: #0b5cd6;
  --accent-dark: #0a4aab;
  --ok: #1a7f37;
  --err: #b42318;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 1.1rem; }
.section { padding-block: 3.2rem; }
.section-wash { background: var(--wash); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 42rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-big { font-size: 1.1rem; padding: 1rem 1.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding-block: 0.7rem; flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.2; margin-right: auto; }
.brand strong { font-size: 1.05rem; font-weight: 800; display: block; }
.brand small { color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1rem;
  padding: 0.5rem 0.6rem; border-radius: var(--radius);
}
.header-phone:hover { color: var(--accent); }
.header-phone svg { flex: none; }
.header-cta { white-space: nowrap; padding: 0.65rem 1.1rem; }

.site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.site-nav ul {
  list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0 0 0.55rem;
}
.site-nav a {
  display: block; white-space: nowrap; text-decoration: none;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.site-nav a:hover { background: var(--wash); color: var(--ink); }
.site-nav .current-menu-item a, .site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 2rem; padding-block: 2.8rem; align-items: center; }
.hero-copy .lede { margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero-fact { color: var(--ink-faint); font-size: 0.95rem; margin: 0; }
.hero-img img { border-radius: var(--radius); width: 100%; box-shadow: 0 18px 40px -22px rgb(22 24 29 / 0.4); }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; padding-block: 4rem; }
}

/* Inner page hero */
.page-hero { border-bottom: 1px solid var(--line); background: var(--wash); }
.page-hero .wrap { padding-block: 2.6rem 2.2rem; }
.page-hero .lede { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1rem; margin-top: 1.8rem; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
@media (min-width: 860px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.pkg-featured { border: 2px solid var(--accent); position: relative; }
.pkg-flag {
  position: absolute; top: -0.8rem; left: 1.2rem;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px;
}
.pkg h3 { font-size: 1.35rem; margin-bottom: 0.1rem; }
.pkg-guests { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 0.9rem; }
.pkg-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.1rem; }
.pkg-price-note { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 1rem; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 1.2rem; border-top: 1px solid var(--line); }
.pkg li { padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px solid var(--line); font-size: 0.97rem; color: var(--ink-soft); position: relative; }
.pkg li::before { content: "✓"; position: absolute; left: 0.15rem; color: var(--ok); font-weight: 700; }
.pkg .btn { margin-top: auto; text-align: center; }

/* ---------- Add-ons ---------- */
.addons { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
@media (min-width: 720px) { .addons { grid-template-columns: 1fr 1fr; } }
.addon {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}
.addon-name { font-weight: 600; }
.addon-note { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.87rem; }
.addon-price { font-weight: 800; white-space: nowrap; }
.fine-note { color: var(--ink-faint); font-size: 0.92rem; margin-top: 1.2rem; }

/* ---------- Media band / split ---------- */
.split { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-flip > :first-child { order: 2; }
}
.split img { border-radius: var(--radius); width: 100%; }
.split h2 { margin-top: 0; }
.split .body { color: var(--ink-soft); }

/* ---------- Service area ---------- */
.area-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 1rem; font-weight: 600; font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 1.1rem 2rem 1.1rem 0.2rem;
  list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--ink-faint);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-a { padding: 0 0.2rem 1.2rem; color: var(--ink-soft); max-width: 46rem; }
.faq-list .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Quote form ---------- */
.quote-section { background: var(--ink); color: #fff; }
.quote-section h2, .quote-section p { color: #fff; }
.quote-section .lede { color: rgb(255 255 255 / 0.75); }
.quote-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 1.6rem; margin-top: 1.8rem; max-width: 46rem;
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span2 { grid-column: span 2; }
}
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.3rem; }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.75rem 0.85rem; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.form-msg { border-radius: 8px; padding: 0.9rem 1.1rem; margin-bottom: 1.1rem; font-weight: 600; }
.form-msg-ok { background: #e6f4ea; color: var(--ok); border: 1px solid #b7e1c1; }
.form-msg-err { background: #fdebe9; color: var(--err); border: 1px solid #f5c6c0; }
.quote-card .btn { width: 100%; margin-top: 0.4rem; }
.quote-alt { margin: 1.1rem 0 0; font-size: 0.95rem; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--wash); border-top: 1px solid var(--line); }
.cta-band .wrap { padding-block: 2.6rem; text-align: center; }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ---------- Content (editor) ---------- */
.entry-content { max-width: 46rem; }
.entry-content img { border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / 0.8); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 2.6rem 1.8rem; }
.footer-grid { display: grid; gap: 1.8rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.15); margin-top: 2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  color: rgb(255 255 255 / 0.55); font-size: 0.85rem;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.big-phone { font-size: 1.35rem; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
