/* ================================
   RESET Y ESTILOS GENERALES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ================================
   HEADER Y HERO
   ================================ */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-hero {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Customer Support */
.customer-support {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-support i {
    font-size: 2rem;
    color: #D4AF37;
}

.content-customer-support {
    display: flex;
    flex-direction: column;
}

.content-customer-support .text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

.content-customer-support .number {
    font-size: 0.85rem;
    color: #333;
}

/* Logo */
.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 80px;           /* Ajusta según el tamaño de tu logo */
    width: auto;            /* Mantiene proporción */
    max-width: 200px;       /* Máximo ancho */
    object-fit: contain;    /* No distorsiona */
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Si el logo tiene fondo transparente y quieres agregar sombra */
.header-logo-shadow {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Logo texto de respaldo */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #D4AF37;
    text-decoration: none;
}

/* Responsive - Logo más pequeño en móvil */
@media (max-width: 768px) {
    .header-logo {
        height: 45px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 35px;
        max-width: 120px;
    }
}

/* ================================
   NAVBAR - MENÃš DE NAVEGACIÃ“N
   ================================ */
.container-navbar {
    position: relative;
    background-color: #fff;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Icono de menÃº hamburguesa */
.navbar #menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
    z-index: 1001;
}

.navbar #menu-toggle:hover {
    color: #D4AF37;
}

.navbar #menu-toggle.active {
    color: #D4AF37;
}

/* MenÃº en desktop */
.navbar .menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar .menu li {
    margin: 0;
}

.navbar .menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
}

.navbar .menu li a:hover {
    color: #D4AF37;
    background-color: #FFF9E6;
}

/* ================================
   RESPONSIVE - MENÃš MÃ“VIL
   ================================ */
@media (max-width: 768px) {
    .navbar #menu-toggle {
        display: block;
    }
    
    .navbar .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }
    
    .navbar .menu.active {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 0;
    }
    
    .navbar .menu li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar .menu li:last-child {
        border-bottom: none;
    }
    
    .navbar .menu li a {
        padding: 1rem 2rem;
    }
    
    .navbar .menu li a:hover {
        background-color: #FFF9E6;
    }

    /* Ajustes del hero en mÃ³vil */
    .hero {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .customer-support {
        flex-direction: column;
    }
}

/* ================================
   BANNER / VIDEO SECTION
   ================================ */
.banner {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.content-banner p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/*
.capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
} */

/* ================================
   FEATURES / CARACTERÃSTICAS
   ================================ */
.container-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.card-feature {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-feature i {
    font-size: 2.5rem;
    color: #D4AF37;
}

.feature-content span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
}

/* ================================
   PRODUCTOS / VEHÃCULOS
   ================================ */
.top-products {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.heading-1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.container-options {
    text-align: center;
    margin-bottom: 40px;
}

.container-options span {
    display: inline-block;
    padding: 10px 30px;
    background-color: #D4AF37;
    color: white;
    border-radius: 25px;
    font-weight: 600;
}

.container-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-product {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.container-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.container-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.content-card-product {
    padding: 20px;
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.content-card-product h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 1rem;
    color: #666;
}

/* ================================
   GALLERY / GALERÃA
   ================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    padding: 80px 20px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.gallery-img-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.gallery-img-2 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.gallery-img-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.gallery-img-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.gallery-img-5 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

/* ================================
   SERVICES / SERVICIOS ESPECIALES
   ================================ */
.specials {
    padding: 60px 20px;
}

.button-group {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-product:hover .button-group {
    opacity: 1;
}

.button-group span {
    background-color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-group span:hover {
    background-color: #D4AF37;
    color: white;
}

/* ================================
   BLOGS
   ================================ */
.blogs {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.container-blogs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-blog {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-blog:hover {
    transform: translateY(-5px);
}

.card-blog .container-img {
    position: relative;
    height: 250px;
}

.button-group-blog {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-blog:hover .button-group-blog {
    opacity: 1;
}

.button-group-blog span {
    background-color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.content-blog {
    padding: 20px;
}

.content-blog h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.content-blog span {
    color: #666;
    font-size: 0.9rem;
}

.content-blog p {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #D4AF37;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #B8860B;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 20px 20px;
}

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

.menu-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.title-footer {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.menu-footer ul {
    list-style: none;
}

.menu-footer ul li {
    margin-bottom: 10px;
}

.menu-footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-footer ul li a:hover {
    color: #D4AF37;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons span {
    width: 40px;
    height: 40px;
    background-color: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.social-icons span:hover {
    background-color: #D4AF37;
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin: 15px 0 10px;
}

.newsletter button {
    width: 100%;
    padding: 12px;
    background-color: #D4AF37;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #B8860B;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* ================================
   RESPONSIVE ADICIONAL
   ================================ */
@media (max-width: 992px) {
    .content-banner h2 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-img-1,
    .gallery-img-2,
    .gallery-img-5 {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .heading-1 {
        font-size: 1.8rem;
    }
    
    .content-banner h2 {
        font-size: 1.5rem;
    }
    
    .content-banner p {
        font-size: 1rem;
    }
    
    .banner {
        height: 300px;
    }
    
    .container-features {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .gallery img {
        grid-column: 1;
        grid-row: auto;
    }
}