/* VirtualAutoMechanic Website Styles */

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

:root {
    --primary-blue: #135BAB;
    --primary-red: #B42126;
    --white: #FFFFFF;
    --black: #000000;
}

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

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

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

.logo img {
    height: 60px;
    max-width: 100%;
}

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

nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hero-image-rotator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-rotator-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--white);
}

.image-rotator-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* Section Styling */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Our Goal Section */
.our-goal {
    background-color: var(--white);
}

.our-goal-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

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

.service-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-item li:before {
    content: "•";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

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

.pricing-item {
    background-color: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pricing-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.pricing-item .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
    text-align: center;
}

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

.contact-info {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Featured Mechanic Section */
.featured-mechanic {
    background-color: var(--white);
    padding: 4rem 2rem;
}

.featured-mechanic-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-mechanic-image {
    text-align: center;
}

.featured-mechanic-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.featured-mechanic-image img:hover {
    transform: scale(1.05);
}

.featured-mechanic-info h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.featured-mechanic-info h3 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.featured-mechanic-info h3 a:hover {
    color: var(--primary-red);
}

.featured-mechanic-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #9a1c20;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* Featured Mechanic Page Styles */
.mechanic-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.mechanic-hero img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mechanic-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mechanic-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.mechanic-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-section {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.reviews-section h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.reviews-content {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.reviews-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container {
    text-align: center;
}

.video-container video {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0, 0.2);
}

.photo-gallery {
    margin: 3rem 0;
}

.photo-gallery h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Logos Section */
.logos-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    justify-items: center;
    align-items: center;
    margin-top: 2rem;
}

.logo-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* QR Code Section */
.qr-code-container {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.qr-code-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#qrcode {
    display: inline-block;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#qrcode canvas {
    display: block;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

    .hero-text {
        text-align: center;
    }

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

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

    .image-rotator-container {
        max-width: 100%;
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .logos-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

