/* ============================================================
   FLO-RITE PLUMBING & WELL SERVICE — MAIN STYLESHEET
   To edit colors, update the :root variables below.
   ============================================================ */

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

:root {
  --red:        #CC1F1F;
  --red-dark:   #A01616;
  --red-light:  #E52D2D;
  --gold:       #F0BC1E;
  --gold-dark:  #C99A0A;
  --gold-light: #F7D050;
  --navy:       #1A3A8F;
  --navy-dark:  #0F2260;
  --white:      #FFFFFF;
  --off-white:  #F8F9FA;
  --light-gray: #E9ECEF;
  --gray:       #6B7280;
  --dark:       #1A1A2E;
  --text:       #2D3748;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --radius:     10px;
  --radius-lg:  16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-gray { background: var(--off-white); }
.section-red { background: var(--red); color: var(--white); }

.section-label {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px; display: block;
}
.section-label--light { color: var(--gold); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: 0.02em;
  color: var(--dark); margin-bottom: 14px;
}
.section-title--light { color: var(--white); }
.section-title span { color: var(--red); }
.section-title--light span { color: var(--gold); }

.section-sub {
  font-size: 1.05rem; color: var(--gray);
  line-height: 1.75; max-width: 620px; margin-bottom: 48px;
}
.section-sub--light { color: #9BAECB; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.97rem; font-weight: 800;
  letter-spacing: 0.03em; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-red {
  background: var(--red); color: var(--white);
}
.btn-red:hover { background: var(--red-light); }

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

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── TOP BAR ── */
.topbar {
  background: var(--dark);
  padding: 9px 0;
  font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.03em; color: #8A9BB8;
}
.topbar .container {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar a { color: #CBD5E0; transition: color 0.15s; }
.topbar a:hover { color: var(--gold); }
.topbar-badge {
  background: var(--red); color: var(--white);
  padding: 3px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
}

/* ── NAVIGATION ── */
.nav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  position: sticky; top: 0; z-index: 1000;
}
.nav .container {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 0; padding-bottom: 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; text-decoration: none;
}
.nav-logo img {
  width: 58px; height: 58px; object-fit: contain;
  border-radius: 50%;
}
.nav-logo-text .name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--dark); line-height: 1.1;
}
.nav-logo-text .name span { color: var(--red); }
.nav-logo-text .sub {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.03em; color: var(--text);
  padding: 8px 14px; border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: #FFF0F0; color: var(--red);
}
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.65em; }
.nav-dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 6px); left: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 240px; padding: 10px; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px;
  font-size: 0.88rem; border-radius: 7px;
  color: var(--text);
}
.nav-dropdown-menu a:hover { background: #FFF0F0; color: var(--red); }
.nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 10px 22px !important; border-radius: var(--radius) !important;
  font-weight: 800 !important;
}
.nav-cta:hover { background: var(--red-light) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1515 50%, #1A1A2E 100%);
  color: var(--white); padding: 90px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(204,31,31,0.15) 0%, transparent 60%);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,188,30,0.15);
  border: 1px solid rgba(240,188,30,0.35);
  color: var(--gold-light);
  padding: 6px 16px; border-radius: 30px;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700; letter-spacing: 0.02em;
  color: var(--white); line-height: 1;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem; line-height: 1.75;
  color: #9BAECB; max-width: 540px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero contact card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg); padding: 32px 28px;
  backdrop-filter: blur(10px);
}
.hero-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-card-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(204,31,31,0.2);
  border: 1px solid rgba(204,31,31,0.35);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-card-item strong {
  display: block; color: var(--gold);
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 3px;
}
.hero-card-item a, .hero-card-item span {
  color: var(--white); font-weight: 600;
  font-size: 0.97rem;
}
.hero-card-item a:hover { color: var(--gold-light); }
.hero-card-area { color: #8A9BB8 !important; font-size: 0.86rem !important; line-height: 1.6; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--red);
  padding: 18px 0;
}
.trust-bar .container {
  display: flex; justify-content: center;
  align-items: center; gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 28px;
  border-right: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.trust-item:last-child { border-right: none; }
.trust-item span { font-size: 1.3rem; }
.trust-item-text strong {
  display: block; font-size: 0.97rem; font-weight: 800;
  letter-spacing: 0.03em;
}
.trust-item-text small {
  font-size: 0.78rem; opacity: 0.8; letter-spacing: 0.04em;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.2s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.2s;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(204,31,31,0.3);
}
.service-card h3 {
  font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--dark); margin-bottom: 10px;
}
.service-card p {
  font-size: 0.91rem; color: var(--gray);
  line-height: 1.65; flex: 1;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 0.88rem; font-weight: 800;
  color: var(--red); letter-spacing: 0.04em;
  transition: gap 0.15s;
}
.service-card:hover .service-card-link { gap: 10px; }

