/* Base Styles */
:root {
    --primary-color: #FFD100; /* Amarillo Caterpillar */
    --secondary-color: #000000; /* Negro */
    --accent-color: #FF6B00; /* Naranja para acentos */
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --medium-gray: #DDDDDD;
    --dark-gray: #777777;
    --white: #FFFFFF;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --info-color: #17A2B8;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 18px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
}

.logo h1 {
    color: var(--white);
    font-size: 24px;
}

.logo h1 span {
    color: var(--primary-color);
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.about-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* Workshop Section */
.workshop {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: var(--white);
}

.overlay h3 {
    font-size: 20px;
}

.workshop-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Brands Section */
.brands {
    padding: 100px 0;
    background-color: var(--white);
}

.brands-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.brand-logo {
    flex: 0 0 calc(20% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.1);
}

.brands-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.content-left, .content-right {
    flex: 1;
}

.content-left h3, .content-right h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--secondary-color);
}

/* Promotions Section */
.promotions {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.promo-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
    text-align: center;
}

.promo-card:hover {
    transform: translateY(-10px);
}

.promo-highlight {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.promo-highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.promo-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.promo-card h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.promo-price {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    font-size: 18px;
    margin-right: 10px;
}

.new-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.promo-features {
    margin-bottom: 30px;
    text-align: left;
}

.promo-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.promo-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.promo-cta {
    text-align: center;
    margin-top: 50px;
}

.promo-cta a {
    color: var(--primary-color);
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.client-rating {
    color: var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonial-cta a {
    color: var(--primary-color);
    font-weight: 700;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 209, 0, 0.1);
}

.faq-question h3 {
    font-size: 18px;
    margin-right: 20px;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-cta a {
    color: var(--primary-color);
    font-weight: 700;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--white);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.blog-excerpt {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--dark-gray);
}

.blog-link {
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.blog-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.contact-map {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-primary);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .brands-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-color);
        transition: left 0.3s ease;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        padding: 30px;
    }
    
    .navbar ul li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .promo-cards {
        grid-template-columns: 1fr;
    }
    
    .promo-highlight {
        transform: scale(1);
    }
    
    .promo-highlight:hover {
        transform: scale(1) translateY(-10px);
    }
}