/* ═══════════════════════════════════════════
   STONE TRENDS — SHARED STYLES
   Used by homepage and all programmatic pages
   ═══════════════════════════════════════════ */

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

:root {
  --bg-dark: #0f0f0f;
  --bg-darker: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222;
  --gold: #c9a84c;
  --gold-light: #e4c76b;
  --gold-dim: #8b7535;
  --cream: #f5f0e8;
  --text-primary: #f5f0e8;
  --text-secondary: #c4b8a8;
  --text-muted: #8a7e72;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

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

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-transform: uppercase;
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.logo span { color: var(--gold); }

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.header-phone:hover { color: var(--gold); }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.desktop-nav a:hover { color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  padding-top: 12px;
  min-width: 220px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu-inner {
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 8px 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.02em;
}

.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger-btn span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream);
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav .header-phone-mobile {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════ */
.section {
  padding: 96px 0 108px;
  position: relative;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.section > .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.breadcrumb-bar {
  background: var(--bg-darker);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  margin-top: 74px; /* below fixed header */
  font-size: 0.8rem;
}

.breadcrumb-bar a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.breadcrumb-bar a:hover { color: var(--gold); }

.breadcrumb-sep {
  color: var(--text-muted);
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   PAGE HERO (subpages)
   ═══════════════════════════════════════════ */
.page-hero {
  padding: 80px 0 96px;
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 24px;
}

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

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--gold-dim);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   SERVICE DETAIL
   ═══════════════════════════════════════════ */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.detail-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-icon-large {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-large svg {
  width: 64px;
  height: 64px;
}

.detail-card {
  background: var(--bg-card);
  padding: 32px;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--cream);
}

.detail-facts {
  list-style: none;
}

.detail-facts li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.detail-facts li:last-child { border-bottom: none; }

.detail-facts strong {
  color: var(--cream);
}

/* ═══════════════════════════════════════════
   PROBLEMS / SOLUTIONS
   ═══════════════════════════════════════════ */
.problems-section {
  background: var(--bg-darker);
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.problems-col h3,
.solutions-col h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--cream);
}

.problem-list,
.solution-list {
  list-style: none;
}

.problem-list li,
.solution-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.problem-list li::before {
  content: '✕';
  color: #c45;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.solution-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════ */
.cta-band {
  background: var(--bg-card);
  padding: 64px 0;
  border-top: 2px solid var(--gold-dim);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.cta-band-inner p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   LOCATION LINKS
   ═══════════════════════════════════════════ */
.also-serving {
  background: var(--bg-dark);
}

.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.location-link {
  padding: 12px 24px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.location-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* Location grid (service index pages) */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.location-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.location-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.location-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dim);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.location-card:hover .location-arrow {
  color: var(--gold);
  transform: translateY(-50%) translateX(4px);
}

/* ═══════════════════════════════════════════
   OTHER SERVICES GRID
   ═══════════════════════════════════════════ */
.other-services {
  background: var(--bg-dark);
}

.services-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.service-link-card {
  display: block;
  padding: 32px 24px;
  background: var(--bg-dark);
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-link-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--bg-card);
}

.service-link-card .service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  display: inline-flex;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-link-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.service-link-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-section {
  background: var(--bg-dark);
}

.faq-list {
  max-width: 800px;
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

details[open] .faq-question::after {
  content: '−';
}

.faq-question:hover { color: var(--gold); }

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-darker);
  padding: 48px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 968px) {
  .detail-grid,
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .desktop-nav { display: none; }

  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .header-phone { display: none; }
  .header-right .btn { display: none; }

  .page-hero { padding: 48px 0 64px; }

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

  .services-grid-small {
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
