/* --- INTRO SECTION --- */
.intro {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

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

.intro-text p {
    font-size: 24px;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 24px;
    font-weight: 400;
}

.intro-tagline {
    font-family: var(--font-heading);
    margin-top: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--slate-900);
}

.intro-tagline strong {
    color: var(--slate-400); /* Muted contrast */
    font-size: 32px;
    font-weight: 800;
}

.intro-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-box {
    flex: 1 1 calc(25% - 24px);
    min-width: 280px;
    max-width: calc(25% - 24px);
    background: var(--slate-50);
    padding: 48px 32px;
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center; /* Centered content */
}

@media (max-width: 1200px) {
    .intro-box {
        flex: 1 1 calc(33.333% - 24px);
        max-width: calc(33.333% - 24px);
    }
}

@media (max-width: 992px) {
    .intro-box {
        flex: 1 1 calc(50% - 24px);
        max-width: calc(50% - 24px);
    }
}

@media (max-width: 640px) {
    .intro-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.intro-box:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--slate-900);
}

.intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.intro-icon i,
.intro-icon svg {
    width: 48px !important;
    height: 48px !important;
    stroke-width: 1.5px;
}

.intro-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-900);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* --- CAR CARDS --- */
.cars {
    background: var(--slate-50);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.car-card {
    background: var(--white);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--slate-200);
}

.car-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-large);
    border-color: var(--slate-900);
}

.car-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.car-content {
    padding: 32px;
}

.car-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.car-title h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.car-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.car-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
}

.car-details {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--slate-100);
}

.car-details span {
    font-size: 14px;
    color: var(--slate-500);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.car-details i {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

.car-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--slate-900);
    color: var(--white);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background: var(--white);
}

.testimonial-slider-container {
    position: relative;
    padding: 20px 0 60px;
}

.testimonial-swiper {
    padding: 20px 20px 60px !important;
    margin: -20px -20px -60px !important;
}

.swiper-slide {
    height: auto;
}

.testimonial-card {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--slate-200);
    transition: all 0.4s ease;
    height: 100%; /* Ensure all cards are same height */
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--slate-900);
    box-shadow: var(--shadow-medium);
}

.testimonial-rating {
    margin-bottom: 24px;
    color: var(--slate-900);
    font-size: 14px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: 32px;
    font-style: italic;
    flex-grow: 1; /* Push author info to bottom */
}

.testimonial-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--slate-900);
}

.testimonial-author-info p {
    font-size: 14px;
    color: var(--slate-400);
}

/* Swiper Premium Customization */
.testimonial-swiper {
    padding: 20px 60px 80px !important; /* Extra side padding for navigation breathing room */
    margin: -20px -60px -80px !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--slate-300);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--slate-900);
    opacity: 1;
    width: 24px; /* Pill shape for active state */
    border-radius: 4px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--slate-900);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: 900;
}

.swiper-button-next { right: 10px; }
.swiper-button-prev { left: 10px; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--slate-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--slate-200);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 32px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- FOOTER --- */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-col h3, .footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 32px;
}

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

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--slate-900);
    color: var(--white) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--white);
    color: var(--slate-950) !important;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.02em;
}

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

@media (max-width: 768px) {
    .car-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 48px; }
}

/* --- SERVICES SECTION --- */
.services {
    background: var(--white);
    padding: 100px 0;
    border-bottom: 1px solid var(--slate-100);
}

.service-container {
    display: flex;
    gap: 40px;
    margin-bottom: 64px;
}

.service-block {
    flex: 1;
    background: var(--slate-50);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--slate-200);
    transition: all 0.4s ease;
}

.service-block:hover {
    background: var(--white);
    border-color: var(--slate-900);
    box-shadow: var(--shadow-medium);
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
    margin-bottom: 16px;
}

.service-block h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-items.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item i {
    color: var(--slate-900);
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
}

.service-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-700);
}

.service-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.service-cta-group .btn {
    min-width: 200px;
}

.service-cta-group .btn-primary {
    background-color: var(--slate-900);
    color: var(--white);
    border-color: var(--slate-900);
}

.service-cta-group .btn-primary:hover {
    background-color: transparent;
    color: var(--slate-900);
}

.service-cta-group .btn-outline {
    color: var(--slate-900);
    border-color: var(--slate-200);
}

.service-cta-group .btn-outline:hover {
    border-color: var(--slate-900);
    background: var(--slate-50);
}

.service-cta-group .btn-whatsapp-hero {
    color: #16A34A; /* Slightly darker green for white background */
    border-color: rgba(22, 163, 74, 0.4);
}

.service-cta-group .btn-whatsapp-hero:hover {
    background-color: #16A34A;
    color: var(--white);
    border-color: #16A34A;
}

@media (max-width: 1024px) {
    .service-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .service-block {
        padding: 32px;
    }
    
    .service-items.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .service-block h3 {
        font-size: 24px;
    }
}

/* --- CTA BANNER --- */
.cta-banner {
    background-color: var(--slate-900);
    padding: 120px 0;
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--slate-800);
    padding: 80px 40px;
    border: 1px solid var(--slate-700);
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 18px;
    color: var(--slate-300);
    margin-bottom: 40px;
}

.cta-card .btn {
    min-width: 240px;
}

@media (max-width: 768px) {
    .cta-card { padding: 48px 24px; }
    .cta-card h2 { font-size: 28px; }
}
