/*
* Nombre: styles.css
* Ruta: /assets/styles.css
* Fecha de creación: 30/04/2025
* Créditos: Creado por Mvisual
*/

/* Variables */
:root {
    --color-primary: #faa014;
    --color-secondary: #514538;
    --color-tertiary: #b8a99a;
    --color-white: #ffffff;
    --font-family: 'Roboto', sans-serif;
}

/* Estilos generales */
body {
    font-family: var(--font-family);
    background-image: linear-gradient(to top, #ab6800, #be7604, #d28309, #e6920f, #faa014);
    background-attachment: fixed;
    color: #333;
    padding-top: 70px;
    /* Para el navbar fijo */
}

a {
    text-decoration: none !important;
}

.section-title {
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.2rem;
    position: relative;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e89000;
    border-color: #e89000;
    box-shadow: 0 5px 15px rgba(250, 160, 20, 0.3);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(250, 160, 20, 0.3);
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--color-white);
    color: var(--color-secondary);
}

.contact-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Navbar */
.navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    padding: 5px 0;
}

.navbar .nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    padding: 1rem 1rem;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-item.active .nav-link {
    color: var(--color-primary);
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: var(--color-secondary);
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #f8f9fa;
    color: var(--color-primary);
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-contact a {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--color-white);
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--color-primary);
}

.navbar-contact a i {
    margin-right: 5px;
}

.navbar-contact a:hover {
    background-color: var(--color-secondary);
}

/* Banner Carousel */
.carousel-container {
    position: relative;
    margin-top: -10px;
    margin-bottom: 0;
}

.slick-carousel {
    width: 100%;
    position: relative;
}

.banner-slide {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 15%;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    color: var(--color-white);
    max-width: 600px;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Welcome Section */
/* Banner Tienda Online - destacado */
.banner-tienda-section {
    background-color: var(--color-white);
}
.banner-tienda-link {
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.banner-tienda-link:hover {
    opacity: 0.95;
}
.banner-tienda-link:hover .banner-tienda-img {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.banner-tienda-img {
    display: block;
    width: 100%;
    height: auto;
}

.welcome-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}

/* Services & Products Cards */
.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: rgba(250, 160, 20, 0.1);
}

.service-card .icon-container i {
    font-size: 2rem;
    color: var(--color-primary);
}

.service-card h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Partners & Brands */
.brand-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.brand-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-secondary);
    padding: 3rem 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--color-primary);
}

.form-label {
    color: var(--color-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: #aaa;
}

/* Modal */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-bottom: none;
}

.modal-header .btn-close {
    color: var(--color-white);
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
}

/* Nuestra Empresa Page */
.page-header {
    position: relative;
    padding: 5rem 0 3rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
}

.page-header .breadcrumb {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: #ddd;
}

.page-header .breadcrumb-item.active {
    color: var(--color-primary);
}

.company-section {
    background-color: var(--color-white);
    padding: 3rem 0;
}

.company-values {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.value-card {
    width: 300px;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Clientes Section */
.clients-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.client-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.client-logo img {
    max-width: 80%;
    max-height: 60px;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}

/* Servicios Page */
.service-detail {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.service-detail-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-detail-content {
    padding: 2rem;
}

.service-detail-content h2 {
    color: var(--color-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Productos Page */
.product-category {
    margin-bottom: 5rem;
}

.product-category-title {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 2rem;
}

.product-item {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background-color: #f8f9fa;
}

.product-item-content {
    padding: 1.5rem;
}

.product-item-content h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-item-content .product-brand {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Contacto Page */
.contact-info-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-card .icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: rgba(250, 160, 20, 0.1);
}

.contact-info-card .icon-container i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-info-card h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .banner-slide {
        height: 500px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--color-white);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-contact {
        margin-top: 1rem;
        justify-content: center;
    }

    .banner-slide {
        height: 400px;
        padding: 0 10%;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .banner-slide {
        height: 350px;
        padding: 0 5%;
    }

    .banner-content {
        text-align: center;
        max-width: 100%;
    }

    .banner-content h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .map-container {
        height: 300px;
    }
}