/* ===== S&S Interlocking & Landscaping — site styles ===== */

:root {
  --gold: #c9a24a;
  --gold-light: #ddbf74;
  --black: #0e0c0a;
  --black-soft: #161310;
  --card: #1c1815;
  --white: #ffffff;
  --text-soft: rgba(255,255,255,0.65);
  --text-faint: rgba(255,255,255,0.45);
  --border-gold: rgba(201,162,74,0.25);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: #faf9f7;
  color: #2a2521;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title em { font-style: italic; color: var(--gold); }

.divider {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}
.divider.left { margin-left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(201,162,74,0.25);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(14,12,10,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 56px; width: 56px; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { color: rgba(255,255,255,0.75); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links, .nav-right .nav-phone, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
}
.mobile-menu {
  display: none;
  background: rgba(14,12,10,0.98);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,10,0.75) 0%, rgba(14,12,10,0.6) 45%, rgba(14,12,10,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  border: 1px solid var(--border-gold); border-radius: 999px;
  padding: 8px 20px; margin-bottom: 28px;
  background: rgba(201,162,74,0.06);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: white; font-weight: 300; line-height: 1.05; margin-bottom: 22px;
}
.hero h1 .amp { color: var(--gold); }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.8); }
.hero p.lead { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 620px; margin: 0 auto 12px; }
.hero .service-area {
  color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 34px; line-height: 1.9;
}
.hero .service-area strong { color: rgba(255,255,255,0.6); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-actions .phones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .phones a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 4px; font-weight: 600; font-size: 0.88rem;
  background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2);
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-align: center; z-index: 2; cursor: pointer;
}
.scroll-hint .chev { display: block; margin: 6px auto 0; color: var(--gold); }

/* ===== Stats ===== */
.stats {
  background: var(--black); padding: 64px 0; text-align: center;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 720px; margin: 0 auto; }
.stat-value { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold); font-weight: 300; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }

/* ===== Services ===== */
.services { padding: 110px 0; background: #faf9f7; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: #6b6258; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  border-radius: 12px; overflow: hidden; background: white;
  border: 1px solid #eee2cf; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--gold); }
.service-img { position: relative; height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-icon {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--gold); width: 34px; height: 34px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.service-body { padding: 22px; }
.service-body h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; color: #2a2521; }
.service-body p { color: #6b6258; font-size: 0.9rem; }

/* ===== About ===== */
.about { padding: 110px 0; background: #f3efe6; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--black); border: 1px solid var(--border-gold);
  border-radius: 12px; padding: 20px 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.about-badge .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 300; }
.about-badge .lbl { color: rgba(255,255,255,0.5); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.about-text p { color: #5c5346; margin-bottom: 18px; }
.about-text strong { color: #2a2521; }
.feature-list { list-style: none; margin: 28px 0; }
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.92rem; font-weight: 500; color: #2a2521; }
.feature-list .check { color: var(--gold); flex-shrink: 0; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
}

/* ===== Gallery preview ===== */
.gallery-preview { padding: 110px 0; background: #faf9f7; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 12px; }
.gallery-grid a { grid-column: span 1; grid-row: span 1; overflow: hidden; border-radius: 8px; display: block; }
.gallery-grid a.big { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-more { text-align: center; margin-top: 44px; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-grid a.big { grid-column: span 2; grid-row: span 1; }
}

/* ===== Testimonials ===== */
.testimonials { padding: 110px 0; background: #f3efe6; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px; }
.testi-card { background: white; border-radius: 12px; padding: 32px; border: 1px solid #eee2cf; }
.testi-card .quote-mark { font-size: 2rem; color: var(--gold); opacity: 0.35; font-family: var(--serif); }
.stars { color: var(--gold); margin: 12px 0; font-size: 0.9rem; }
.testi-card p.text { color: #4a4238; font-size: 0.92rem; margin-bottom: 24px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--black);
  border: 1px solid var(--border-gold); color: var(--gold); font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testi-person .name { font-weight: 600; font-size: 0.88rem; color: #2a2521; }
.testi-person .role { font-size: 0.76rem; color: #8a8074; }

/* ===== CTA ===== */
.cta {
  position: relative; padding: 130px 0; text-align: center; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(13,11,9,0.93); }
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.cta h2 { color: white; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 20px; }
.cta h2 .accent { color: var(--gold); font-style: italic; }
.cta p { color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 40px; }
.contact-item {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.contact-item .ic { color: var(--gold); }
.contact-item a, .contact-item span { color: white; font-size: 0.85rem; font-weight: 600; }
.contact-item .sub { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 400; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Quote form ===== */
.quote { padding: 110px 0; background: var(--black); }
.quote-inner { max-width: 640px; margin: 0 auto; }
.quote .section-head p { color: rgba(255,255,255,0.5); }
.quote .section-head h2 { color: white; }
.quote-form { display: grid; gap: 18px; margin-top: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 12px 14px; color: white; font-family: var(--sans); font-size: 0.92rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.radio-group { display: flex; gap: 20px; }
.radio-group label { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.form-msg { font-size: 0.85rem; padding: 12px; border-radius: 6px; display: none; }
.form-msg.success { background: rgba(52,168,83,0.12); color: #6fd88a; display: block; }
.form-msg.error { background: rgba(220,53,69,0.12); color: #f08a94; display: block; }

/* ===== Footer ===== */
footer { background: #090807; color: rgba(255,255,255,0.7); padding-top: 60px; }
.footer-top { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 18px; border-radius: 50%; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.88rem; margin-bottom: 22px; }
.footer-line { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-bottom: 10px; }
.footer-line a { color: rgba(255,255,255,0.7); }
.footer-line a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.95rem;
}
.socials a:hover { color: var(--gold); border-color: rgba(201,162,74,0.4); }
.footer-col h4 { color: white; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.85rem; }

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

/* ===== Gallery page ===== */
.page-header {
  padding: 160px 0 60px; background: var(--black); text-align: center;
}
.page-header h1 { color: white; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 50px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid #e3d8c0; background: white;
  font-size: 0.82rem; font-weight: 600; color: #4a4238; cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.full-gallery { padding: 0 0 100px; background: #faf9f7; }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry .item { break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; cursor: pointer; }
.masonry img { width: 100%; display: block; transition: transform 0.4s ease; }
.masonry .item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(5,4,3,0.95); z-index: 999;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; color: white; font-size: 2rem;
  background: none; border: none; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: white;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* Utility */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
