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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #181818;
    background-color: #f7f7f7;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #181818;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid #ffd700;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    background: transparent;
}



.nav-logo h2 {
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.nav-logo i {
    margin-right: 0.5rem;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffd700 !important;
    font-weight: bold;
    border-bottom: 2px solid #ffd700;
}

.cart-btn {
    background: #ffd700;
    color: #181818;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffd700" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #181818;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.floating-card h3 {
    color: #ffd700;
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #fff;
}

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

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    border-color: #ffd700;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-image {
    width: 100%;
    height: 200px;
    background: #333333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.product-image img:not([src]), 
.product-image img[src=""],
.product-image img[src*="undefined"] {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181818;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-image img:not([src])::after, 
.product-image img[src=""]::after,
.product-image img[src*="undefined"]::after {
    content: "Imagen no disponible";
}

.product-image i {
    font-size: 3rem;
    color: #ffd700;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.product-info h3 {
    color: #181818;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 1rem;
}

.add-to-cart {
    background: #ffd700;
    color: #181818;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: #ffed4e;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.product-img-clickable {
    pointer-events: auto;
    z-index: 2;
}

/* About Section */
.about {
    padding: 2.5rem 0 5rem 0;
    background: #181818;
    margin-top: -1.5rem;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: url('about-bg.jpg') center center / cover no-repeat;
    filter: blur(10px) brightness(0.5);
    opacity: 0.7;
    z-index: 0;
}
.about > .container, .about-content, .about-text, .about-image {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #222;
    border: 1px solid #ffd70033;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #fff;
}

.feature:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #eee;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #1a1a1a, #333333);
    border: 3px solid #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
}

.image-placeholder i {
    font-size: 4rem;
    color: #ffd700;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #ffd70033;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #181818;
}

.contact-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #ffd700;
    min-width: 30px;
}

.contact-item h4 {
    color: #181818;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: #fff;
    border: 2px solid #181818;
    border-radius: 10px;
    color: #181818;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888888;
}

.submit-btn {
    background: #ffd700;
    color: #181818;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* Shopping Cart */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #fff;
    border-left: 2px solid #ffd700;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-overlay.active {
    right: 0;
}

.cart {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #333333;
}

.cart-header h3 {
    color: #181818;
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: #ffd700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #ffed4e;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7f7f7;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    color: #181818;
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    color: #444;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #ffd700;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #ffd700;
    color: #181818;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.remove-item {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #333333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-total span:first-child {
    color: #cccccc;
}

.cart-total span:last-child {
    color: #ffd700;
}

.checkout-btn {
    width: 100%;
    background: #ffd700;
    color: #181818;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #181818;
    padding: 3rem 0 1rem;
    border-top: 2px solid #ffd700;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul li a {
    color: #fff;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #333333;
    color: #ffd700;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #000000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    color: #ccc;
}

/* Hero Section - Clean and Elegant Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%),
        radial-gradient(circle at 20% 80%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,215,0,0.1) 0%, transparent 50%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 70vh;
    padding: 0 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    max-width: 100%;
    animation: fadeInUp 1s ease-out;
    min-width: 400px;
    padding: 3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-width: 350px;
    height: auto;
    transition: all 0.3s ease;
    background: #181818;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.hero-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #181818 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-title-sub {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: #ffd700;
    color: #181818;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.hero-btn.primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: transparent;
    color: #181818;
    border: 2px solid #181818;
}

.hero-btn.secondary:hover {
    background: #181818;
    color: #fff;
}

.hero-btn i {
    font-size: 1.1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
    min-width: 400px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text-right {
    max-width: 100%;
    padding: 3rem;
    text-align: left;
    min-width: 400px;
}

.hero-text-right h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #181818;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text-right p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.hero-text-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-text-right li {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.hero-text-right li::before {
    content: "•";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}



.hero-main-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.dot:hover {
    background: rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-main-image {
    position: absolute;
    width: 100%;
    max-width: 600px;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
    object-fit: contain;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid rgba(255,215,0,0.2);
    padding: 1rem;
    opacity: 0;
    transform: scale(0.9);
}

.hero-main-image.active {
    opacity: 1;
    transform: scale(1);
}

.hero-main-image:not([src]), 
.hero-main-image[src=""],
.hero-main-image[src*="undefined"] {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181818;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-main-image:not([src])::after, 
.hero-main-image[src=""]::after,
.hero-main-image[src*="undefined"]::after {
    content: "Compresor Industrial";
}

.hero-stats {
    display: flex;
    gap: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.95) 100%);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Hero */
