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

:root {
    --primary-color: #00CED1;
    --secondary-color: #000000;
    --accent-color: #0000FF;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
    --gradient-primary: linear-gradient(135deg, #00CED1 0%, #00A8AA 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 206, 209, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
}

/* Enhanced Neon Border Frame Around Viewport - Thick, Rounded & Diffused */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid var(--primary-color);
    border-radius: 0;
    box-shadow:
        /* Inner glow - soft and diffused */
        inset 0 0 30px rgba(0, 206, 209, 0.4),
        inset 0 0 60px rgba(0, 206, 209, 0.2),
        inset 0 0 90px rgba(0, 206, 209, 0.1),
        /* Outer glow - multiple layers for diffusion */
        0 0 20px rgba(0, 206, 209, 0.6),
        0 0 40px rgba(0, 206, 209, 0.4),
        0 0 60px rgba(0, 206, 209, 0.3),
        0 0 80px rgba(0, 206, 209, 0.2),
        0 0 100px rgba(0, 206, 209, 0.1);
    pointer-events: none;
    z-index: 9998;
    animation: neonPulse 4s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow:
            inset 0 0 30px rgba(0, 206, 209, 0.4),
            inset 0 0 60px rgba(0, 206, 209, 0.2),
            inset 0 0 90px rgba(0, 206, 209, 0.1),
            0 0 20px rgba(0, 206, 209, 0.6),
            0 0 40px rgba(0, 206, 209, 0.4),
            0 0 60px rgba(0, 206, 209, 0.3),
            0 0 80px rgba(0, 206, 209, 0.2),
            0 0 100px rgba(0, 206, 209, 0.1);
    }

    50% {
        box-shadow:
            inset 0 0 40px rgba(0, 206, 209, 0.6),
            inset 0 0 80px rgba(0, 206, 209, 0.3),
            inset 0 0 120px rgba(0, 206, 209, 0.15),
            0 0 30px rgba(0, 206, 209, 0.8),
            0 0 60px rgba(0, 206, 209, 0.6),
            0 0 90px rgba(0, 206, 209, 0.4),
            0 0 120px rgba(0, 206, 209, 0.3),
            0 0 150px rgba(0, 206, 209, 0.2);
    }
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 70px;
    width: auto;
    padding: 4px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.9);
    box-shadow:
        0 0 10px rgba(0, 206, 209, 0.5),
        0 0 20px rgba(0, 206, 209, 0.3),
        inset 0 0 10px rgba(0, 206, 209, 0.1);
    transition: all 0.3s ease;
}

.logo:hover {
    box-shadow:
        0 0 15px rgba(0, 206, 209, 0.8),
        0 0 30px rgba(0, 206, 209, 0.5),
        inset 0 0 15px rgba(0, 206, 209, 0.2);
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.whatsapp-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.whatsapp-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.5);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('logo chirulingo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.08;
    }

    50% {
        transform: translate(-50%, -52%) scale(1.05);
        opacity: 0.12;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Hero Side Images */
.hero-side-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 350px;
    width: 25%;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.hero-side-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 206, 209, 0.3);
    border: 2px solid rgba(0, 206, 209, 0.3);
    transition: all 0.4s ease;
}

.hero-side-image:hover {
    opacity: 1;
}

.hero-side-image:hover img {
    transform: scale(1.05);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 206, 209, 0.5);
}

.hero-side-left {
    left: 15%;
}

.hero-side-right {
    right: 15%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 206, 209, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--text-light);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Section Styles */
.section-maquinaria,
.section-variedades {
    padding: 5rem 0;
}

.section-maquinaria {
    background: var(--bg-light);
}

.section-variedades {
    background: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.variedades-banner {
    max-width: 600px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Coming Soon Card */
.coming-soon-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--text-light);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.coming-soon-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.coming-soon-card p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Quienes Somos Section Styles */
.section-quienes-somos {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.quienes-somos-card {
    background: var(--text-light);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 3px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quienes-somos-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 206, 209, 0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 206, 209, 0.3));
}

