/*botones*/
.btn-whatsapp {
    background: #0ccf26;
    color: var(--white);
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
}

.btn-whatsapp-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: #25D366;
    color: var(--white);
}

.btn-view {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-view:hover {
    background: #A01729;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 500;
}

.btn-phone:hover {
    background: #A01729;
}

/* ===========================
   Secciones (Mobile First)
   =========================== */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}
/* ===========================
   About Section (Mobile First)
   =========================== */
.about {
    background: var(--light-gray);
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===========================
   Productos Destacados (Mobile First) - OPTIMIZADO
   =========================== */
.featured-products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 100%; /* Aspect ratio 1:1 */
}

.product-image img,
.product-image picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* ===========================
   Locations (Mobile First)
   =========================== */
.locations {
    background: var(--light-gray);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

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

.icono-ubicacion {
    color:var(--light-color)
}


.location-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.location-address {
    margin-bottom: 1rem;
    color: var(--gray);
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    font-weight: 600;
}

.location-phone:hover {
    color: #1EBE57;
}

.hours-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

.hours-info h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.hour-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.day {
    font-weight: 600;
    color: var(--dark-color);
}

.time {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===========================
   CTA Section (Mobile First)
   =========================== */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

/* ===========================
   Footer (Mobile First)
   =========================== */
.footer {
    background: #4A3628;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-logo h3 {
    color: var(--auxiliar-color);
}

.footer-description {
    margin-bottom: 1rem;
    color: #CCC;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}


.footer-column h4 {
    color: var(--auxiliar-color);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
 margin-top: 0.5rem;
    display: flex;
    flex-direction: row;
    gap:5px;
}

.footer-links a {
    color: #CCC;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-hours h5 {
    color: var(--auxiliar-color);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #AAA;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Media Queries - Tablet (min-width: 481px)
   =========================== */
@media (min-width: 481px) {
   
    .section-title {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logo img {
        width: 120px;
    }
}

/* ===========================
   Media Queries - Desktop (min-width: 769px)
   =========================== */
@media (min-width: 769px) {
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    /* About Section Desktop */
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-text p {
        font-size: 1.1rem;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Products Desktop */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-info h3 {
        font-size: 1.5rem;
    }

    /* Locations Desktop */
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* CTA Desktop */
    .cta-section {
        padding: 100px 0 60px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: row;
    }

    /* Footer Desktop */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-logo img {
        width: 150px;
    }
}

/* ===========================
   Optimizaciones de rendimiento
   =========================== */
/* Reducir motion para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
