/* Carmel Epoxy Flooring — Stylesheet */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
  background: #f1f5f9;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2563eb; text-decoration: underline; }

/* === Navigation === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d1b2a;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: #ffffff; }
.nav-cta {
  background: #e84118;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-cta:hover { background: #c73510 !important; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d1b2a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 64px 32px 64px 48px;
  color: #ffffff;
}
.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 520px;
}
.btn-primary {
  display: inline-block;
  background: #e84118;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 12px;
  margin-bottom: 8px;
}
.btn-primary:hover { background: #c73510; color: #ffffff; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.btn-secondary:hover { border-color: #ffffff; color: #ffffff; }

/* === Trust Bar === */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}
.trust-item strong {
  display: block;
  font-size: 1.4rem;
  color: #0d1b2a;
  font-weight: 800;
  line-height: 1.2;
}

/* === Page Layout === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 64px 0;
}
.section-white { background: #ffffff; }
.section-gray { background: #f1f5f9; }
.section-dark {
  background: #0d1b2a;
  color: #e2e8f0;
}
.section h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.section-dark h2 { color: #ffffff; }
.section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 10px;
  margin-top: 28px;
}
.section-dark h3 { color: #f8fafc; }
.section p { margin-bottom: 16px; max-width: 720px; }

/* === Two-column layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
}
.card h3 { margin-top: 0; }
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

/* === Service Blocks === */
.service-block {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
}
.service-block img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-block-body { padding: 28px; }
.service-block-body h2 { margin-bottom: 12px; }
.service-block-body p { margin-bottom: 12px; }
.service-link {
  display: inline-block;
  color: #e84118;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}
.service-link:hover { color: #c73510; }

/* === FAQ === */
.faq-list { list-style: none; margin-top: 24px; }
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.faq-item h3 {
  font-size: 1.05rem;
  color: #0d1b2a;
  margin-top: 0;
  margin-bottom: 10px;
}
.faq-item p { margin-bottom: 0; max-width: none; }

/* === Price Table === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.price-table th {
  background: #0d1b2a;
  color: #ffffff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #f8fafc; }

/* === CTA Section === */
.cta-section {
  background: #e84118;
  padding: 56px 32px;
  text-align: center;
  color: #ffffff;
}
.cta-section h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin: 0 auto 28px;
  max-width: 560px;
}
.btn-white {
  display: inline-block;
  background: #ffffff;
  color: #e84118;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 4px;
}
.btn-white:hover { background: #f1f5f9; color: #e84118; }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.7);
  margin: 4px;
}
.btn-outline-white:hover { border-color: #ffffff; }

/* === Contact Form === */
.contact-form {
  background: #ffffff;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  max-width: 560px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  color: #334155;
  background: #f8fafc;
  font-family: inherit;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e84118;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(232,65,24,0.1);
}
.btn-submit {
  width: 100%;
  background: #e84118;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn-submit:hover { background: #c73510; }

/* === Contact Info === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.contact-detail span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; font-weight: 600; }
.contact-detail a, .contact-detail p { margin: 0; font-size: 1.05rem; }
.call-process { list-style: none; margin-top: 16px; counter-reset: step; }
.call-process li {
  counter-increment: step;
  padding: 14px 16px 14px 56px;
  position: relative;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.call-process li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #e84118;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* === Page Hero (interior pages) === */
.page-hero {
  background: #0d1b2a;
  padding: 56px 32px;
  text-align: center;
}
.page-hero h1 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.page-hero p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #64748b;
}
.breadcrumb a { color: #2563eb; text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* === Steps === */
.steps { counter-reset: step-num; list-style: none; margin-top: 20px; }
.steps li {
  counter-increment: step-num;
  padding: 20px 20px 20px 70px;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}
.steps li::before {
  content: counter(step-num);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  background: #0d1b2a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.steps li strong { display: block; font-weight: 700; color: #0d1b2a; margin-bottom: 4px; }

/* === Footer === */
footer {
  background: #0d1b2a;
  color: #94a3b8;
  padding: 48px 32px 28px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 { color: #ffffff; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 12px; }
.footer-col h4 { color: #e2e8f0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer-col ul a:hover { color: #ffffff; }
.footer-phone a { color: #e84118; font-weight: 700; font-size: 1rem; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: #475569;
}

/* === Utility === */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.highlight { color: #e84118; }
.section-intro {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin-bottom: 40px;
}
.divider { height: 3px; width: 48px; background: #e84118; margin-bottom: 20px; border-radius: 2px; }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { padding: 0 16px; }
  .hero-content { padding: 48px 20px; }
  .hero-content h1 { font-size: 1.9rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 44px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-table { font-size: 0.85rem; }
  .trust-bar { gap: 24px; }
  .page-hero h1 { font-size: 1.7rem; }
  .section h2 { font-size: 1.5rem; }
}