.quienes-somos-card h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.quienes-somos-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.quienes-somos-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.quienes-somos-card strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .quienes-somos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quienes-somos-card {
        padding: 2rem;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Product Carousel */
.product-carousel {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    cursor: zoom-in;
}

.product-image.active {
    opacity: 1;
    z-index: 1;
}

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

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 206, 209, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0, 206, 209, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.5);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn svg {
    color: white;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 206, 209, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 206, 209, 0.8);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-btn {
    margin-top: auto;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.product-actions .btn-secondary {
    color: var(--primary-color);
    font-weight: 600;
}

.product-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: block;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-light);
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--text-light);
    padding: 20px 0;
    font-size: 1.2rem;
}

/* Quienes Somos Section */
.section-quienes-somos {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* Contact Section */
.section-contact {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 206, 209, 0.1);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-text p {
    opacity: 0.7;
    margin: 0.25rem 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    color: white;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .whatsapp-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Hide side images on mobile/tablet */
    .hero-side-image {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 0 10px;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* Carousel buttons always visible on mobile/tablet */
    .carousel-btn {
        opacity: 1;
        width: 45px;
        /* Larger touch target */
        height: 45px;
        background: rgba(0, 206, 209, 0.95);
        /* Slightly more opaque */
    }

    .product-carousel:hover .carousel-btn {
        opacity: 1;
    }
}

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

    .feature-card {
        padding: 1.5rem;
    }

    .product-card {
        margin: 0;
        /* Remove side margins to full width */
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* Full width cards on small mobile */
        gap: 1.5rem;
    }

    .contact-cta {
        padding: 2rem 1.5rem;
    }

    .btn,
    .product-btn {
        width: 100%;
        /* Full width buttons for easier tapping */
        justify-content: center;
        padding: 1rem;
    }

    /* Ensure clear visibility of carousel controls */
    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(0, 206, 209, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 1000px 100%;
}

/* Hide scroll indicator to avoid black dot on border */
.hero-scroll {
    display: none !important;
}

/* Testimonials Section */
.section-testimonials {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 206, 209, 0.05), transparent 40%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 206, 209, 0.15);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial-info h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-testimonials {
        padding: 50px 0;
    }

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

/* Search and Filter Styles - Mobile Optimized */
.search-container {
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.search-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background: transparent;
}

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

.filter-btn {
    padding: 8px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 206, 209, 0.3);
}

@media (max-width: 768px) {
    .search-container {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .filter-buttons {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        /* Horizontal scroll on mobile */
    }

    .filter-btn {
        flex: 0 0 auto;
        /* Don't shrink */
        white-space: nowrap;
        font-size: 0.9rem;
    }

    /* Hide scrollbar for cleaner look */
    .filter-buttons::-webkit-scrollbar {
        height: 4px;
    }

    .filter-buttons::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
}

/* Background Music Control */
.music-control {
    position: fixed;
    bottom: 120px;
    left: 30px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.music-control:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.7);
    background: rgba(0, 0, 0, 0.95);
}

.music-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.music-text {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.music-control.playing {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.music-control.playing .music-icon {
    background: linear-gradient(135deg, #00ff00 0%, #008000 100%);
    animation: bounceScale 1s ease-in-out infinite;
}

@keyframes bounceScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .music-control {
        bottom: 120px;
        left: 20px;
    }

    .music-text {
        display: none;
    }
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-modal.active {
    display: block;
    opacity: 1;
}

.modal-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #111;
    border: 1px solid var(--primary-color);
    border-radius: 24px;
    position: relative;
    padding: 40px;
    box-shadow: 0 0 50px rgba(0, 206, 209, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

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

    .modal-container {
        padding: 20px;
        margin-top: 40px;
    }
}

.modal-image-container {
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    position: relative;
    height: 450px;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.modal-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.modal-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-thumb.active {
    border-color: var(--primary-color);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}