/* Underground Oil Tank Removal Site - Stylesheet */
:root {
  --primary: #6B1F32;
  --accent: #D8C3A5;
  --accent-dark: #B99874;
  --accent-text: #6B1F32;
  --text: #33242A;
  --light: #f8f9fa;
  --border: #dee2e6;
  --white: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* TRUST BAR */
.trust-bar { background: var(--primary); color: var(--white); text-align: center; padding: 8px 20px; font-size: 0.85rem; }
.trust-phone { color: var(--accent); font-weight: bold; margin-left: 15px; }

/* NAV */
.main-nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.nav-brand a { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); min-width: 220px; z-index: 200; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 15px; font-size: 0.9rem; }
.dropdown a:hover { background: var(--light); }
.has-dropdown:hover .dropdown { display: block; }
.nav-cta { background: var(--accent); color: var(--accent-text) !important; padding: 10px 20px; border-radius: 4px; font-weight: 700; }
.nav-cta:hover { background: var(--accent-dark); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* BUTTONS */
.btn-primary { background: var(--accent); color: var(--accent-text); padding: 14px 28px; border-radius: 4px; font-weight: 700; display: inline-block; }
.btn-primary:hover { background: var(--accent-dark); color: var(--accent-text); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); padding: 12px 26px; border-radius: 4px; font-weight: 700; display: inline-block; }
.btn-secondary:hover { background: var(--white); color: var(--primary); }

/* HERO */
.hero { min-height: 90vh; background-size: cover; background-position: center; position: relative; }
.hero-overlay { background: rgba(10,30,60,0.75); min-height: 90vh; display: flex; align-items: center; padding: 60px 20px; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero-badge { background: var(--accent); color: var(--white); display: inline-block; padding: 6px 14px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; }
.hero h1 { font-size: 2.4rem; color: var(--white); line-height: 1.2; margin-bottom: 15px; }
.hero-sub { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 25px; }
.hero-ctas { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-form-box { background: var(--white); padding: 30px; border-radius: 8px; }
.hero-form-box h2 { color: var(--primary); margin-bottom: 20px; font-size: 1.3rem; }

/* PAGE HERO */
.page-hero { min-height: 40vh; background-size: cover; background-position: center; position: relative; }
.page-hero .hero-overlay { min-height: 40vh; display: flex; align-items: center; padding: 40px 20px; }
.page-hero h1 { font-size: 2rem; color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 20px; }
.page-hero-simple { background: var(--primary); padding: 50px 20px; color: var(--white); }
.page-hero-simple h1 { font-size: 2rem; margin-bottom: 10px; }
.page-hero-simple p { opacity: 0.9; }
/* Links inside navy hero sections must be visible — but exclude buttons which have their own colour rules */
.page-hero-simple a:not(.btn-primary):not(.btn-secondary) { color: var(--accent); }
.page-hero-simple a:not(.btn-primary):not(.btn-secondary):hover { color: var(--white); }

/* BREADCRUMB */
.breadcrumb { background: var(--light); padding: 10px 20px; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--primary); }

/* SECTIONS */
section { padding: 60px 0; }
.services-section { background: var(--light); }
.services-section h2, .areas-section h2, .testimonials-section h2, .process-section h2, .scenarios-section h2 { text-align: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 40px; }

/* GRIDS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.scenarios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

/* CARDS */
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; padding: 0; }
.area-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 25px; }
.scenario-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; padding: 0; }
.scenario-card h3, .scenario-card p { padding: 0 20px; }
.scenario-card h3 { padding-top: 15px; }
.scenario-card p { padding-bottom: 20px; }
.service-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.service-card-body { padding: 20px; }
.service-card:hover, .area-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.service-icon { font-size: 2rem; margin-bottom: 10px; }
.service-card h3, .area-card h3 { color: var(--primary); margin-bottom: 10px; }
.card-link { color: var(--accent); font-weight: 600; }
.scenario-card img { border-radius: 6px; margin-bottom: 15px; height: 180px; object-fit: cover; width: 100%; }
.scenario-card h3 { color: var(--primary); margin-bottom: 10px; }

