/* ─────────────────────────────────────────
   EXCLUSIVE DRYWALL COMPANY LLC
   Stylesheet — White / Grey / Black palette
───────────────────────────────────────── */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #ffffff;
  --off-white:   #f7f7f7;
  --light-grey:  #e8e8e8;
  --mid-grey:    #9a9a9a;
  --dark-grey:   #3a3a3a;
  --black:       #1a1a1a;
  --accent:      #2c2c2c;
  --font-main:   'Lato', sans-serif;
  --font-heading:'Montserrat', sans-serif;
  --radius:      6px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ── UTILITY ── */
.container        { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section          { padding: 90px 0; }
.section-grey     { background: var(--off-white); }
.centered         { text-align: center; }

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--dark-grey);
  border-color: var(--dark-grey);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-full { width: 100%; text-align: center; }

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
}
.logo-img {
  height: 44px;
  width: auto;
}
.logo-text {
  display: block;
  font-size: 0.82rem;
  line-height: 1.25;
  max-width: 160px;
}
@media (min-width: 640px) {
  .logo-img { height: 62px; }
  .logo-text { font-size: 1rem; max-width: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-grey);
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--dark-grey) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    padding: 20px 24px 28px;
    gap: 20px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-bg.webp') center 35%/cover no-repeat;
  background-image: image-set(url('../images/hero-bg.webp') type('image/webp'), url('../images/hero-bg.jpg') type('image/jpeg'));
  background-position: center 35%;
  background-size: cover;
  background-color: var(--dark-grey);
  text-align: center;
  padding: 120px 24px 60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.42);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.hero-actions .btn {
  padding: 12px 26px;
  font-size: 0.88rem;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color var(--transition);
}
.hero-phone:hover { color: var(--white); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--black);
  color: var(--white);
  padding: 22px 24px;
}
.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.trust-icon {
  color: #ccc;
  font-size: 1rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }
}

.about-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-text p {
  color: var(--dark-grey);
  margin-bottom: 18px;
}
.about-text .btn { margin-top: 8px; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--dark-grey);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p { color: var(--dark-grey); font-size: 0.93rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--light-grey);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:focus { outline: 3px solid var(--black); outline-offset: 2px; }
.gallery-item:focus .gallery-overlay { opacity: 1; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  padding: 8px 20px;
  border-radius: 4px;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,10,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ── REVIEWS ── */
.reviews { background: var(--white); }
.reviews-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--dark-grey);
  font-size: 1rem;
}
.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .review-cards { grid-template-columns: repeat(2, 1fr); }
}
.review-card {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-text {
  color: var(--dark-grey);
  font-size: 0.97rem;
  line-height: 1.7;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-grey);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--black);
}
.review-author span {
  font-size: 0.8rem;
  color: #666666;
}
.review-platform {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding-top: 4px;
  border-top: 1px solid var(--light-grey);
}
.review-platform-google { color: #555; }
.review-platform-facebook { color: #0f509e; }
.reviews-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.reviews-footer-note {
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.04em;
}
.reviews-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}
.review-btn-google {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--light-grey);
  box-shadow: var(--shadow);
}
.review-btn-google:hover {
  border-color: var(--dark-grey);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.review-btn-facebook {
  background: #0f509e;
  color: var(--white);
  border: 2px solid #0f509e;
}
.review-btn-facebook:hover {
  background: #0a3f80;
  border-color: #0a3f80;
}
@media (max-width: 640px) {
  .review-cards { grid-template-columns: 1fr; }
  .reviews-buttons { flex-direction: column; align-items: stretch; }
  .review-btn { justify-content: center; }
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-info p {
  color: var(--dark-grey);
  margin-bottom: 28px;
}
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list li {
  display: flex;
  flex-direction: column;
}
.contact-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 2px;
}
.contact-list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}
.contact-list a:hover { color: var(--dark-grey); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 480px) { .contact-form-wrap { padding: 28px 20px; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dark-grey);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--off-white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark-grey);
  background: var(--white);
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--mid-grey);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 32px;
}
.success-icon {
  display: inline-block;
  width: 52px; height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--dark-grey); }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  filter: invert(1) brightness(2);
}
.footer-links {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  margin: 0 6px;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
