/*
Theme Name: Jordan's Auto Repair
Theme URI: https://jordansautorepair.com
Author: Jordan's Auto Repair
Description: A mobile auto repair website with Picktime booking integration
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jordans-auto
*/

:root {
    --primary-color: #0f2a44;
    --primary-light: #1a4a6e;
    --secondary-color: #e85d26;
    --accent-color: #f4a236;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1929;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2137 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: var(--secondary-color);
    padding: 8px 0;
    text-align: center;
}

.call-now-btn {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.call-now-btn:hover {
    opacity: 0.9;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.site-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.site-logo-text {
    font-size: 1.75rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-logo-text span {
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: white;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 30px;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 30px;
    transition: width 0.3s ease;
    z-index: -1;
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 38, 0.4);
}

.main-nav a:active {
    transform: translateY(0);
}
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

/* Services Section */
.services-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 80px 20px;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-item-text strong {
    display: block;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

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

/* Booking Section */
.booking-section {
    padding: 80px 20px;
}

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

.picktime-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 50px 20px 20px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: #a0aec0;
    line-height: 2;
}

.footer-section a:hover {
    color: white;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Service Area Links */
.service-area-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--secondary-color) !important;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

/* Booking Section */
.booking-section {
    background-color: var(--primary-color);
    color: white;
}

.booking-section .section-title {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        background: var(--secondary-color);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background: #d14a1e;
        transform: scale(1.05);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, #0d2137 100%);
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav a {
        padding: 15px 25px;
        border-radius: 10px;
        font-size: 1.1rem;
        text-align: left;
    }

    .main-nav a:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(232, 93, 38, 0.3);
    }

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

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

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

    .hero {
        padding: 60px 20px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .hero .btn {
        display: block;
        margin: 10px 0;
    }

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

    .service-card {
        padding: 25px 20px;
    }

    .service-icon img {
        width: 70px !important;
        height: 70px !important;
    }

    .site-logo-img {
        height: 50px;
    }

    .site-logo-text {
        font-size: 1.25rem;
    }

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

    .footer-section ul {
        padding: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        height: 250px !important;
    }

    .service-area-link {
        padding: 12px 20px !important;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 12px 15px;
    }

    .site-logo-text {
        font-size: 1.1rem;
    }

    .site-logo-img {
        height: 45px;
    }

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

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

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

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .booking-section .btn {
        font-size: 1.1rem;
        padding: 16px 30px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}
