/* Hangtime Park City LLC — styles */

:root {
  --brand: #2D5A9A;
  --brand-dark: #1f4170;
  --ink: #1c2430;
  --muted: #5a6572;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --card: #ffffff;
  --border: #e3e8ef;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(28, 36, 48, 0.08);
  --shadow-hover: 0 6px 24px rgba(28, 36, 48, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 720px;
}

.container-narrow p { margin-bottom: 1.25rem; }

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-call {
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-call:hover { background: var(--brand-dark); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--brand); }

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("images/hero.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 22, 34, 0.55), rgba(15, 22, 34, 0.68));
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 4rem 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-sub {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e8edf4;
}

.hero-body {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  color: #dbe3ee;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cards / Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand);
}

.card p { color: var(--muted); }

/* ---------- Portfolio ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.work-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.work-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.work-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.work-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Reviews ---------- */

.reviews-cta {
  text-align: center;
  margin-top: 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.stars {
  color: #f0a92e;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.reviewer {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--ink);
}

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

.contact-tagline {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.phone-big {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.phone-big:hover { color: var(--brand-dark); }

.contact-info p { margin-bottom: 0.9rem; }

.contact-form h3 { margin-bottom: 1.25rem; color: var(--ink); }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 1rem 0 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn { margin-top: 1.25rem; width: 100%; }

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

.footer {
  background: var(--ink);
  color: #aeb8c4;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox p {
  color: #dbe3ee;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  body { font-size: 16px; }

  .section { padding: 3.5rem 0; }

  .nav-links { display: none; }

  .nav-inner { gap: 1rem; }
  .logo { font-size: 1.1rem; }
  .btn-call { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

  .hero { min-height: 78vh; }

  .hero-buttons .btn {
    width: 100%;
    max-width: 340px;
  }

  .contact-grid { grid-template-columns: 1fr; }

  .phone-big { font-size: 1.8rem; }

  .work-item img { height: 260px; }
}