@media (max-width: 1200px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title-main {
        font-size: 3rem;
    }
    
    .hero-title-sub {
        font-size: 1.6rem;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .hero-logo-img {
        max-width: 280px;
        padding: 0.8rem;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 200px;
    }
    
    .hero-text-right {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .hero-text-right h2 {
        font-size: 2rem;
    }
    
    .hero-text-right p {
        font-size: 1rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        justify-content: center;
        gap: 2rem;
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.2rem;
    }
    
    .hero-logo-img {
        max-width: 220px;
        padding: 0.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 150px;
    }
    
    .hero-text-right {
        max-width: 100%;
        padding: 1rem;
    }
    
    .hero-text-right h2 {
        font-size: 1.8rem;
    }
    
    .hero-text-right p {
        font-size: 0.9rem;
    }
    
    .spec-item {
        padding: 0.8rem;
    }
    
    .spec-value {
        font-size: 1rem;
    }
    
    .spec-label {
        font-size: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    

    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-overlay {
        width: 100%;
        right: -100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    

    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .floating-card i {
        font-size: 2rem;
    }
} 

.three-images-section {
    background: #fffbe6;
    padding: 2.5rem 0 2.5rem 0;
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.three-images-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.image-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 4px #ffd70022;
    padding: 1.5rem 1rem 1.2rem 1rem;
    text-align: center;
    width: 320px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.image-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(255,215,0,0.13);
}

.image-card:first-child .image-text {
    color: #fff;
}
.image-card:nth-child(2) .image-text,
.image-card:nth-child(3) .image-text {
    color: #fff;
}

.three-img {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.1rem;
    background: #222;
}

.image-text {
    color: #181818;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.image-card, .image-card * {
    color: #181818 !important;
}

@media (max-width: 1000px) {
    .three-images-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .image-card {
        width: 90vw;
        max-width: 400px;
    }
} 

.modern-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.divider-svg {
    display: block;
    width: 100%;
    height: 80px;
    min-height: 40px;
} 

.gold-divider {
    border: none;
    border-top: 3px solid #ffd700;
    width: 120px;
    margin: 2.5rem auto 2.5rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(255,215,0,0.10);
    background: transparent;
} 

.gradient-divider {
    width: 100vw;
    max-width: 100vw;
    height: 7px;
    margin: 4.5rem 0 2.5rem 0;
    border-radius: 0;
    background: linear-gradient(90deg, #fffbe6 0%, #ffd700 20%, #ffd700 80%, #fffbe6 100%);
    box-shadow: 0 2px 12px rgba(255,215,0,0.10);
    opacity: 0.97;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
} 

.about-logo-rotating {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    animation: rotate 20s linear infinite;
} 

/* === Áreas de Uso === */
.areas-uso {
    background: #fff;
    padding: 4rem 0;
    position: relative;
}

.areas-uso::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, rgba(255,215,0,0.02) 100%);
    pointer-events: none;
}

.areas-uso > .container, .areas-grid, .area-item {
    position: relative;
    z-index: 1;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns */
    gap: 2rem;
    margin-top: 3rem;
}

.area-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.area-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(255,215,0,0.3);
}

.area-item:hover::before {
    transform: scaleX(1);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(255,215,0,0.3);
    transition: all 0.3s ease;
}

.area-icon i {
    font-size: 2rem;
    color: #181818;
    transition: all 0.3s ease;
}

.area-item:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(255,215,0,0.4);
}

.area-item:hover .area-icon i {
    transform: scale(1.1);
}

.area-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #181818;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.area-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* === Testimonios (Comentarios de Clientes) === */
.testimonios {
    padding: 4rem 0 5rem 0;
    background: #181818;
    position: relative;
    overflow: hidden;
}
.testimonios::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('fondo_testimonios.jpg') center/cover no-repeat;
    filter: blur(4px) brightness(0.7);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    background-attachment: scroll;
}
.testimonios > .container, .testimonios-grid, .testimonio {
    position: relative;
    z-index: 1;
}
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.testimonio {
    background: #222;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #ffd70033;
    color: #fff;
}
.testimonio:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(255,215,0,0.10);
    border-color: #ffd70077;
}
.testimonio-icon {
    font-size: 3.2rem;
    color: #ffd700;
    margin-bottom: 1.1rem;
}
.testimonio-text {
    color: #181818;
    font-size: 1.13rem;
    margin-bottom: 1.2rem;
    font-style: italic;
    line-height: 1.7;
}
.testimonio-nombre {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.05rem;
} 

