/* =================================
   Omaha Epoxy Flooring — Stylesheet
   Modern redesign — sky blue palette
   iDeVRM / GitHub Pages
   ================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --primary:       #0ea5e9;
  --primary-dark:  #0284c7;
  --primary-light: #e0f2fe;
  --dark:          #0f172a;
  --dark2:         #1e293b;
  --text:          #374151;
  --muted:         #6b7280;
  --light:         #f8fafc;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --radius:        12px;
  --pill:          100px;
}

body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--text); line-height: 1.65; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); padding: 14px 32px; border-radius: var(--pill);
  font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
  transition: all 0.25s; cursor: pointer; border: none;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.65); color: var(--white);
  padding: 13px 30px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── NAV ── */
nav {
  background: var(--dark); padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { color: var(--white); font-size: 18px; font-weight: 800; padding: 18px 0; letter-spacing: -0.4px; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.6); padding: 8px 14px; font-size: 14px; font-weight: 500; transition: all 0.2s; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-phone {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important; padding: 9px 20px !important;
  border-radius: var(--pill) !important; font-weight: 700 !important;
  font-size: 14px !important; box-shadow: 0 2px 12px rgba(14,165,233,0.3) !important;
  margin-left: 6px !important;
}
.nav-phone:hover { opacity: 0.88 !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, rgba(15,23,42,0.90) 0%, rgba(2,132,199,0.50) 100%),
              url('https://images.pexels.com/photos/36230779/pexels-photo-36230779.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
  min-height: 560px; display: flex; align-items: center; padding: 80px 5%;
}
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); font-size: 48px; line-height: 1.12; margin-bottom: 18px; font-weight: 900; letter-spacing: -1.5px; }
.hero p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 34px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-phone { color: var(--white); font-size: 24px; font-weight: 800; margin-bottom: 26px; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.hero-phone span { color: var(--primary); }
.free-quote-badge {
  background: var(--primary); color: var(--white); border-radius: var(--pill);
  padding: 6px 18px; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.5px; display: inline-block; margin-bottom: 20px;
}

/* ── SECTIONS ── */
section { padding: 72px 5%; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; line-height: 1.2; }
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); border-radius: 2px; margin-top: 12px; margin-bottom: 22px; }
.section-sub { font-size: 17px; color: var(--muted); margin-top: -12px; margin-bottom: 32px; }
.bg-light { background: var(--light); }

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border); border-left: 3px solid transparent;
  transition: all 0.25s;
}
.service-card:hover { border-left-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(14,165,233,0.12); }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-question h3 { font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.faq-toggle { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: all 0.25s; }
.faq-item.open .faq-toggle { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; border-top: 1px solid var(--border); }
.faq-answer p { padding: 16px 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── TRUST GRID ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.trust-item { padding: 28px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: box-shadow 0.2s; }
.trust-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.trust-icon { font-size: 26px; width: 60px; height: 60px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.trust-item h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 72px 5%; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -40%; left: 30%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 65%); pointer-events: none; }
.cta-banner h2 { color: var(--white); font-size: 34px; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.72); margin-bottom: 30px; font-size: 17px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.6; position: relative; }
.btn-white { background: var(--white); color: var(--primary-dark); padding: 15px 36px; border-radius: var(--pill); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; box-shadow: 0 4px 20px rgba(0,0,0,0.25); position: relative; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1000px; }
.contact-info h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; color: var(--dark); letter-spacing: -0.3px; }
.contact-info p { color: var(--muted); margin-bottom: 20px; font-size: 16px; line-height: 1.65; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 15px; }
form .form-group { margin-bottom: 16px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 12px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.6px; }
form input, form textarea, form select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: var(--white); color: var(--text); }
form input:focus, form textarea:focus, form select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(14,165,233,0.12); }
form textarea { height: 130px; resize: vertical; }
form button { width: 100%; margin-top: 8px; font-size: 16px; justify-content: center; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 48px 5%; text-align: center; }
footer .footer-logo { color: var(--white); font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
footer .footer-logo span { color: var(--primary); }
footer p { font-size: 14px; margin-top: 8px; line-height: 1.6; }
footer nav { margin-top: 20px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
footer nav a { color: rgba(255,255,255,0.45); font-size: 14px; padding: 6px 12px; border-radius: 8px; transition: all 0.2s; }
footer nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* ── PAGE HEADER ── */
.page-header { background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(2,132,199,0.55) 100%), url('https://images.pexels.com/photos/36230779/pexels-photo-36230779.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat; padding: 72px 5%; text-align: center; }
.page-header h1 { color: var(--white); font-size: 40px; margin-bottom: 12px; font-weight: 900; letter-spacing: -0.8px; }
.page-header p { color: rgba(255,255,255,0.78); font-size: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { flex-wrap: wrap; padding: 12px 5%; gap: 10px; }
  .nav-links { flex-wrap: wrap; gap: 2px; width: 100%; }
  .nav-logo { padding: 0; }
  .hero { min-height: auto; padding: 56px 5%; }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 26px; }
}
