﻿/* =========================
   GENERAL
========================= */

body {
    margin: 0;
    padding: 0;
    background: #1f1f1f;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
    background: #151515;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-link {
    color: #d0d0d0 !important;
    margin-left: 15px;
    font-size: 16px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: white !important;
    }

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82)), url("../img/fondo.jpg");
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* =========================
   LOGO EMPRESA
========================= */

.hero-company-logo {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .hero-company-logo img {
        width: 100%;
        max-width: 900px;
        object-fit: contain;
        filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    }

/* =========================
   SUBTITULO
========================= */

.hero-sub {
    font-size: 20px;
    color: #d8d8d8;
    margin-top: 10px;
}

/* =========================
   TEXTO PRESENTACION
========================= */

.hero-text {
    max-width: 900px;
    margin: auto;
    margin-top: 50px;
}

    .hero-text p {
        font-size: 20px;
        line-height: 1.9;
        color: #ececec;
    }

/* =========================
   ANIMACION
========================= */

.fade-in {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {

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

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

/* =========================
   BOTONES
========================= */

.btn {
    border-radius: 10px;
    padding: 12px 25px;
    font-size: 17px;
    font-weight: bold;
}

/* =========================
   TITULOS
========================= */

.section-title {
    font-size: 42px;
    font-weight: bold;
}

/* =========================
   MARCAS
========================= */

.brands-section {
    margin-top: 70px;
}

.brands-title {
    margin-bottom: 35px;
    font-size: 30px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.brand-card {
    background: rgba(255,255,255,0.06);
    padding: 25px;
    border-radius: 14px;
    transition: 0.3s;
}

    .brand-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.12);
    }

    .brand-card img {
        width: 100%;
        height: 90px;
        object-fit: contain;
    }

/* =========================
   PRODUCTOS
========================= */

.products-section {
    background: #e5e5e5;
    padding: 100px 0;
}

    .products-section .section-title {
        color: #111;
    }

.products-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.products-list {
    flex: 1;
    min-width: 320px;
}

.product-item {
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.9;
    color: #111;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid #c40000;
    transition: 0.3s;
}

    .product-item:hover {
        transform: translateX(5px);
    }

.products-image {
    flex: 1;
}

    .products-image img {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
        box-shadow: 0 0 20px rgba(0,0,0,0.15);
    }

/* =========================
   CLIENTES
========================= */

.clients-section {
    background: #2b2b2b;
    padding: 100px 0;
}

.clients-text {
    color: #d0d0d0;
    max-width: 850px;
    margin: auto;
    margin-bottom: 50px;
    font-size: 20px;
    line-height: 1.8;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.client-card {
    background: rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .client-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.12);
    }

    .client-card img {
        width: 100%;
        height: 90px;
        object-fit: contain;
    }

/* =========================
   GALERIA
========================= */

.gallery-section {
    background: #1f1f1f;
}

.carousel {
    max-width: 1100px;
    margin: auto;
}

.carousel-img {
    width: 100%;
    height: 650px;
    object-fit: contain;
    border-radius: 16px;
    background: #111;
}

.carousel-control-prev,
.carousel-control-next {
    font-size: 40px;
    color: white;
    opacity: 1;
    border: none;
    background: none;
}

/* =========================
   MAPA
========================= */

.map-section {
    background: #2b2b2b;
}

    .map-section iframe {
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }

/* =========================
   CONTACTO
========================= */

.contact-section {
    background: #1f1f1f;
    padding: 100px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background: rgba(255,255,255,0.05);
    color: white;
    padding: 30px;
    border-radius: 14px;
    font-size: 21px;
    line-height: 1.9;
}

/* =========================
   FOOTER
========================= */

.footer-section {
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 34px;
    z-index: 999;
    box-shadow: 0 0 15px rgba(0,0,0,0.35);
    transition: 0.3s;
}

    .whatsapp:hover {
        transform: scale(1.1);
        color: white;
    }

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 1200px) {

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 991px) {

    .navbar-nav {
        margin-top: 20px;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .products-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 34px;
    }

    .hero-company-logo img {
        max-width: 100%;
    }
}

@media(max-width: 768px) {

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

    .hero-sub {
        font-size: 17px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .product-item {
        font-size: 18px;
    }

    .carousel-img {
        height: 350px;
    }

    .contact-item {
        font-size: 18px;
    }
}
