
    body {
        margin: 0;
        background: #111;
        font-family: 'Oswald', sans-serif;
        color: white;
        overflow-x: hidden;
    }

    /* ================= NAVBAR ================= */
    .navbar-top {
        position: fixed;
        top: 30px;
        left: 60px;
        display: flex;
        gap: 25px;
        z-index: 1000;
    }

    .navbar-top a {
        background: #ffd400;
        color: #000;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 10px 25px;
        border-radius: 40px;
        letter-spacing: 1px;
        transition: 0.3s;
    }

    .navbar-top a:hover {
        background: #ffea00;
        transform: translateY(-3px);
    }

    /* Botón hamburguesa */
	.menu-toggle {
    display: none; /* 👈 oculto por defecto en PC y tablet */
}
  @media(max-width:600px){

    .menu-toggle {
        display: block;  /* 👈 solo aparece en móvil */
        position: fixed;
        top: 35px;
        left: 20px;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1100;
    }

}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    position: relative;
    background: url("/assets/css/images/autosm.jpg") center/cover no-repeat;

    /* Animación */
    opacity: 0;
    animation: fadeInHero 1.5s ease-in-out forwards;
}

/* Animación Fade */
@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Overlay 80% */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Asegura que el contenido quede encima del overlay */
.hero > * {
    position: relative;
    z-index: 2;
}

/* ===== YOUTUBE SECTION ===== */
.youtube-section {
    position: absolute;
    left: 6%;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px; /* espacio entre miniatura y botón */
}

/* Miniatura del video */
.youtube-thumb img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border: 4px solid #ff0000; /* borde estilo YouTube */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

/* Efecto hover */
.youtube-thumb img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Overlay de “Play” sobre la miniatura */
.youtube-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

/* Botón RECENT UPLOAD */
.recent-label {
    display: inline-block;
    background: #ffd400;
    color: #000;
    font-weight: 700;
    font-size: 2rem;
    padding: 12px 50px;
    transform: skew(-15deg);
    transition: transform 0.3s ease;
}

.recent-label span {
    display: inline-block;
    transform: skew(15deg);
}

/* Efecto hover en botón */
.recent-label:hover {
    transform: skew(-15deg) scale(1.05);
}

/* ===== SOCIAL ===== */
.social-section {
    text-align: center;
    position: absolute;
    right: 28%;
    top: 35%;
}

