/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Floating Logo */
.floating-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo img {
    width: 60px;
    height: auto;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

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

.btn-primary {
    display: inline-block;
    background-color: #2c3e50;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #34495e;
}

/* Header */
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 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2c3e50;
    font-size: 2rem;
}

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

.nav-links li {
    margin-left: 30px;
}

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

.nav-links a:hover {
    color: #2c3e50;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-slide:nth-child(1) {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/header.jpg') center/cover no-repeat;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/maquinarias-banner.jpg') center/cover no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(44, 62, 80, 0.7);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 24px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.hero-slider-btn:hover {
    background-color: rgba(44, 62, 80, 0.9);
}

.hero-slider-btn.prev-hero {
    left: 20px;
}

.hero-slider-btn.next-hero {
    right: 20px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-slider-dots .dot.active {
    background-color: #fff;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-image {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

/* About Us Responsive */
.empresa-details {
    flex-direction: column;
    gap: 15px;
}

.mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.valores-grid {
    grid-template-columns: 1fr;
}

.nosotros-hero h1 {
    font-size: 2rem;
}

.nosotros-hero p {
    font-size: 1rem;
}

/* Clients Carousel */
.clients {
    padding: 80px 0;
    background-color: #f4f4f4;
}

.clients h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.client-logo {
    min-width: 200px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 5px;
}

/* Portfolio Styles */
.portafolio-hero {
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/header.jpg') center/cover no-repeat;
height: 40vh;
display: flex;
align-items: center;
color: #fff;
text-align: center;
margin-top: 70px;
}

.portafolio-hero h1 {
font-size: 3rem;
margin-bottom: 20px;
}

.portafolio-hero p {
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto;
}

.portafolio-gallery {
padding: 80px 0;
background-color: #f8f9fa;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
max-width: 1400px;
margin: 0 auto;
}

.gallery-item {
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
aspect-ratio: 1;
}

.gallery-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-item img,
.gallery-item video {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.gallery-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 102, 0, 0.8);

display: flex;

align-items: center;

justify-content: center;

opacity: 0;

transition: opacity 0.3s ease;

color: white;

font-size: 2rem;

}



.gallery-item:hover .gallery-overlay {

opacity: 1;

}



.video-item video {

pointer-events: none;

}



/* Modal Styles */

.modal {

display: none;

position: fixed;

z-index: 2000;

left: 0;

top: 0;

width: 100%;

height: 100%;

background-color: rgba(0,0,0,0.9);

}



.modal-content {

position: relative;

margin: auto;

display: flex;

align-items: center;

justify-content: center;

width: 90%;

max-width: 1200px;

height: 90vh;

}



.close-modal {

position: absolute;

top: -50px;

right: 0;

color: #fff;

font-size: 40px;

font-weight: bold;

cursor: pointer;

z-index: 2001;

}



.close-modal:hover {

    color: #ff6600;

}



.close-btn-modal {

    position: absolute;

    top: 20px;

    right: 20px;

    background-color: rgba(255, 255, 255, 0.9);

    color: #333;

    border: 3px solid #333;

    border-radius: 50%;

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 28px;

    z-index: 2002;

    transition: all 0.3s ease;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}



.close-btn-modal:hover {

    background-color: #ff6600;

    color: white;

    border-color: #ff6600;

    transform: scale(1.1);

}



.video-indicator {

    position: absolute;

    top: 10px;

    right: 10px;

    background-color: rgba(255, 102, 0, 0.95);

    color: white;

    border-radius: 50%;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    z-index: 3;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);

    border: 3px solid white;

    animation: pulse 2s infinite;

}



@keyframes pulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.1); }

    100% { transform: scale(1); }

}



/* Responsive Portfolio */

@media screen and (max-width: 768px) {

    .portafolio-hero h1 {

        font-size: 2rem;

    }



    .gallery-grid {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

        gap: 15px;

    }



    .modal-content {

        width: 95%;

        height: 85vh;

    }



    .close-modal {

        top: -40px;

        font-size: 30px;

    }



    .close-btn-modal {

        width: 50px;

        height: 50px;

        font-size: 20px;

    }



    .video-indicator {

        width: 35px;

        height: 35px;

        font-size: 14px;

    }

}



