/* Base Styles */
:root {
    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-200: #fde68a;
    --color-amber-300: #fcd34d;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    --color-amber-800: #92400e;
    --color-amber-900: #78350f;
    --color-white: #ffffff;
    --color-black: #000000;
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-amber-900);
    background-color: #F2F2F2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: #3C4959;
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #728EA6;
}

.section {
    padding: 0rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: #CC0000;
    text-align: center

}

/* Navbar */
.navbar {
    background-color:white;
    border-bottom: 3px solid #CC0000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}


.logoIMG {
    margin-top: 80px;
    width: 400px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav a {
    color: #CC0000;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: #808080;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #F2F2F2;
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: #F2F2F2;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--color-amber-200);
}

.mobile-menu.active {
    display: flex;
}

/* Slider */
.slider-container {
    position: relative;
    margin: 0 auto 2rem;
    overflow: hidden;
}

/* Full width slider */
.slider-container.full-width {
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
}

.slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.full-width .slider {
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

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

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-amber-800);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-amber-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-amber-600);
}

/* About Text */
.about-text {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center; 

}

.about-text h3 {
    font-size: 2.5rem;
    color: #CC0000;
    text-align: justify
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #808080;
    text-align: justify;
}

/* Products Section */
.products-section {
    background-color: var(--color-white);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-top: 20px;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: transparent;
    border: 1px solid #CC0000;
    color: #2A3140;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: #dfdfdf;
    color: #CC0000;
}

.filter-btn.active {
    background-color:#CC0000;
    color: var(--color-white);
    border-color: #AEB7BF;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.product-card {
    border: 1px solid#CC0000;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-white);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

.product-category {
    display: inline-block;
    background-color: #CC0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    color: #CC0000;
    margin-bottom: 0.5rem;
}

.product-description {
    color:#808080;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-amber-100);
}

.product-price {
    font-weight: 700;
    color: var(--color-amber-900);
}

/* Footer */
.footer {
    background-color: #CC0000;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-column p {
    margin-bottom: 1rem;
}

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

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--color-white);
}

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

.footer-column ul li a {
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-white);
}

.footer-column address {
    font-style: normal;
}

.footer-column address p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid white;
}

/* Responsive Styles */
@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .full-width .slider {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .full-width .slider {
        height: 250px;
    }
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Espacio opcional debajo de la imagen */
}