.social-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    font-size: 1.8rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.fa-youtube { color: #ff0000; }
.fa-instagram { color: #e1306c; }
.fa-facebook { color: #1877f2; }
.fa-tiktok { color: #ffffff; }



/* Link mobile */
.mobile-link {
    display: none;
    font-size: 2rem;
    color: #ffd400;
    text-decoration: underline;
    font-weight: 700;
    transition: transform 0.3s;
}

/* Hover link móvil */
.mobile-link:hover {
    transform: scale(1.05);
}

/* Media query para móvil */
@media screen and (max-width: 768px) {
    /* Ocultar la miniatura en móvil */
    .youtube-thumb {
        display: none;
    }

    /* Mostrar el link en móvil */
    .mobile-link {
        display: inline-block;
    }

    /* Ajustar botón RECENT UPLOAD en móvil */
    .recent-label {
        padding: 10px 30px;
        font-size: 1.5rem;
    }

    /* Reposicionar la sección */
    .youtube-section {
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: center;
        text-align: center;
    }

    /* OCULTAR LA LLAVE EN MÓVIL */
    .youtube-section .wrench-anim {
        display: none;
    }
}

/* ===== PERSON ===== fix size*/
.person-image {
    position: absolute;
    right: -2%;
    bottom: -83px; /* ↓ Baja la persona */
}

.person-image img {
    height: 91vh;
    object-fit: contain;
}

    /* ===== NAME TAG ===== */
    .name-tag {
        position: absolute;
        bottom: 40px;
        right: 28%;
        text-align: right;
    }

    .name-tag h3 {
        color: #ffd400;
        margin: 0;
        font-size: 1.8rem;
    }

    .name-tag span {
        color: #ffd400;
        font-size: 1.3rem;
    }

    /* ===== DECORACIÓN SUPERIOR DERECHA ===== */
    .top-decoration {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 900;
    }

    .top-decoration .yellow-shape {
        width: 220px;
        height: 90px;
        background: #ffd400;
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .top-decoration .white-shape {
        width: 180px;
        height: 60px;
        background: #ffffff;
        position: absolute;
        top: 60px;
        right: 0;
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    }
/* ===== FOOTER SCROLL ===== */
.scroll-footer{
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.scroll-down{
    color: #ffd400;
    font-size: 2rem;
    animation: bounce 1.5s infinite;
    display: inline-block;
    transition: 0.3s;
}

.scroll-down:hover{
    transform: scale(1.2);
}

/* Animación */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

    /* ================= MOBILE ================= */
    @media(max-width:600px){

        .menu-toggle {
            display: block;
        }

    .navbar-top {
    flex-direction: column;
    background: #111;
    padding: 30px 20px;
    border-radius: 0;        /* 👈 quitamos bordes redondeados */
    position: fixed;
    top: 0;
    left: 0;
    width: auto;             /* 👈 ocupa todo el ancho */
    height: 100vh;           /* 👈 opcional: pantalla completa */
    display: none;
    align-items: center;
    justify-content: center;
    gap: 25px;
}


        .navbar-top.active {
            display: flex;
        }

        .person-image img {
            height: 60vh;
        }

        .social-section {
            right: 20%;
        }

        .youtube-section{
            position: relative;
            left: auto;
            top: auto;
            transform: none;
            text-align: center;
            padding-top: 120px;
        }

        .youtube-section i{
            font-size: 6rem;
        }

        .recent-label{
            font-size: 1.2rem;
            padding: 8px 20px;
        }

        /* Ocultar decoración en móvil */
        .top-decoration{
            display: none;
        }

    }


/* ===== Nav botón desplegable ===== */

/* Contenedor */
.dropdown {
    position: relative;
    float: left;
}

/* Botón */
.dropdown > a,
.dropdown > button {
    display: inline-block;
}

/* Menú */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222;
    min-width: 180px;
    border-radius: 10px;
    padding: 5px 0;
    z-index: 1000;
}

/* Links */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: white;
    background: none;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: #444;
}

/* 🖥️ Desktop (hover) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* 📱 Mobile (click con JS) */
@media (max-width: 768px) {
    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* ===== fin dropdown ===== */


/* ===== AJUSTE YOUTUBE SECTION (sin cambiar tamaños) ===== */
.youtube-section .wrench-anim{
    position: absolute;
    top: 10%;
    left: 416px;
    font-size: 10rem;
    color: #bfbfbf !important; /* fuerza gris */
    transform: rotate(90deg);
    animation: wrenchMove 1.5s ease-in-out infinite;
}

/* Animación visible */
@keyframes wrenchMove{
    0%   { transform: rotate(90deg) translateY(0); }
    50%  { transform: rotate(90deg) translateY(10px); }
    100% { transform: rotate(90deg) translateY(0); }
}

/* ===== BOTÓN RECENT UPLOAD ENLACE ===== */
.recent-label{
    display: inline-block;
    margin-top: 20px;
    background: #ffd400;
    color: #000;
    font-weight: 700;
    font-size: 2rem;
    padding: 12px 50px;
    transform: skew(-15deg);
    text-decoration: none;

    animation: pulseButton 1.8s infinite;
}

.recent-label span{
    display: inline-block;
    transform: skew(15deg);
}

/* EFECTO LATIDO */
@keyframes pulseButton {
    0% {
        transform: skew(-15deg) scale(1);
    }
    50% {
        transform: skew(-15deg) scale(1.05);
    }
    100% {
        transform: skew(-15deg) scale(1);
    }
}

/* Hover más fuerte */
.recent-label:hover{
    background: #ffea00;
    animation: none;
    transform: skew(-15deg) scale(1.08);
}


 /* ---------- PRODUCTOS ---------- */
.products {
    padding: 135px 20px;
    background: transparent; /* La sección deja ver el fondo del sitio */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.product-card {
    background: #fff; /* Mantiene el color de las cards */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 10px 0 5px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #333; /* Contraste con fondo blanco */
}

.product-card p {
    margin: 0 0 15px 0;
    font-weight: bold;
    color: #ff5722;
}

.btn-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #e64a19;
}

.btn-cta i {
    margin-right: 5px;
}

/* ---------- FOOTER ---------- */
footer {
    background: transparent; /* Fondo de la página se ve detrás */
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.9rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* Para legibilidad sobre el fondo */
}

footer p {
    margin: 0 0 10px 0;
}

footer .social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.2s;
}

footer .social-icons a:hover {
    color: #ff5722;
}