/* TESTIMONIALS */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 25px; }
.stars { color: #f39c12; font-size: 1.2rem; margin-bottom: 10px; }
.testimonial-text { font-style: italic; margin-bottom: 15px; }
.testimonial-name { font-weight: 600; color: var(--primary); }

/* PROCESS */
.process-step { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 25px; }
.step-num { display: inline-block; background: var(--accent); color: var(--white); width: 36px; height: 36px; border-radius: 50%; text-align: center; line-height: 36px; font-weight: 700; margin-bottom: 10px; }
.process-img { margin: 15px 0; border-radius: 6px; }

/* WHY SECTION */
.why-section { background: var(--light); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-image img { border-radius: 8px; }
.why-content h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 20px; }
.why-bullets { list-style: none; margin-bottom: 25px; }
.why-bullets li { padding: 8px 0; padding-left: 25px; position: relative; }
.why-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* STATS BAR */
.stats-bar { background: var(--primary); padding: 40px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { display: block; color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-top: 5px; }

/* FAQ */
.faq-section { background: var(--light); }
.faq-section h2 { text-align: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 40px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px 25px; margin-bottom: 15px; }
.faq-q { color: var(--primary); font-size: 1.05rem; margin-bottom: 10px; }
.faq-a { color: var(--text); }

/* FORM SECTION */
.form-section { background: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-left h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 15px; }
.form-left p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.form-trust { list-style: none; color: rgba(255,255,255,0.9); }
/* Links inside navy form section must be visible */
.form-section a { color: var(--accent); }
.form-section a:hover { color: var(--white); }
.form-trust li { padding: 6px 0; }
.form-right { background: var(--white); padding: 30px; border-radius: 8px; }

/* LEAD FORM */
.lead-form .form-group { margin-bottom: 15px; }
.lead-form label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; color: var(--text); }
.lead-form input, .lead-form textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; font-family: inherit; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--primary); }
.lead-form textarea { resize: vertical; min-height: 80px; }
.btn-submit { width: 100%; background: var(--accent); color: var(--accent-text); padding: 14px; border: none; border-radius: 4px; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.btn-submit:hover { background: var(--accent-dark); }
.form-note { font-size: 0.8rem; color: #666; text-align: center; margin-top: 10px; }

/* CONTENT PAGES */
.content-section { padding: 60px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.content-main h2, .content-main h3 { color: var(--primary); margin: 20px 0 10px; }
.content-main p { margin-bottom: 15px; }
.content-main ul { margin: 10px 0 15px 20px; }
.content-img { border-radius: 8px; margin: 20px 0; }
.area-service-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 15px 0; }
.area-service-links a { display: block; padding: 8px 12px; background: var(--light); border-radius: 4px; font-size: 0.9rem; }
.area-service-links a:hover { background: var(--primary); color: var(--white); }
.cross-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 10px 0 20px; }
.cross-links a { display: block; padding: 7px 12px; background: var(--light); border-radius: 4px; font-size: 0.85rem; }
.cross-links a:hover { background: var(--primary); color: var(--white); }
.sidebar-form { background: var(--light); padding: 25px; border-radius: 8px; border: 1px solid var(--border); position: sticky; top: 80px; }
.sidebar-form h3 { color: var(--primary); margin-bottom: 15px; }

/* FOOTER */
.site-footer { background: #35101B; color: rgba(255,255,255,0.8); padding: 60px 0 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 15px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
/* All links inside footer (including <p><a> phone/email) must be visible on dark background */
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); max-width: 1200px; margin: 0 auto; }

/* MOBILE CTA BAR */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); z-index: 999; display: flex; }
.mobile-cta-call, .mobile-cta-quote { flex: 1; text-align: center; padding: 15px; font-weight: 700; font-size: 0.95rem; }
.mobile-cta-call { background: var(--accent); color: var(--accent-text); }
.mobile-cta-quote { background: var(--primary); color: var(--white); border-left: 1px solid rgba(255,255,255,0.2); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid, .why-grid, .form-grid, .content-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-overlay { min-height: auto; padding: 40px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; }
  .nav-cta { display: none; }
  body { padding-bottom: 60px; }
  .mobile-cta-bar { display: flex; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 15px; }
  .has-dropdown:hover .dropdown { display: none; }
}
