/* Fuentes Customizadas de DaFont */
@font-face {
    font-family: 'Pirulen';
    src: url('../fonts/pirulen.otf') format('opentype');
}

@font-face {
    font-family: 'Nova Mono';
    src: url('../fonts/novamono.ttf') format('truetype');
}

@font-face {
    font-family: 'Elronet Monospace';
    src: url('../fonts/Elronmonospace.ttf') format('truetype');
}

:root {
    --primary-color: #E6BE14; /* Amarillo más suave y elegante, menos chocante */
    --primary-hover: #E6C200;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #f5f5f5;
    --text-muted: #aaa;
    --whatsapp-color: #25D366;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.logo img {
    height: 60px; /* Made slightly bigger for navbar */
    object-fit: contain;
    object-position: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.3s;
    font-family: 'Elronet Monospace', sans-serif;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    padding: 0.2rem 0.5rem;
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: #fff;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

/* Carousel Wrapper & Flechas Interactivas */
.carousel-wrapper {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #121212;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: #121212;
    box-shadow: 0 0 15px rgba(230, 190, 20, 0.8);
    transform: translateY(-50%) scale(1.12);
}

.carousel-arrow.prev {
    left: 8px;
}

.carousel-arrow.next {
    right: 8px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('../images/hero-bg.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px; /* Offset for navbar */
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'nova mono', sans-serif;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    transition: background-color 0.3s;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.hero-logo-img {
    max-width: 320px; /* A bit larger since it's transparent */
    margin-bottom: 0.2rem; /* Pegado al texto principal */
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.8)); /* Shadow conforming to PNG shape */
}

/* Marquee / Brands */
.brands-section {
    padding: 3rem 0;
    background-color: #0a0a0a;
    overflow: hidden;
    position: relative;
}

.brands-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    color: var(--text-muted);
    font-family: 'nova mono', sans-serif;
}

.marquee-container {
    display: flex;
    overflow-x: auto; /* Permite scroll horizontal */
    padding: 1rem 0;
    cursor: grab; /* Muestra manito de agarrar */
    -webkit-overflow-scrolling: touch; /* Deslizamiento suave en celulares */
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;  /* Firefox */
}

.marquee-container:active {
    cursor: grabbing; /* Manito cerrada al arrastrar */
}

/* Ocultar la barra de scroll para que quede más limpio */
.marquee-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.brand-item {
    width: 180px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.25); /* Transparencia alta (75% transparente) */
    border: 2px solid rgba(230, 190, 20, 0.5); /* Borde amarillo más suave */
    box-shadow: 0 4px 15px rgba(230, 190, 20, 0.15); /* Brillo amarillo de fondo más suave */
    backdrop-filter: blur(4px); /* Ayuda a que el fondo no ensucie los logos al ser tan transparente */
    padding: 15px;
    border-radius: 16px;
    transition: all 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px) scale(1.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: drop-shadow(0 8px 15px rgba(230, 190, 20, 0.5)); /* Resplandor amarillo suave en el logo directo */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections General */
.section {
    padding: 5rem 5%;
}

.section-title {
    font-size: 3.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'nova mono', sans-serif;
}

.section-title span {
    color: var(--primary-color);
}

/* Opiniones / Testimonials */
.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0 2rem 0;
    margin: 0 auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.reviews-grid:active {
    cursor: grabbing;
}

.review-card-img {
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(230, 190, 20, 0.15);
    transition: transform 0.3s;
    min-width: 300px;
    max-width: 350px;
    flex-shrink: 0; /* Ensures the cards don't shrink inside the flex container */
    object-fit: contain; /* Keeps the screenshot aspect ratio perfect */
    padding: 0; /* Removing padding so the image goes edge to edge */
}

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

/* About Us */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Location & Hours */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    border: none;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
    margin-top: 2rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 2px solid var(--primary-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    }

    .nav-links.active {
        display: flex;
        animation: fadeInMenu 0.3s ease forwards;
    }

    @keyframes fadeInMenu {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .carousel-arrow.prev {
        left: 4px;
    }

    .carousel-arrow.next {
        right: 4px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid, .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-whatsapp span {
        display: none;
    }
    
    .btn-whatsapp {
        padding: 0.6rem 0.8rem;
    }
    
    .logo img {
        height: 50px;
    }
}