@media screen and (max-width: 480px) {

    .gallery-grid {

        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

        gap: 10px;

    }



    .portafolio-hero {

        height: 30vh;

    }



    .portafolio-hero h1 {

        font-size: 1.5rem;

    }

}



.carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background-color: #2c3e50;

    color: #fff;

    border: none;

    padding: 10px 15px;

    cursor: pointer;

    border-radius: 50%;

    font-size: 18px;

    z-index: 10;

}



.carousel-btn.prev {

    left: -50px;

}



.carousel-btn.next {

    right: -50px;

}



.carousel-btn:hover {

    background-color: #34495e;

}



/* Contact Section */

.contact {

    padding: 80px 0;

    background-color: #fff;

}



.contact h2 {

    text-align: center;

    margin-bottom: 50px;

    color: #2c3e50;

    font-size: 2.5rem;

}



.contact-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

}



.contact-info h3 {

    margin-bottom: 20px;

    color: #2c3e50;

}



.contact-info p {

    margin-bottom: 15px;

}



.contact-info i {

    margin-right: 10px;

    color: #2c3e50;

}



.whatsapp-link {

    display: inline-block;

    color: #25d366;

    text-decoration: none;

    font-weight: bold;

    margin-bottom: 15px;

    transition: color 0.3s ease;

}



.whatsapp-link:hover {

    color: #128c7e;

}



.whatsapp-link i {

    margin-right: 10px;

}



.certifications {

    margin-top: 30px;

}



.certifications h4 {

    margin-bottom: 15px;

    color: #2c3e50;

}



.certifications ul {

    list-style: none;

}



.certifications li {

    margin-bottom: 10px;

    padding-left: 20px;

    position: relative;

}



.certifications li:before {

    content: "✓";

    position: absolute;

    left: 0;

    color: #2c3e50;

}



.contact-form {

    display: flex;

    flex-direction: column;

}



.contact-form input,

.contact-form textarea {

    margin-bottom: 15px;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 16px;

}



.contact-form textarea {

    height: 120px;

    resize: vertical;

}



/* Footer */

footer {

    background-color: #ff6600;

    color: #fff;

    text-align: center;

    padding: 20px 0;

}



/* About Us Styles */

.nosotros-hero {

	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/header.jpg') center/cover no-repeat;

    height: 40vh;

    display: flex;

    align-items: center;

    color: #fff;

    text-align: center;

}



.nosotros-hero h1 {

    font-size: 3rem;

    margin-bottom: 10px;

}



.nosotros-hero p {

    font-size: 1.2rem;

    opacity: 0.9;

}



.empresa-info {

    padding: 80px 0;

    background-color: #fff;

}



.empresa-header {

    text-align: center;

    margin-bottom: 40px;

}



.empresa-header h2 {

    color: #2c3e50;

    font-size: 2.2rem;

    margin-bottom: 20px;

}



.empresa-details {

    display: flex;

    justify-content: center;

    gap: 40px;

    margin-bottom: 30px;

}



.empresa-details p {

    font-weight: bold;

    color: #34495e;

    margin: 0;

}



.empresa-description {

    max-width: 800px;

    margin: 0 auto;

    line-height: 1.8;

}



.empresa-description p {

    margin-bottom: 20px;

    color: #555;

}



.mision-vision {

    padding: 80px 0;

    background-color: #f8f9fa;

}



.mv-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

}



.mv-card {

    background-color: #fff;

    padding: 40px;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    text-align: center;

    transition: transform 0.3s ease;

}



.mv-card:hover {

    transform: translateY(-5px);

}



.mv-icon {

    font-size: 3rem;

    color: #2c3e50;

    margin-bottom: 20px;

}



.mision .mv-icon {

    color: #3498db;

}



.vision .mv-icon {

    color: #e74c3c;

}



.mv-card h3 {

    color: #2c3e50;

    margin-bottom: 20px;

    font-size: 1.8rem;

}



.mv-card p {

    line-height: 1.7;

    color: #666;

}



.valores {

    padding: 80px 0;

    background-color: #fff;

}



.valores h2 {

    text-align: center;

    color: #2c3e50;

    font-size: 2.5rem;

    margin-bottom: 20px;

}



.valores-intro {

    text-align: center;

    color: #666;

    font-size: 1.1rem;

    margin-bottom: 50px;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

}



.valores-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

}



