/*
Theme Name: Fountain Auto Tech
Theme URI: https://fountainautotech.com
Description: Professional WordPress theme for Fountain Auto Tech
Version: 1.0
Author: Fountain Electric & Services
*/

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #d32f2f;
    transition: color 0.3s ease;
}

a:hover {
    color: #b71c1c;
}

.review-copy {
    font-size: 1.125rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.review-copy:hover {
    color: #ffffff;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #1a1a1a;
    padding: 1.5rem 0 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.site-logo {
    position: absolute;
    left: 0;
    padding: 0.5rem 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.header-phone {
    flex-shrink: 0;
}

.phone-cta {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.phone-cta:hover {
    color: #d32f2f;
}

.main-navigation {
    position: absolute;
    right: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #d32f2f;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('/wp-content/uploads/2025/12/auto_tech_header_3840x1080-scaled.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: #ffffff;
    padding: 0;
    text-align: center;
    height: 0;
    padding-bottom: 28.125%;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    visibility: hidden;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: transparent;
    padding: 1rem 5rem;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: rgba(211, 47, 47, 0.2);
    transform: translateX(-50%) translateY(-2px);
    color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* CTA Bar Section */
.cta-bar {
    background-color: #000000;
    padding: 2.5rem 0;
    width: 100%;
}

.cta-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-bar h2 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.cta-bar-button {
    background-color: #d32f2f;
    color: #ffffff;
    padding: 1rem 3rem;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.cta-bar-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Intro Section */
.intro-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.section-subhead {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

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

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.service-card h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

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

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

.feature-icon {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-item p {
    color: #666;
}

/* Photo Gallery Carousel Section */
.gallery-section {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

#image-carousel {
    position: relative !important;
    max-width: 1200px;
    margin: 2rem auto 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background-color: #1a1a1a;
    isolation: isolate;
}

#image-carousel .gallery-slide {
    display: none !important;
    width: 100%;
    position: relative;
}

#image-carousel .gallery-slide.active {
    display: block !important;
}

#image-carousel .gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

#image-carousel .gallery-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(211, 47, 47, 0.8) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 1.5rem !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    z-index: 100 !important;
    transition: background-color 0.3s ease;
    border-radius: 4px !important;
}

#image-carousel .gallery-arrow:hover {
    background-color: rgba(183, 28, 28, 0.9) !important;
}

#image-carousel .gallery-arrow.prev {
    left: 1rem !important;
}

#image-carousel .gallery-arrow.next {
    right: 1rem !important;
}

/* Testimonials Section */
.testimonials-section {
    padding: 2rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

.testimonials-wrapper {
    overflow: hidden;
    margin-top: 1.5rem;
    position: relative;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.testimonial-rating {
    color: #d32f2f;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}

.testimonial-text {
    color: #333;
    font-style: italic;
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-author {
    color: #666;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.5rem;
}

.testimonials-cta {
    text-align: center;
    margin-top: 2rem;
}

.testimonials-button {
    display: inline-block;
    background-color: #d32f2f;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.testimonials-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Homepage Contact Section */
.homepage-contact-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.homepage-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: start;
}

.homepage-contact-form {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

.homepage-contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    grid-auto-rows: 1fr;
}

.info-item {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
    flex-shrink: 0;
}

.info-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-details h3 {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.info-details p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-details a:hover {
    color: #d32f2f;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

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

.submit-button {
    background-color: #d32f2f;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #b71c1c;
}

/* MailChimp Response Messages */
#mce-responses {
    margin-top: 1rem;
}

#mce-error-response,
#mce-success-response {
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

#mce-error-response {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

#mce-success-response {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

/* About Section */
.about-section {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

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

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    line-height: 1.8;
}

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

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

.footer-map {
    margin-top: 1rem;
}

.footer-map iframe {
    border-radius: 8px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design - Tablet/Small Desktop */
@media (max-width: 1100px) {
    .site-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        position: static;
        align-items: center;
    }
    
    .site-logo {
        position: static !important;
        order: 1;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .site-logo img {
        max-height: 45px;
    }
    
    .header-phone {
        position: static !important;
        order: 2;
        width: 100%;
        text-align: center;
    }
    
    .phone-cta {
        font-size: 1.4rem;
    }
    
    .main-navigation {
        position: static !important;
        order: 3;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: row;
        gap: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .main-navigation a {
        display: inline-block;
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    .review-copy {
        font-size: 1rem;
    }
    
    /* Reduce all icon sizes by 50% on tablet */
    .service-icon,
    .contact-icon,
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Two column layout for Why Choose section on tablet */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    /* Two column layout for Services section on tablet */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Force uniform sizing for contact info boxes on tablet */
    .homepage-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .homepage-contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .info-item {
        min-height: 180px;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }
    
    .info-details {
        width: 100%;
        max-width: 100%;
    }
    
    .homepage-contact-form {
        padding: 1.5rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .header-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: static;
        align-items: center;
    }
    
    .site-logo {
        position: static !important;
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .site-logo img {
        max-height: 50px;
    }
    
    .header-phone {
        position: static !important;
        order: 2;
        width: 100%;
        text-align: center;
    }
    
    .phone-cta {
        font-size: 1.5rem;
    }
    
    .main-navigation {
        position: static !important;
        order: 3;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .main-navigation a {
        display: inline-block;
    }
    
    .hero-section {
        padding-bottom: 100%;
        background-image: url('/wp-content/uploads/2025/12/at_768x768.png');
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 3rem;
        font-size: 0.9rem;
    }
    
    .cta-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-bar h2 {
        font-size: 1.5rem;
    }
    
    .cta-bar-button {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }
    
    .intro-content p {
        font-size: 1.2rem;
    }
    
    #image-carousel .gallery-arrow {
        padding: 0.75rem 1rem !important;
        font-size: 1.2rem !important;
    }
    
    #image-carousel .gallery-arrow.prev {
        left: 0.5rem !important;
    }
    
    #image-carousel .gallery-arrow.next {
        right: 0.5rem !important;
    }

	.homepage-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .homepage-contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .info-item {
        width: 100%;
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-details h3 {
        font-size: 1.1rem;
    }
    
    .info-details p {
        font-size: 0.85rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Two column layout for Services section on mobile */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Two column layout for Why Choose section on mobile */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    /* Reduce all icon sizes by 50% on mobile */
    .service-icon,
    .contact-icon,
    .feature-icon {
        width: 40px;
        height: 40px;
    }
}