/* ════════════════════════════════════════════════════════════
   patio.css — Patio & Outdoor Coatings page
   ════════════════════════════════════════════════════════════ */

/* ─── Page Hero ──────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

/* ─── Patio Photo Grid ───────────────────────────────────── */
.patio-photos-section {
  background: var(--color-black);
  padding-block: var(--space-2xl);
}

.patio-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.patio-thumb {
  display: block;
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: none;
}

.patio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo), filter 0.3s ease;
}

.patio-thumb:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

@media (max-width: 900px) {
  .patio-photos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .patio-photos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Why Polyaspartic Section ───────────────────────────── */
.patio-why-section {
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
}

.patio-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.patio-why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.patio-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.patio-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.patio-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.patio-feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 4px;
}

.patio-feature-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.patio-why-image {
  position: sticky;
  top: calc(var(--nav-height-scrolled) + var(--space-lg));
}

.patio-why-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

@media (max-width: 900px) {
  .patio-why-grid { grid-template-columns: 1fr; }
  .patio-why-image { order: -1; position: static; }
}

/* ─── Lightbox ────────────────────────────────────────────── */
#patio-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

#patio-lightbox.active { display: flex; }

#patio-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: default;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.8);
}
