/* public_html/css/style.css */

:root {
  --bg-dark: #050505;
  --panel-bg: rgba(10, 10, 10, 0.7);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-main: #F3F3F1;
  --text-muted: #888888;
  --theme-accent: #C5A059; /* Default gold, overridden by JS */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  margin: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Background Pattern */
.tech-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Glassmorphism System */
.glass, .glass-header, .glass-footer {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
}

.glass-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Typography */
.font-syne { font-family: 'Syne', sans-serif; }
.text-muted { color: var(--text-muted); }
.editorial-title { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
.editorial-heading { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.editorial-heading-small { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: bold; margin-bottom: 0.5rem; display: block; }

/* Layout & Spacing */
.hero-section { padding: 8rem 2rem 4rem; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-spacing { padding-bottom: 6rem; }
.hero-content { display: flex; flex-direction: column; align-items: center; }
.section-spacing { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.hero-subtext { color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.section-header { margin-bottom: 1rem; }

/* Bento Box Grid */
.bento-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-item {
  background: var(--panel-bg);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.bento-item:hover { transform: translateY(-4px); }
.span-2 { grid-column: span 2; }
@media (max-width: 768px) { .span-2 { grid-column: span 1; } }

/* Asymmetrical split (contact section: info block wider than the map) */
.bento-container.asymmetrical-split { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 768px) { .bento-container.asymmetrical-split { grid-template-columns: 1fr; } }

/* Buttons & Interactions */
.btn-primary {
  background-color: var(--theme-accent);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--theme-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.btn-text:hover { text-decoration: underline; }

.shimmering-btn {
  position: relative;
  overflow: hidden;
}
.shimmering-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer { 100% { left: 200%; } }

/* Navigation */
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; margin: 0; color: var(--text-main); }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a.btn-primary { color: #000; } /* keep the pill button readable over the muted link color above */

/* Stats & Specific Blocks */
.stat-block { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; margin: 0.5rem 0; }
.stat-label { color: var(--text-muted); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

.img-block { padding: 0; overflow: hidden; position: relative; }
.bento-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.img-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.overlay-text { color: #fff; font-weight: 600; font-family: 'Syne', sans-serif; font-size: 1.1rem; }

.review-block { display: flex; flex-direction: column; justify-content: center; }
.review-stars { color: var(--theme-accent); margin-bottom: 1rem; font-size: 1.25rem; }
.review-quote { font-style: italic; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; }
.review-author { color: var(--text-muted); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; }

/* Services Grid (populated by main.js from client-config.json) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card { display: flex; flex-direction: column; height: 100%; }
.bg-offset { background-color: rgba(255, 255, 255, 0.02); }

/* Contact & Forms */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-muted); }
.contact-list a { color: var(--text-main); text-decoration: none; }
.info-block { display: flex; flex-direction: column; }
.hours-block { margin-top: 1.5rem; }

/* Map embed — needs an explicit height since the iframe itself uses height:100% */
.map-block { position: relative; min-height: 350px; }
.map-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Footer */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.brand-col { display: flex; flex-direction: column; gap: 0.25rem; }
.social-links { display: flex; gap: 1.25rem; font-size: 1.25rem; }
.social-links a { color: var(--text-muted); transition: color 0.2s ease; }
.social-links a:hover { color: var(--text-main); }