/* ── WHY CHOOSE US ── */
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.why-check {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--dark); font-weight: 900;
  margin-top: 2px;
}
.why-item strong {
  display: block; color: var(--white);
  font-size: 1rem; font-weight: 700; margin-bottom: 2px;
}
.why-item p { color: #7A9CC2; font-size: 0.9rem; }

.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px; text-align: center;
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.82rem; color: #8A9BB8;
  margin-top: 6px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.review-text {
  font-size: 0.95rem; color: var(--text);
  line-height: 1.7; font-style: italic; margin-bottom: 18px;
}
.review-author { font-weight: 800; font-size: 0.9rem; color: var(--dark); }
.review-location { font-size: 0.82rem; color: var(--gray); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 60px 0; text-align: center;
}
.cta-banner h2 {
  color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.8); font-size: 1.05rem;
  margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-banner .btn-group {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── IMAGE PLACEHOLDERS ── */
.img-placeholder {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #888; font-size: 0.9rem; text-align: center;
  padding: 24px; min-height: 240px;
}
.img-placeholder span { font-size: 2.5rem; margin-bottom: 10px; }
.img-placeholder p { font-size: 0.82rem; color: #aaa; margin-top: 6px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--off-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.85rem; color: var(--gray);
}
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb span { margin: 0 8px; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2D1515 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,31,31,0.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: #9BAECB; font-size: 1.05rem; max-width: 580px; }

/* ── CONTACT FORM ── */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 36px 32px;
}
.contact-form h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.06em;
  color: var(--gold); margin-bottom: 26px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #8A9BB8; margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 12px 14px;
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem; outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.submit-btn {
  width: 100%;
  background: var(--gold); color: var(--dark);
  border: none; padding: 15px;
  border-radius: 9px; margin-top: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.05em; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: #0F0F1E;
  color: #506080;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img {
  width: 70px; height: 70px;
  object-fit: contain; border-radius: 50%;
  margin-bottom: 14px;
}
.footer-brand .name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em;
}
.footer-brand .name span { color: var(--red); }
.footer-brand .sub {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #3A5070;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem; color: #506080;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 28px; font-size: 0.83rem;
}
.footer-bottom a { color: var(--gold); }

/* ── EMERGENCY BAR ── */
.emergency-bar {
  background: rgba(204,31,31,0.1);
  border: 1px solid rgba(204,31,31,0.25);
  border-radius: var(--radius);
  padding: 16px 20px; margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.92rem;
}
.emergency-bar strong { color: var(--gold); }
.emergency-bar a { color: var(--white); font-weight: 800; }

/* ── FAQ ── */
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between;
  align-items: center; padding: 20px 22px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--dark); cursor: pointer; text-align: left;
  transition: background 0.15s;
}
.faq-question:hover { background: #FFF5F5; }
.faq-question .icon {
  font-size: 1.2rem; color: var(--red);
  transition: transform 0.2s; flex-shrink: 0;
}
.faq-question.open .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.95rem; color: var(--gray); line-height: 1.75;
  display: none;
}
.faq-answer.open { display: block; }

/* ── SERVICE PAGE CONTENT ── */
.service-detail h2 {
  font-size: 1.7rem; color: var(--dark); margin: 36px 0 14px;
}
.service-detail h2:first-child { margin-top: 0; }
.service-detail p {
  font-size: 0.97rem; color: var(--gray);
  line-height: 1.8; margin-bottom: 16px;
}
.service-detail ul {
  list-style: none; margin-bottom: 20px;
}
.service-detail ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.95rem; color: var(--gray);
  margin-bottom: 10px; line-height: 1.6;
}
.service-detail ul li::before {
  content: '✓';
  color: var(--red); font-weight: 900;
  flex-shrink: 0; margin-top: 1px;
}

.service-sidebar {
  position: sticky; top: 100px;
}
.sidebar-card {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px; margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--dark); margin-bottom: 16px;
}
.sidebar-services { display: flex; flex-direction: column; gap: 4px; }
.sidebar-services a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 7px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text); transition: all 0.15s;
}
.sidebar-services a:hover, .sidebar-services a.active {
  background: #FFF0F0; color: var(--red);
}
.sidebar-services a::before { content: '→'; color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-mobile-btn {
    display: flex; align-items: center;
    background: var(--red); color: var(--white);
    padding: 9px 18px; border-radius: 8px;
    font-weight: 800; font-size: 0.9rem;
    text-decoration: none;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-item { padding: 6px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .nav-mobile-btn { display: none; }
}
