/* CSS Custom Properties */
:root {
    --lynx-red: #C8102E;
    --black: #000;
    --white: #FFF;
    --gold: #FFD700;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --border-radius: 4px;
    --max-width: 1200px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

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

/* Icons */
.icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    stroke: currentColor;
}

/* Support for uploaded image icons */
img.icon {
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(7471%) hue-rotate(355deg) brightness(95%) contrast(105%);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    position: static;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.nav-logo h2 {
    color: var(--lynx-red);
    margin: 0;
    font-size: 1.25rem;
    text-align: left;
}

/* Banner logo styling */
.banner-logo-img {
    max-height: 120px;
    height: 120px;
    max-width: 600px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .banner-logo-img {
        max-height: 100px;
        height: 100px;
        max-width: 500px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--lynx-red);
}

.nav-phone {
    background: var(--lynx-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s;
}

.nav-phone:hover {
    background: #a00d26;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn-cta {
    background: var(--lynx-red);
    color: var(--white);
    border: 2px solid var(--lynx-red);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    margin-right: 1rem;
}

.btn-cta:hover {
    background: #a00d26;
    border-color: #a00d26;
}

.btn-call {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--lynx-red);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}

.btn-call:hover {
    color: var(--lynx-red);
}

.btn-submit {
    background: var(--lynx-red);
    color: var(--white);
    border: 2px solid var(--lynx-red);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-family: var(--font-family);
}

.btn-submit:hover {
    background: #a00d26;
    border-color: #a00d26;
}

/* Tagline */
.tagline {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero heading override for white text */
.hero h1 {
    color: var(--white);
}

.sub {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--lynx-red);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
}

.hero-buttons {
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 8px;
    background: var(--light-gray);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.feature-icon .icon {
    width: 100%;
    height: 100%;
    color: var(--lynx-red);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.service-icon .icon {
    width: 100%;
    height: 100%;
    color: var(--lynx-red);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pricing-note {
    text-align: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--lynx-red);
}

.pricing-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--lynx-red);
}

/* Service Area Section */
.service-area {
    padding: 80px 0;
    background-color: var(--white);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.area-list ul {
    list-style: none;
    padding: 0;
}

.area-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    font-weight: 500;
}

.area-list li:last-child {
    border-bottom: none;
}

.area-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    text-align: right;
    color: var(--lynx-red);
}

.star-rating {
    margin-top: 8px;
    color: #FFD700;
    font-size: 14px;
}

/* Resources Section */
.resources {
    padding: 80px 0;
    background-color: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.resource-link {
    color: var(--lynx-red);
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--lynx-red);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
    transition: all 0.2s;
}

.resource-link:hover {
    background: var(--lynx-red);
    color: var(--white);
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lynx-red);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.badge img,
.badge .icon {
    width: 24px;
    height: 24px;
    color: white;
}

.badge-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon .icon {
    width: 100%;
    height: 100%;
    color: white;
}

.badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.badge span {
    font-weight: 500;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: var(--lynx-red);
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 2000;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 60px 0;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-cta {
        margin-right: 0;
        width: 100%;
        max-width: 280px;
    }

    .btn-call {
        width: 100%;
        max-width: 280px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-badges {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .badge {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }

    .badge span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .nav-logo h2 {
        font-size: 1rem;
    }

    .banner-logo-img {
        max-height: 80px;
        height: 80px;
        max-width: 400px;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
