/* ═══════════════════════════════════════
   EAST COAST WALL & FLOOR TILING
   styles.css — shared across all pages
═══════════════════════════════════════ */

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

:root {
  --bg:        #F7F6F3;
  --white:     #FFFFFF;
  --dark:      #1C1C1C;
  --body:      #555555;
  --mid:       #888888;
  --rule:      #E2E0DC;
  --orange:    #E8601C;
  --orange-lt: rgba(232, 96, 28, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.15;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 246, 243, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 42px; width: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-logo-text {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}

.nav-logo-text span { color: var(--orange); }

.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}

.nav-hamburger { display: none; }
.mobile-nav { display: none; }

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: 64px; }

/* ── ORANGE BAND ── */
.orange-band { background: var(--orange); height: 72px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  background: #1a1410;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,8,6,0.55) 0%,
    rgba(10,8,6,0.65) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo {
  width: 120px; height: 120px;
  object-fit: contain;
  mix-blend-mode: screen;
  margin-bottom: 28px;
  filter: brightness(1.1);
}

.hero-title {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.hero-title strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.hero-rule {
  width: 260px; height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 28px 0;
}

.hero-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.hero-cta-wrap {
  display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border: 1px solid;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border-radius: 0;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--orange); border-color: var(--orange); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: var(--orange); color: var(--orange); }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { opacity: 0.85; }

/* ── FEATURE SPLIT (image left / text right) ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-img {
  min-height: 500px;
  background: #c8b898;
  position: relative;
  overflow: hidden;
}

.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.feature-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #b8a888 0%, #8a7860 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.feature-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg);
}

.feature-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  color: var(--dark);
  margin-bottom: 24px;
}

.feature-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 16px;
}

/* ── SECTION COMMON ── */
.section { padding: 80px 48px; }
.section-sm { padding: 56px 48px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--dark);
  margin-bottom: 40px;
}

.section-rule {
  width: 48px; height: 3px;
  background: var(--orange);
  margin: 16px 0 32px;
}

/* ── VALUE CARDS (orange bg) ── */
.cards-section {
  background: var(--orange);
  padding: 64px 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.value-card { background: #FAF8F4; }

.value-card-top {
  padding: 36px 28px 28px;
  border-bottom: 1px solid #E0DDD6;
  min-height: 160px;
}

.value-card-top h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--dark);
  line-height: 1.2;
}

.value-card-bottom {
  padding: 24px 28px 32px;
}

.value-card-bottom p {
  font-size: 14px;
  line-height: 1.85;
  color: #666;
}

/* ── PROJECT CARDS ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.project-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.1); }

.project-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: block;
}

.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.project-card:hover .project-card-img img { transform: scale(1.04); }

.project-card-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.project-card-body {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--rule);
}

.project-card-date {
  font-size: 13px;
  color: var(--mid);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.project-card-title {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 6px;
}

.project-card-location {
  font-size: 13px;
  color: var(--mid);
}

/* ── SERVICES LIST ── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  align-items: start;
}

.service-row:last-child { border-bottom: 1px solid var(--rule); }

.service-row h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--dark);
}

.service-row-right { padding-left: 48px; }
.service-row-right p { color: var(--body); font-size: 15px; line-height: 1.8; }

/* ── AREAS GRID ── */
.areas-section {
  background: var(--orange);
  padding: 64px 48px;
}

.areas-section .section-title { color: var(--white); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}

.area-item {
  background: rgba(255,255,255,0.12);
  padding: 20px 24px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--white);
  transition: background 0.2s;
}

.area-item:hover { background: rgba(255,255,255,0.22); }

/* ── PAGE HERO BAND ── */
.page-hero {
  background: var(--orange);
  padding: 72px 48px 56px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--white);
  max-width: 700px;
}

.page-hero p {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

/* ── FAQ ── */
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  padding: 80px 48px;
  gap: 0;
  background: var(--bg);
}

.faq-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--dark);
}

.faq-left-rule {
  width: 100%; height: 1px;
  background: var(--rule);
  margin-top: 28px;
}

.faq-right { padding-left: 64px; }

.faq-entry { margin-bottom: 36px; }

.faq-entry h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 10px;
}

.faq-entry p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
}

/* ── CONTACT FORM ── */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  padding: 80px 48px;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.contact-left h2 {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--dark);
}

.contact-left p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
}

.contact-detail {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.contact-detail-value {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--dark);
}

.contact-right { padding-left: 64px; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--orange); }

.form-textarea { height: 130px; resize: vertical; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--orange); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--dark);
  padding: 72px 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--white);
  margin-bottom: 28px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 3px solid var(--orange);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand span { color: var(--orange); }

footer p { font-size: 12px; color: #555; }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }

  /* Hero — ensure photo shows on mobile */
  .hero { min-height: 100svh; }
  .hero-bg {
    background-position: center center !important;
    opacity: 1 !important;
  }
  .hero-title { font-size: clamp(32px, 9vw, 52px); letter-spacing: 0.12em; }
  .hero-rule { width: 180px; }
  .hero-cta-wrap { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta-wrap .btn { width: 280px; text-align: center; padding: 16px; }

  /* Layout */
  .feature-split { grid-template-columns: 1fr; }
  .feature-img { min-height: 260px; }
  .feature-content { padding: 40px 20px; }
  .cards-grid { grid-template-columns: 1fr; gap: 8px; }
  .value-card-top { min-height: auto; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-row-right { padding-left: 0; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; padding: 48px 20px; gap: 32px; }
  .faq-right { padding-left: 0; }
  .contact-layout { grid-template-columns: 1fr; padding: 48px 20px; }
  .contact-right { padding-left: 0; margin-top: 40px; }
  .section, .section-sm { padding: 48px 20px; }
  .cards-section, .areas-section { padding: 48px 20px; }
  .page-hero { padding: 48px 20px 40px; }
  .cta-band { padding: 56px 20px; }
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .footer-links { justify-content: center; flex-wrap: wrap; }

  /* Hamburger menu */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
  }

  /* Mobile nav drawer */
  .mobile-nav {
    display: block;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 99;
  }
  .mobile-nav.open {
    max-height: 400px;
    padding: 16px 0;
  }
  .mobile-nav a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--body);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a.mobile-cta {
    background: var(--orange);
    color: var(--white);
    margin: 12px 16px;
    text-align: center;
    border-bottom: none;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .hero-title strong { letter-spacing: 0.1em; }
}
