/* Import new fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --primary-color: #1e90ff;    /* Purisoft Blue */
    --secondary-color: #071e55;   /* Dark Blue */
    --accent-color: #37c5f3;     /* Light Blue */
    --highlight-color: #DBE4EE;  /* Very Light Blue */
    --text-color: #333;          /* Dark Text */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

h2 {
    padding-top: 30px;
}

p, li, .body-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
}

/* FAQ: align answer text with question (card-header has p-3) */
#faqAccordion .card-body {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header/Navigation */
.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    margin-left: 5px;
}

/* Barrie mini site: text branding instead of logo in header */
.navbar-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 5px;
    line-height: 1.2;
}

.footer-branding {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    margin-left: 5px;
    flex-wrap: nowrap;
}

.phone-number {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.bullet {
    color: var(--primary-color);
}

.service-text {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar > .container {
        position: relative;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 20px;
        padding: 8px;
        border: none;
    }

    .header-left {
        max-width: 75%;
    }

    .navbar-logo {
        height: 50px;
        margin-left: 5px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .header-contact {
        font-size: 0.9rem;
    }
    
    .phone-number {
        font-size: 1rem;
    }
}

/* Navigation Menu */
.navbar-nav {
    margin-left: auto;
}

.navbar-nav > li > a {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem !important;
    transition: all 0.3s ease;
}

.nav-main-site a {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-main-site a:hover {
    color: var(--secondary-color) !important;
}

/* Section Styles */
.section-grey {
    background: var(--highlight-color);
    padding: 80px 0;
}

/* Contact section: top-align form with left column heading */
#contact .row.align-items-start {
    align-items: flex-start;
}
#contact .contact-form-box {
    margin-top: 0;
    padding-top: 0;
}
#contact .row > .col-md-6:last-child {
    padding-top: 0;
}

/* Local Coverage Section */
.local-coverage {
    padding: 80px 0;
    background: var(--highlight-color);
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.coverage-column h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Water Quality Info */
.water-quality-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quality-stats li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quality-stats i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Footer Styles */
.footer {
    background: #1a202c;
    padding: 80px 0 40px;
}

.footer-box h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.9;
}

.footer-contact li {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 50px;
}

/* Hero Section Spacing */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* CSA Logo Size in Chlorasoft Section */
.chlorasoft-certification {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chlorasoft-certification img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

/* Review Platform Logos Size - Maximum Specificity */
section .testimonial-logos img,
section .testimonial-logos .google-logo,
section .testimonial-logos .homestars-logo,
.testimonials-section .testimonial-logos img {
    height: 25px !important;
    width: auto !important;
    object-fit: contain !important;
    max-height: 25px !important;
}

/* CSA Logo - Maximum Specificity */
section .chlorasoft-certification img,
.solution-section .chlorasoft-certification img,
.chlorasoft-certification img {
    height: 20px !important;
    width: auto !important;
    object-fit: contain !important;
    max-height: 20px !important;
}

/* Specific adjustments if needed for different logos */
.testimonial-logos .google-logo {
    height: 5px;
}

.testimonial-logos .homestars-logo {
    height: 5px;
}

/* Footer Badge Size */
.footer-badge {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Button Styles */
.btn-primary, 
.hero-cta a,
.form-cta a {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
}

.btn-primary:hover, 
.hero-cta a:hover,
.form-cta a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Trust Badges in Testimonials Section */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.trust-indicators img,
.trust-badge {
    height: 70px !important;  /* Doubled from 35px to 70px */
    width: auto !important;
    object-fit: contain !important;
}

/* CSA Logo Size */
.csa-certification {
    display: flex;
    align-items: center;
    gap: 15px;
}

.csa-certification img {
    height: 36px !important;  /* Increased from 12px to 36px (3x larger) */
    width: auto !important;
    object-fit: contain !important;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .trust-indicators img,
    .trust-badge {
        height: 50px !important;  /* Doubled from 25px to 50px */
    }
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    animation: fadeIn 0.5s;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 