/* Island Lake Plumbing Services - styles.css */

/* === CSS VARIABLES === */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --accent: #FF6F00;
  --accent-hover: #E65100;
  --text: #212121;
  --text-light: #555555;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.25s ease;
  --max-width: 1140px;
  --font-main: 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 60px 0; }

/* === TOP BAR === */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 7px 0;
  text-align: center;
}

.top-bar a { color: #FFD54F; font-weight: 600; }
.top-bar a:hover { color: var(--white); }

/* === STICKY HEADER === */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.logo a {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

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

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8rem;
  color: var(--text-light);
}

.header-phone a {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

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

/* === NAVIGATION === */
nav { background: var(--primary); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.nav-inner a {
  color: var(--white);
  padding: 13px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  display: block;
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active { background: var(--primary-dark); color: #FFD54F; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO === */
.hero-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 1; max-width: 750px; }

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #FFD54F;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-placeholder h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero-placeholder p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 30px;
}

.hero-placeholder .btn-accent {
  font-size: 1.1rem;
  padding: 16px 36px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* === BUTTONS === */
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  box-shadow: 0 3px 10px rgba(255,111,0,0.35);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(255,111,0,0.45);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* === PHONE CTA === */
.phone-cta {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.phone-cta:hover { color: var(--accent-hover); }

/* === TRUST BAR === */
.trust-bar {
  background: var(--light-bg);
  border-top: 3px solid var(--accent);
  padding: 22px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.trust-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* === SERVICE CARDS === */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid var(--primary);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 16px; }

/* === WHY CHOOSE US === */
.why-section { background: var(--light-bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.why-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.why-item .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.why-item h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--primary-dark); }
.why-item p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--primary-dark); }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header p { color: rgba(255,255,255,0.75); }
.testimonials-section .section-label { color: #FFD54F; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  color: var(--white);
}

.stars { color: #FFD54F; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card p { color: rgba(255,255,255,0.9); font-size: 0.93rem; margin-bottom: 16px; font-style: italic; }

.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.reviewer-location { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* === FAQ === */
.faq-section { background: var(--white); }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-bg);
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-answer {
  padding: 18px 22px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* === SERVICE AREA === */
.service-area-section { background: var(--light-bg); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.area-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 0.93rem;
  transition: all var(--transition);
  border-left: 3px solid var(--primary);
}

.area-item:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(3px);
}

.area-item a { color: inherit; font-weight: 600; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #E65100);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 14px; font-size: 2rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 28px; }

.cta-banner .btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.cta-banner .btn-white:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* === BREADCRUMBS === */
.breadcrumbs {
  background: var(--light-bg);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--text-light);
}

.breadcrumbs a { color: var(--primary); }
.breadcrumbs li:last-child { color: var(--text-light); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}

.page-hero h1 { color: var(--white); font-size: 2.1rem; margin-bottom: 10px; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 22px; }

/* === CONTENT PAGE LAYOUT === */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px;
}

.content-wrap h2 { margin: 32px 0 14px; color: var(--primary-dark); }
.content-wrap h3 { margin: 24px 0 10px; color: var(--text); }
.content-wrap ul.check-list { margin: 12px 0 20px 0; }
.content-wrap ul.check-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--text-light);
}

.content-wrap ul.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* === SIDEBAR STICKY CTA === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.sidebar-cta {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  color: var(--white);
  text-align: center;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.sidebar-cta h3 { color: var(--white); margin-bottom: 12px; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.93rem; margin-bottom: 18px; }
.sidebar-cta .phone-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #FFD54F;
  display: block;
  margin-bottom: 18px;
}

.sidebar-service-list { margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 18px; text-align: left; }
.sidebar-service-list h4 { color: #FFD54F; margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-service-list a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}

.sidebar-service-list a:hover { color: #FFD54F; }

/* === FOOTER === */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-brand .logo-text span { color: #FFD54F; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); }

.footer-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFD54F;
  display: block;
  margin: 14px 0 8px;
}

footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

footer ul li { margin-bottom: 8px; }
footer ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

footer ul li a:hover { color: #FFD54F; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* === UTILITY === */
.bg-light { background: var(--light-bg); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.bold { font-weight: 700; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

.highlight-box {
  background: #E3F2FD;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
}

.highlight-box p { margin: 0; color: var(--primary-dark); font-weight: 500; }

.emergency-banner {
  background: #B71C1C;
  color: var(--white);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.emergency-banner a { color: #FFD54F; }

/* === MEDIA QUERIES === */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-cta { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .hero-placeholder { min-height: 420px; }
  .hero-placeholder h1 { font-size: 2rem; }

  .header-inner { flex-wrap: wrap; gap: 10px; }
  .header-phone a { font-size: 1.15rem; }

  .nav-toggle { display: flex; }
  .nav-inner { display: none; flex-direction: column; width: 100%; }
  .nav-inner.open { display: flex; }
  .nav-inner a { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .trust-bar-inner { flex-direction: column; gap: 12px; }
  section { padding: 44px 0; }

  .cta-banner h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: center; gap: 10px; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Cloudflare Pages polish */
.hero-placeholder {
  background-image: linear-gradient(90deg, rgba(4, 18, 34, 0.84), rgba(9, 46, 82, 0.68)), url("assets/plumber-hero.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
}
.hero-placeholder::before {
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%) !important;
  pointer-events: none;
}
.hero-label,
.hero-img-label,
.hero-img-note,
.hero-image-label {
  display: none !important;
}
.hero-content,
.hero-inner {
  z-index: 1;
}