:root {
    --bg-color: #ffebec;
    --secondary-color: #0582ca;
    --secondary-dark: #0466a0;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --success-color: #25d366;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: var(--radius);
}

.shadow {
    box-shadow: var(--shadow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--secondary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--white);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

.btn-whatsapp {
    background-color: var(--success-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 235, 236, 1) 0%, rgba(255, 255, 255, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-pattern.png');
    background-repeat: repeat;
    background-size: 400px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
    pointer-events: none;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: rotateY(360deg);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.owner-info {
    margin-top: 30px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

.owner-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.owner-role {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: var(--radius);
    font-weight: 600;
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.services-grid::-webkit-scrollbar {
    height: 8px;
}

.services-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.service-card {
    width: 220px;
    height: 300px;
    flex: 0 0 auto;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-top-color: var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(5, 130, 202, 0.5);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.parts-section {
    padding: 40px 20px;
}

.parts-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.parts-category {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.parts-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.parts-category h4 {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1.3rem;
    padding: 18px 20px;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.parts-category h4 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.parts-category ul {
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.parts-category ul li {
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.parts-category ul li:last-child,
.parts-category ul li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
    padding-bottom: 0;
}

.parts-category ul li i {
    color: var(--accent-color);
    font-size: 1.05em;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.featured-gallery-image {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.featured-gallery-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item .img-placeholder {
    height: 300px;
    transition: transform 0.3s ease;
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.02);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffe4e6 0%, #fde3e7 100%);
    position: relative;
}

.testimonials .section-header {
    margin-bottom: 60px;
}

.testimonials .section-header h2 {
    font-size: 3rem;
    color: var(--white);
    font-weight: 700;
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.testimonials-wrapper {
    flex: 1;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    max-width: 800px;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.stars i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.3rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 400;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.client-role {
    font-size: 0.95rem;
    color: var(--text-light);
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 130, 202, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--secondary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(5, 130, 202, 0.4);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(5, 130, 202, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    width: 32px;
    border-radius: 6px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.info-item {
    margin-top: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-map iframe {
    border-radius: var(--radius);
}

.map-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding-top: 80px;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .parts-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .parts-category ul {
        grid-template-columns: 1fr;
    }

    .testimonials-carousel {
        flex-direction: column;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 40px 30px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}