/* =====================================================
   Wheelie Clean Cork - Shared Stylesheet
   Linked from every page as /css/style.css
   ===================================================== */

:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --secondary-color: #4CAF50;
    --secondary-dark: #388E3C;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #555555;
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
}

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

body { font-family: var(--font-main); color: var(--text-color); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4 { color: var(--dark-color); margin-bottom: 15px; font-weight: 700; line-height: 1.25; }
p { margin-bottom: 20px; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--secondary-color); }
ul { list-style-type: none; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a:focus-visible, button:focus-visible, .faq-question:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--primary-color); color: var(--white); padding: 10px 18px; border-radius: 0 0 5px 0; }
.skip-link:focus { left: 0; color: var(--white); }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 5px; font-weight: bold; text-align: center; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); color: var(--white); }
.btn-secondary { background-color: var(--secondary-color); color: var(--white); }
.btn-secondary:hover { background-color: var(--secondary-dark); color: var(--white); }

/* Header & Navigation */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 20px; flex-wrap: wrap; }
.logo img { max-height: 70px; width: auto; display: block; }

.nav-toggle { display: none; background: none; border: 2px solid var(--primary-color); color: var(--primary-color); border-radius: 5px; padding: 8px 12px; font-size: 1.2rem; cursor: pointer; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; color: var(--dark-color); font-weight: 600; border-radius: 5px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--primary-color); background: var(--light-color); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' \25BE'; font-size: 0.75em; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); box-shadow: var(--shadow-md); border-radius: 8px; padding: 8px; display: none; flex-direction: column; gap: 2px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { padding: 9px 12px; }

.nav-call { background: var(--secondary-color); color: var(--white) !important; padding: 10px 18px !important; }
.nav-call:hover { background: var(--secondary-dark); }

/* Breadcrumbs */
.breadcrumb { background: var(--light-color); padding: 12px 0; font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li::after { content: '/'; margin-left: 6px; color: #aaa; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb [aria-current="page"] { color: var(--text-color); font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, #004c99 0%, #0066cc 58%, #2a86d8 100%); padding: 80px 0; color: var(--white); }
.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; text-align: left; max-width: 640px; }
.hero h1 { font-size: 2.8rem; color: var(--white); margin-bottom: 20px; }
.hero p.lead { font-size: 1.2rem; margin-bottom: 30px; color: #f0f0f0; }
.hero-cta { display: flex; gap: 15px; justify-content: flex-start; flex-wrap: wrap; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-image img { width: 340px; max-width: 100%; height: auto; background-color: var(--white); padding: 22px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; font-size: 2.1rem; margin-bottom: 45px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--primary-color); margin: 15px auto 0 auto; }
.bg-light { background-color: var(--light-color); }
.lead-intro { max-width: 820px; margin: 0 auto 10px auto; text-align: center; font-size: 1.1rem; }

/* How It Works */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; counter-reset: step; }
.step-card { background: var(--white); padding: 35px 28px 28px; border-radius: 10px; box-shadow: var(--shadow-md); position: relative; border-top: 4px solid var(--primary-color); }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-color); color: var(--white); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow-md); text-align: center; }
.feature-card .icon { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; }

/* Content split */
.content-split { display: flex; align-items: center; gap: 50px; }
.content-text { flex: 1; }
.content-image { flex: 1; }
.content-image img, .content-image svg { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block; }
.content-split.reverse { flex-direction: row-reverse; }

/* Areas band */
.areas-covered { text-align: center; padding: 50px 0; background-color: var(--primary-color); color: var(--white); }
.areas-covered h2 { color: var(--white); }
.areas-covered p { max-width: 820px; margin: 0 auto 20px auto; font-size: 1.1rem; }
.area-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-links a { background: rgba(255,255,255,0.15); color: var(--white); padding: 8px 16px; border-radius: 30px; font-weight: 600; }
.area-links a:hover { background: var(--white); color: var(--primary-color); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: 8px; border-top: 4px solid var(--secondary-color); box-shadow: var(--shadow-md); font-style: italic; }
.testimonial-author { margin-top: 20px; font-weight: bold; font-style: normal; color: var(--dark-color); }

/* Image break (inline bins-row svg) */
.bins-row-svg { width: 100%; max-width: 1000px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: block; margin: 0 auto; }

/* FAQs */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question { width: 100%; text-align: left; font-family: inherit; font-size: 1rem; padding: 20px; font-weight: bold; color: var(--dark-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background-color: var(--light-color); border: none; }
.faq-question .sign { font-size: 1.3rem; line-height: 1; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { padding: 20px; max-height: 600px; }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-item.active .faq-question .sign { transform: rotate(45deg); }

/* CTA */
.cta-section { text-align: center; background-color: var(--dark-color); color: var(--white); }
.cta-section h2 { color: var(--white); }
.cta-section .hero-cta { justify-content: center; }

/* Footer */
footer { background-color: #222; color: #ddd; padding: 50px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 1.15rem; }
.footer-col p { margin-bottom: 10px; }
.footer-col a { color: var(--secondary-color); }
.footer-logo { max-width: 170px; margin-bottom: 15px; background: var(--white); padding: 8px 12px; border-radius: 6px; display: inline-block; }
.footer-areas a { color: #ddd; }
.footer-areas a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .main-nav { flex-basis: 100%; display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .dropdown { position: static; display: flex; box-shadow: none; padding-left: 14px; }
    .has-dropdown > a::after { content: ''; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-image img { width: 260px; }
}
@media (max-width: 768px) {
    .content-split, .content-split.reverse { flex-direction: column; }
    .hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