.valor-card {

    background-color: #f8f9fa;

    padding: 30px;

    border-radius: 10px;

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    border: 1px solid #e9ecef;

}



.valor-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}



.valor-icon {

    font-size: 2.5rem;

    color: #2c3e50;

    margin-bottom: 20px;

    width: 80px;

    height: 80px;

    background-color: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px auto;

    box-shadow: 0 4px 8px rgba(0,0,0,0.1);

    background-image: url('images/log.png');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}



.valor-card h4 {

    color: #2c3e50;

    margin-bottom: 15px;

    font-size: 1.3rem;

}



.valor-card p {

    line-height: 1.6;

    color: #666;

}



/* Responsive Design */

@media screen and (max-width: 768px) {

    .nav-links {

        position: absolute;

        right: 0px;

        height: 92vh;

        top: 8vh;

        background-color: #fff;

        display: flex;

        flex-direction: column;

        align-items: center;

        width: 50%;

        transform: translateX(100%);

        transition: transform 0.5s ease-in;

        box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    }



    .nav-links li {

        margin: 20px 0;

    }



    .burger {

        display: block;

    }



    .nav-active {

        transform: translateX(0%);

    }



    .hero-content h2 {

        font-size: 2rem;

    }



    .hero-content p {

        font-size: 1rem;

    }



    .services-grid {

        grid-template-columns: 1fr;

    }



    .contact-content {

        grid-template-columns: 1fr;

    }



    .carousel-btn {

        display: none;

    }



    .client-logo {

        min-width: 150px;

    }

}



@media screen and (max-width: 480px) {

    .hero-content h2 {

        font-size: 1.5rem;

    }



    .client-logo {

        min-width: 120px;

        font-size: 12px;

    }



    .floating-logo {

        top: 10px;

        left: 10px;

    }



    .floating-logo img {

        width: 50px;

    }



    .logo-text {

        font-size: 18px;

    }

}

/* Maquinarias Catalog Styles */
.maquinarias-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/maquinarias-banner.jpg') center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 70px;
}

.maquinarias-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.maquinarias-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.maquinarias-catalog {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.catalog-filters {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-secondary {
    display: inline-block;
    background-color: #95a5a6;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.results-count {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.maquinarias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.maquinaria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.maquinaria-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.maquinaria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-destacado {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f39c12;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.badge-estado {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.badge-disponible {
    background: #27ae60;
}

.badge-vendido {
    background: #e74c3c;
}

.badge-mantenimiento {
    background: #f39c12;
}

.maquinaria-info {
    padding: 20px;
}

.maquinaria-categoria {
    display: inline-block;
    color: #3498db;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.maquinaria-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.maquinaria-descripcion {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.maquinaria-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.maquinaria-specs span {
    color: #7f8c8d;
    font-size: 14px;
}

.maquinaria-specs i {
    margin-right: 5px;
    color: #3498db;
}

.maquinaria-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.maquinaria-precio {
    font-size: 1.5rem;
    font-weight: bold;
    color: #27ae60;
}

.btn-ver-mas {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-ver-mas:hover {
    background: #2980b9;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-link.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

/* Maquinaria Detail Page */
.maquinaria-detail {
    padding: 100px 0 80px;
    background: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #7f8c8d;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-gallery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

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

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

.thumbnail-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid #ddd;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-gallery img:hover {
    border-color: #3498db;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.detail-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.detail-categoria {
    display: inline-block;
    color: #3498db;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-header h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2rem;
}

.detail-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-price {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.price-label {
    display: block;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #27ae60;
}

.detail-specs-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.spec-item i {
    font-size: 2rem;
    color: #3498db;
}

.spec-label {
    display: block;
    color: #7f8c8d;
    font-size: 14px;
}

.spec-value {
    display: block;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.1rem;
}

.detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

.detail-tabs {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #ecf0f1;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.caracteristicas-list {
    list-style: none;
    padding: 0;
}

.caracteristicas-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.caracteristicas-list i {
    color: #27ae60;
    font-size: 1.2rem;
}

.nav-links a.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

/* Responsive Maquinarias */
@media screen and (max-width: 768px) {
    .maquinarias-hero h1 {
        font-size: 2rem;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
    }
    
    .maquinarias-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .detail-specs-summary {
        grid-template-columns: 1fr;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .tabs-header {
        flex-direction: column;
    }
}