/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Breadcrumb styles */
.breadcrumb {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0 1.5rem;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 1rem;
    color: #cbd5e1;
    font-weight: 300;
    font-size: 1.2rem;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.2s ease;
}

.breadcrumb-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #3b82f6;
}

.breadcrumb-item a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

@media (max-width: 640px) {
    .breadcrumb {
        padding: 1rem 0;
    }
    
    .breadcrumb-list {
        padding: 0 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.9rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.75rem;
    }
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Hero section */
.hero {
    height: 80vh;
    background-image: url('../images/dream-car.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);  /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;  /* Place content above the overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Grid layouts */
.services-grid,
.testimonials-grid,
.projects-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s;
}

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

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

label {
    display: block;
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Service Detail Styles */
.service-detail {
    padding: 4rem 0;
}

.service-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-range {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.service-content {
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-images-wrapper {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.primary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .primary-image {
    transform: scale(1.05);
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.project-card:hover .project-hover {
    opacity: 1;
}

.hover-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .hover-content {
    transform: translateY(0);
}

.view-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-more:hover {
    background: #0056b3;
}

.project-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.year {
    font-size: 1.1rem;
    opacity: 0.8;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 3rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section .btn {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-header {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Recent Projects Section Styling */
.recent-projects {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: relative;
    height: 200px;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.tire-tracks {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateX(-100%) translateY(-50%);
    width: auto;
    height: 60px;
    opacity: 1;
    transition: transform 0.5s linear;
    object-fit: contain;
}

@keyframes rollAcross {
    0% {
        transform: translateX(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 1;
    }
}

.section-header.animate .tire-tracks {
    animation: rollAcross 1.5s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-images-wrapper {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.primary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 2;
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.project-card:hover .project-hover {
    opacity: 1;
}

.hover-content {
    text-align: center;
    color: white;
}

.view-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.year {
    font-size: 1.1rem;
    opacity: 0.8;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Project Detail Page Styles */
.project-detail {
    padding: 4rem 0;
    background: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

.project-title {
    margin-bottom: 3rem;
    text-align: center;
}

.project-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.car-specs {
    font-size: 1.2rem;
    color: #666;
}

.project-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-main {
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.thumbnail {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

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

.detail-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.detail-item .label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.detail-item .value {
    font-size: 1.1rem;
    font-weight: 500;
}

.project-cta {
    margin-top: 3rem;
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .project-content {
        grid-template-columns: 1fr;
    }
}

/* Base layout styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    padding-bottom: 2rem; /* Add some space before footer */
}

/* Footer styles */
.footer {
    flex-shrink: 0;
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    width: 100%;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Ensure proper spacing for all pages */
section {
    padding: 4rem 0;
}

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

/* Projects Section Styles */
.projects-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.car-make {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.car-model {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.project-description {
    color: #777;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-view-details {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.btn-view-details:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,123,255,0.2);
}

.no-projects {
    text-align: center;
    grid-column: 1 / -1;
    padding: 2rem;
    color: #666;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .project-image {
        height: 200px;
    }

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

/* About Page Styles */
.testimonials-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.testimonial-card blockquote {
    font-style: italic;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #333;
}

.testimonial-card footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-section {
    padding: 4rem 0;
    background: white;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #007bff;
}

/* Services Styles from styles.css */
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #333;
    --background-color: #f5f5f5;
}

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

.services-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.btn-view-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Service Detail Page */
.service-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.service-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero h1 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-book-now {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.language-switcher {
    margin-left: 20px;
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-btn img {
    width: 24px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.language-btn:hover img {
    transform: scale(1.1);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff4d4d;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-section {
    margin-top: 3rem;
    width: 100%;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-grid {
    margin-bottom: 2rem;
} 