/*
Theme Name: Bison One Page
Theme URI: https://bisonhomeinspections.ca
Description: Premium Custom One-Page Theme
Author: BasePatch
Version: 3.0.0
*/

:root {
    --primary-orange: #E89539;
    --primary-brown: #6B3E2E;
    --dark-charcoal: #3D3D3D;
    --light-gray: #8B8B8B;
    --text-black: #1A1A1A;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --accent-cream: #FFF8F0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary-brown);
}

h2 {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--dark-charcoal);
    margin-bottom: 0.5rem;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: headerFadeIn 0.5s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    width: 180px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-orange);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
}

.cta-button:hover {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 149, 57, 0.3);
}

.cta-icon {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-charcoal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-cream) 0%, var(--bg-white) 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 149, 57, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-50px, 50px) rotate(180deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text p {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: var(--dark-charcoal);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 149, 57, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-brown);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-brown);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-brown);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-orange);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
    font-size: 1.1rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.credential-item {
    background: var(--accent-cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.credential-item h4 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.credential-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 1 1 350px;
    max-width: 450px;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-orange);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 3rem;
    flex-shrink: 0;
    line-height: 1;
}

.service-card h3 {
    color: var(--primary-brown);
    margin-bottom: 0;
    line-height: 1.3;
}

.service-card p {
    color: var(--dark-charcoal);
    line-height: 1.7;
}

.service-card ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--dark-charcoal);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* What's Included */
.whats-included {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.included-container {
    max-width: 1400px;
    margin: 0 auto;
}

.included-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.included-item {
    flex: 1 1 300px;
    max-width: 450px;
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: var(--accent-cream);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.included-item:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateX(10px);
}

.included-item:hover .included-icon {
    color: white;
}

.included-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    transition: color 0.3s ease;
}

.included-content h4 {
    margin-bottom: 0.5rem;
}

/* Service Areas */
.service-areas {
    padding: 6rem 2rem;
    background: var(--primary-brown);
    color: white;
}

.areas-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.areas-container h2 {
    color: white;
    margin-bottom: 2rem;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.area-item {
    flex: 1 1 200px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.area-item:hover {
    background: var(--primary-orange);
    transform: scale(1.05);
}

.area-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-orange);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--accent-cream);
}

.faq-question h4 {
    color: var(--primary-brown);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-orange);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--dark-charcoal);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h5 {
    color: var(--primary-brown);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.rating {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* Contact/CTA Section */
.contact-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-brown) 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-method {
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-method h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.contact-method a:hover {
    opacity: 0.8;
}

.btn-white {
    background: white;
    color: var(--primary-brown);
    padding: 1.2rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark-charcoal);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.contact-info-list p {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-info-list p i {
    margin-top: 5px;
    color: var(--primary-orange);
    min-width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-brown);
    transform: translateY(-3px);
}

.social-links a i {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 1.5rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        max-width: 50vw;
    }

    .cta-button {
        padding: 0.8rem 1rem;
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .cta-text {
        display: none;
    }

    .cta-icon {
        display: inline-block;
        font-size: 1.2rem;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-methods {
        flex-direction: column;
        gap: 2rem;
    }

    .credentials {
        grid-template-columns: 1fr;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Offset anchor targets so sticky header doesn't cover content */
section[id] {
    scroll-margin-top: 120px;
}

.service-card[id] {
    scroll-margin-top: 130px;
}

@media (max-width: 968px) {

    section[id] {
        scroll-margin-top: 80px;
    }

    .service-card[id] {
        scroll-margin-top: 100px;
    }
}

/* Schema.org structured data styling */
.schema-hidden {
    display: none;
}