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

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

/* Header */
header {
    background-color: #000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    height: 100px;
    position: static; /* Cambiado de fixed a static */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #007bff;
}

/* Ofertas Section */
.ofertas {
    background-color: #fff;
    padding: 0.5rem 0;
    text-align: center;
}

.ofertas-banner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ofertas-banner p {
    color: #000;
    font-size: 1.2rem;
    margin: 0;
    white-space: nowrap;
}

.ofertas-banner img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.btn-ofertas {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-ofertas:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: absolute;
    width: 100%;
    height: 600%;
    animation: slideVertical 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes slideVertical {
    0%, 16% {
        transform: translateY(0);
    }
    20%, 36% {
        transform: translateY(-16.666%);
    }
    40%, 56% {
        transform: translateY(-33.333%);
    }
    60%, 76% {
        transform: translateY(-50%);
    }
    80%, 96% {
        transform: translateY(-66.666%);
    }
    100% {
        transform: translateY(-83.333%);
    }
}

.carousel-track img {
    width: 100%;
    height: 16.666%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);
    z-index: 2;
    text-align: left;
    width: 100%;
    padding: 0 4rem;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    max-width: 900px;
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero h1 .word {
    display: flex;
    margin-right: 0.2rem; /* Espacio adicional entre palabras */
}

.hero h1 span {
    opacity: 0;
    display: inline-block;
    animation: splitLetterUp 0.5s ease forwards;
    transform: translateY(100%);
    margin-right: 1px; /* Espacio mínimo entre letras */
}

/* Asegurarse de que los espacios no tengan animación */
.hero h1 .word:empty {
    width: 0.5rem;
}

/* Eliminar el ::after original del h1 */
.hero h1::after {
    display: none;
}

/* Overlay para el texto */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* Features Section */
.features {
    max-width: 1400px; /* Reducido de 1800px a 1400px */
    margin: 0 auto;
    padding: 2rem;
}

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

.feature-item {
    position: relative;
    height: 600px; /* Aumentado altura para mantener proporción */
    overflow: hidden;
    max-width: 350px; /* Ancho máximo para cada item */
    margin: 0 auto; /* Centrar los items */
}

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

.feature-item:hover img {
    transform: scale(1.05);
}

.feature-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    text-align: center;
}

.feature-text h3 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 600;
}

/* Features Description Section */
.features-description {
    max-width: 1400px; /* Reducido de 1800px a 1400px */
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #000;
}

.description-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px; /* Contenedor interno más estrecho */
    margin: 0 auto;
}

.description-text {
    padding-right: 2rem;
}

.description-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #fff;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.description-image {
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
    max-width: 450px; /* Ancho máximo para la imagen */
    margin-left: auto; /* Empujar la imagen hacia la derecha */
}

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

.description-image:hover img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden; /* Para contener las imágenes cuando se expandan */
}

.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
    perspective: 1000px; /* Añade profundidad al efecto 3D */
}

.gallery-item {
    position: relative;
    width: 280px;
    height: 400px;
    margin-left: -100px;
    transition: all 0.5s ease;
    transform-origin: center;
    cursor: pointer;
}

/* Desorden inicial de las cartas */
.gallery-item:nth-child(1) {
    transform: rotate(-5deg);
}

.gallery-item:nth-child(2) {
    transform: rotate(3deg) translateY(-10px);
}

.gallery-item:nth-child(3) {
    transform: rotate(-2deg) translateY(5px);
}

.gallery-item:nth-child(4) {
    transform: rotate(4deg) translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Efecto hover mejorado */
.gallery-item:hover {
    transform: translateY(-50px) rotate(0deg) scale(1.1);
    z-index: 5;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Efecto en las cartas vecinas al hacer hover */
.gallery-item:hover ~ .gallery-item {
    transform: translateX(70px) rotate(5deg);
}

.btn-gallery {
    background-color: transparent;
    color: #fff;
    border: 2px solid #DAA520;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gallery:hover {
    background-color: #DAA520;
    color: #000;
}

/* Testimonials Section */
.testimonials {
    padding: 2rem;
    text-align: center;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* FAQ Section */
.faq {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.faq h2 {
    text-align: left;
    margin-bottom: 3rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden; /* Importante para la animación */
}

.accordion-button {
    width: 100%;
    padding: 1.5rem 1rem;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    color: #007bff;
}

.accordion-button .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-button.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1); /* Transición más suave */
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-10px);
}

.accordion-content.active {
    max-height: 1000px; /* Altura máxima aumentada */
    padding: 1.5rem 1rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.accordion-content p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.btn-faq {
    background-color: transparent;
    color: #fff;
    border: 2px solid #007bff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-faq:hover {
    background-color: #007bff;
    color: #fff;
}

.faq-right {
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
}

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

.faq-right:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #111;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h3,
.social-media h3 {
    color: #DAA520;
    margin-bottom: 1rem;
}

.social-media a {
    color: #fff;
    margin: 0 1rem;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #DAA520;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none; /* Agregar menú hamburguesa para móviles */
    }
}

/* Ajustes adicionales */
section {
    margin: 0; /* Eliminado el margin */
    padding: 0; /* Eliminado el padding */
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .description-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .description-text {
        padding-right: 0;
    }

    .description-image {
        height: 400px;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    .faq-right {
        height: 400px;
    }

    .ofertas-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .ofertas-banner img {
        height: 30px;
    }

    .btn-ofertas {
        padding: 0.5rem 1.5rem;
    }

    .hero-content {
        left: 20%;
        transform: translate(-20%, -50%);
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

/* Mantener solo la animación de las letras */
@keyframes splitLetterUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para la página de Galería */
.galeria-page {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.galeria-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

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

.galeria-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.8);
    color: #fff;
    transition: bottom 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    bottom: 0;
}

/* Estilos para la página de Accesorios */
.accesorios-page {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.accesorios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.accesorio-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.accesorio-card:hover {
    transform: translateY(-10px);
}

.accesorio-imagen {
    height: 250px;
    overflow: hidden;
}

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

.accesorio-info {
    padding: 2rem;
}

.accesorio-precio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-comprar {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-comprar:hover {
    background: #0056b3;
}

/* Estilos para la página de Servicios */
.servicios-page {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.servicio-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
}

.servicio-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.contacto-servicios {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
}

.contacto-botones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.btn-whatsapp,
.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-email {
    background: #007bff;
    color: #fff;
}

.btn-whatsapp:hover,
.btn-email:hover {
    transform: translateY(-5px);
} 