/* === Botón flotante de WhatsApp === */
.whatsapp-float-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 3000;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.whatsapp-float-btn:hover {
    background: #1ebe57;
    transform: scale(1.08);
    color: #fff;
} 

/* Lightbox global para imágenes de productos y galería */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px #ffd70055, 0 0 0 6px #ffd70033;
    background: #222;
    object-fit: contain;
    animation: fadeInUp 0.5s;
}
.lightbox-close {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 2.5rem;
    color: #ffd700;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3100;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #fff;
}
@media (max-width: 600px) {
    .lightbox-img { max-width: 98vw; max-height: 60vh; }
    .lightbox-close { top: 18px; right: 18px; font-size: 2rem; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
} 

/* Tarjetas del medio en negro en la grilla de productos */
.products-grid .product-card:nth-child(3n+2) {
    background: #181818 !important;
    color: #fff !important;
    border: 2px solid #222 !important;
}
.products-grid .product-card:nth-child(3n+2) .product-info h3,
.products-grid .product-card:nth-child(3n+2) .product-price {
    color: #ffd700 !important;
}
.products-grid .product-card:nth-child(3n+2) .product-info p {
    color: #eee !important;
}
.products-grid .product-card:nth-child(3n+2) .add-to-cart {
    background: #ffd700 !important;
    color: #181818 !important;
} 

/* Estilos para galería de producto y layout moderno */
.product-detail-container {
    max-width: 1100px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    overflow: visible;
    z-index: 1;
}
.product-gallery {
    flex: 1 1 350px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.product-main-img {
    width: 100%;
    max-width: 400px;
    height: 340px;
    object-fit: contain;
    border-radius: 14px;
    background: #f7f7f7;
    box-shadow: 0 2px 12px #0002;
    border: 2px solid #eee;
    transition: box-shadow 0.2s;
}
.product-thumbs {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.product-thumb {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
    background: #fff;
}
.product-thumb.selected, .product-thumb:hover {
    border: 2px solid #ffd700;
    box-shadow: 0 2px 8px #ffd70033;
}
.product-detail-info {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.product-detail-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #181818;
    margin-bottom: 0.7rem;
}
.product-detail-desc {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.2rem;
}
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1.2rem auto 2rem auto;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 0.7rem;
    border-radius: 10px;
    text-decoration: none;
    max-width: 320px;
    transition: background 0.2s;
}
.whatsapp-btn:hover {
    background: #1ebe57;
}
.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #fff;
    background: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: background 0.2s, color 0.2s;
}
.back-link:hover {
    background: #181818;
    color: #ffd700;
    border: 2px solid #ffd700;
}
@media (max-width: 900px) {
    .product-detail-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    .product-gallery {
        max-width: 100vw;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on medium screens */
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .area-item {
        padding: 1.5rem;
    }
    
    .area-icon {
        width: 60px;
        height: 60px;
    }
    
    .area-icon i {
        font-size: 1.5rem;
    }
    
    .area-item h3 {
        font-size: 1.1rem;
    }
    
    .area-item p {
        font-size: 0.9rem;
    }
} 