/* Badgerland Tech - Custom Home Tech Install Services */
/* Brand Colors: Black, Red (#C41E3A), White, Grey */

:root {
    --primary-red: #C41E3A;
    --dark-red: #9B1829;
    --black: #000000;
    --dark-grey: #2b2b2b;
    --medium-grey: #666666;
    --light-grey: #e5e5e5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

/* Header and Navigation */
header {
    background-color: var(--black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

/* Hero Logo - Large centered version */
.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

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

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--primary-red);
    background-color: rgba(255,255,255,0.1);
}

nav ul li a.cta {
    background-color: var(--primary-red);
    color: var(--white);
}

nav ul li a.cta:hover {
    background-color: var(--dark-red);
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--black);
    padding: 6rem 2rem;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--medium-grey);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--black);
}

section h2 .highlight {
    color: var(--primary-red);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--medium-grey);
    margin-bottom: 1rem;
}

.service-card .price {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
}

/* Why Choose Us Section */
.why-choose {
    background-color: var(--light-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid .feature:nth-child(5),
.features-grid .feature:nth-child(6) {
    grid-column: span 2;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid .feature:nth-child(5),
    .features-grid .feature:nth-child(6) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--medium-grey);
}

/* Testimonials */
.testimonials {
    background-color: var(--dark-grey);
    color: var(--white);
}

.testimonials h2 {
    color: var(--white);
}

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

.testimonial-card {
    background-color: var(--black);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--light-grey);
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-red);
}

.testimonial-location {
    color: var(--medium-grey);
    font-size: 0.9rem;
}

/* Service Area */
.service-area {
    background-color: var(--white);
    text-align: center;
}

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

.schedule-highlight {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-red);
}

.schedule-highlight h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
    background-color: var(--light-grey);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-grey);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-grey);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-grey);
    color: var(--medium-grey);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    section h2 {
        font-size: 2rem;
    }

    .logo {
        height: 50px;
    }

    .hero-logo {
        max-width: 280px;
        margin-bottom: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}
