/*
Theme Name: Jones Car Service80
Description: A modern automotive service website theme with 3D effects and yellow/black design
Author: Youness Glaibi
Version: 1.0
License: GPL v2 or later
Text Domain: jones-car-service
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* Custom Properties */
:root {
    --primary-yellow: #ffeb3b;
    --primary-black: #000000;
    --secondary-yellow: #fdd835;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #6b7280;
    --border-yellow: #ffeb3b;
    --shadow-yellow: rgba(255, 235, 59, 0.3);
}

/* Jones Car Service80 custom styling with yellow/black theme */
.jones-gradient {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
}

.yellow-glow {
    box-shadow: 0 0 30px rgba(255, 235, 59, 0.4);
}

.racing-stripes {
    background: repeating-linear-gradient(90deg, #ffeb3b 0px, #ffeb3b 4px, transparent 4px, transparent 8px);
}

.car-entrance {
    animation: carEnter 4s ease-in-out infinite;
}

@keyframes carEnter {
    0%, 100% {
        transform: translateX(-100px) rotateY(-15deg);
    }
    50% {
        transform: translateX(0px) rotateY(0deg);
    }
}

.floating-logo {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.service-hover {
    transition: all 0.3s ease;
}

.service-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 235, 59, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-yellow);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-brand span {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary-yellow);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 2rem;
}

.navbar-nav a:hover {
    color: var(--primary-yellow);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: var(--secondary-yellow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 8rem);
    line-height: 1;
    margin-bottom: 2rem;
}

.hero-content .yellow-text {
    color: var(--primary-yellow);
}

.hero-content p {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: #e5e7eb;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.badge-yellow {
    background: rgba(255, 235, 59, 0.2);
    color: #fbbf24;
    border: 1px solid var(--primary-yellow);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--text-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--text-light);
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px var(--shadow-yellow);
    border-color: var(--primary-yellow);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(6deg);
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #d97706;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-yellow);
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    color: var(--text-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #d1d5db;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #fef3c7 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.contact-form {
    background: var(--text-light);
    border: 1px solid #fbbf24;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.1);
}

.contact-info {
    background: var(--text-light);
    border: 1px solid #fbbf24;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--text-light);
    padding: 3rem 0;
    border-top: 2px solid var(--primary-yellow);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
}

/* 3D Car Animation Container */
.car-3d-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Sidebar */
.sidebar {
    background: var(--text-light);
.   border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 1rem;
    height: fit-content;
}

.content-with-sidebar .widget {
    background: var(--text-light);
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.content-with-sidebar .widget-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Responsive layout for content + sidebar */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-yellow { color: var(--primary-yellow); }
.text-white { color: var(--text-light); }
.text-black { color: var(--text-dark); }
.bg-yellow { background: var(--primary-yellow); }
.bg-black { background: var(--primary-black); }
.font-mono { font-family: 'Orbitron', monospace; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
