/* 
* Mankato Repair - Main Stylesheet
* Author: Developer
* Version: 1.0
*/

/* Reset & Base Styles */
:root {
    --primary-color: #1c62af;
    --primary-dark: #0b4d94;
    --secondary-color: #ff8c00;
    --text-color: #333;
    --light-text: #777;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --border-color: #e6e6e6;
    --success-color: #28a745;
    --max-width: 1200px;
    --header-height: 80px;
    --body-font: 'Open Sans', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.nav-cta {
    background-color: var(--primary-color);
    color: white;
}

.nav-list a.nav-cta:hover {
    background-color: var(--primary-dark);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 6rem) 0 6rem;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: var(--heading-font);
    line-height: 1.2;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
}

.service-card p {
    color: var(--light-text);
}

.services-cta {
    margin-top: 4rem;
    text-align: center;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.about-item {
    text-align: center;
    padding: 2rem;
}

.about-item i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.about-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
}

.about-item p {
    color: var(--light-text);
}

/* Trustpilot Section */
.trustpilot {
    padding: 8rem 0;
    background-color: var(--light-bg);
}

.reviews-cta {
    margin-top: 4rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(rgba(28, 98, 175, 0.9), rgba(28, 98, 175, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    font-family: var(--heading-font);
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-content .btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background-color: var(--dark-bg);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: var(--heading-font);
}

.footer-info p {
    margin-bottom: 1rem;
}

.footer-info i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-hours ul li {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 1rem;
    opacity: 0.7;
    font-size: 1.4rem;
}

.footer-bottom a {
    color: white;
    opacity: 0.7;
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--secondary-color);
} 