:root {
    --primary: #f68a30;
    --secondary: #1f1f1f;
    --dark: #455362;
}

/* General */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.top-header {
    background: #fff;
}

.logo {
    height: 40px;
}

.site-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
}

/* Social */
.social-icons a {
    color: var(--dark);
    margin-left: 10px;
    font-size: 18px;
    transition: .3s;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Navbar */
.navbar {
    background: var(--secondary) !important;
}

.nav-link {
    color: #fff !important;
    margin: 0 10px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary) !important;
}



/* ======================
   SLIDER
====================== */

#heroSlider {
    position: relative;
}

.slider-img {
    height: 75vh;
    object-fit: cover;
    filter: brightness(45%);
}

.slider-content {
    bottom: 20%;
    text-align: center;
}

.slider-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
    color: #fff;
    animation: fadeUp 1s ease;
}

.slider-content p {
    font-size: 1.2rem;
    margin: 15px auto;
    max-width: 650px;
    animation: fadeUp 1.4s ease;
}

.btn-sko {
    background: var(--primary);
    color: #fff;
    border-radius: 0;
    padding: 12px 28px;
    font-weight: 600;
    transition: .3s;
    animation: fadeUp 1.8s ease;
}

.btn-sko:hover {
    background: #fff;
    color: var(--secondary);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Animación */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .slider-img {
        height: 60vh;
    }

    .slider-content h2 {
        font-size: 2.2rem;
    }

    .slider-content p {
        font-size: 1rem;
    }

    .btn-sko {
        padding: 10px 20px;
        font-size: .9rem;
    }
}


/* ======================
   SECTION HEADER
====================== */

.section-header {
    background: var(--secondary);
    color: #fff;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 15px auto;
    font-size: 1rem;
}

/* Botón outline */
.btn-sko-outline {
    border: 2px solid var(--primary);
    color: #fff;
    padding: 10px 25px;
    margin-top: 10px;
    display: inline-block;
    transition: .3s;
}

.btn-sko-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ======================
   PORTAFOLIO
====================== */

.portfolio-item {
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    transition: transform .5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

/* Hover overlay opcional */
.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: .3s;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* Flechas más visibles */
#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    background-color: var(--primary);
    padding: 20px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-item img {
        height: 150px;
    }
}



/* Ícono de zoom en hover */
.portfolio-item::before {
    content: "🔍";
    position: absolute;
    color: #fff;
    font-size: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    transition: .3s;
}

.portfolio-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}



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

.product-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s ease;
}

/* Hover zoom */
.product-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31,31,31,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: .4s;
}

.product-overlay h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mostrar overlay */
.product-item:hover .product-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .product-item img {
        height: 180px;
    }
}



/* ======================
   3D CARD EFFECT
====================== */

.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    position: relative;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
}

/* Imagen */
.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transform: translateZ(50px);
}

/* Contenido */
.card-content {
    padding: 20px;
    transform: translateZ(70px);
}

.card-content h4 {
    font-weight: 600;
}

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

/* Sombra dinámica */
.card-3d-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transition: .3s;
}

.card-3d:hover .card-3d-inner::after {
    opacity: 1;
}


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

#productos {

    position: relative;

    background-image: url('../img/sko_19.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow: hidden;
}

/* Overlay cinematográfico SOLO en contenido */
#productos .container.py-5 {

    position: relative;
    z-index: 2;
}

/* Overlay oscuro */
#productos::before {

    content: "";

    position: absolute;

    top: 140px; /* altura aproximada del section-header */
    left: 0;

    width: 100%;
    height: calc(100% - 140px);

    background: rgba(0,0,0,0.55);

    z-index: 1;
}

/* Mantener franja original */
#productos .section-header {

    position: relative;
    z-index: 3;
}

/* Responsive */
@media(max-width: 991px){

    #productos {

        background-attachment: scroll;
    }

}




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





/* BARRAS */

.client-bars {

    display: flex;
    flex-direction: column;

    gap: 16px;
}

/* CONTENEDOR */
.bar {

    width: 100%;
    height: 38px;

    background: #d9d9d9;

    overflow: hidden;

    border-radius: 4px;

    position: relative;
}

/* BARRA */
.bar-fill {

    
    height: 100%;

    display: flex;
    align-items: center;

    padding-left: 16px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    background: var(--primary);

    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;


}

/* ANIMACIONES */
.mexico { animation-name: mexicoBar; }
.panama { animation-name: panamaBar; }
.colombia { animation-name: colombiaBar; }
.peru { animation-name: peruBar; }
.chile { animation-name: chileBar; }
.espana { animation-name: espanaBar; }
.uruguay { animation-name: uruguayBar; }

/* KEYFRAMES */

@keyframes mexicoBar {
    from { width: 0; }
    to { width: 90%; }
}

@keyframes panamaBar {
    from { width: 0; }
    to { width: 32%; }
}

@keyframes colombiaBar {
    from { width: 0; }
    to { width: 70%; }
}

@keyframes peruBar {
    from { width: 0; }
    to { width: 40%; }
}

@keyframes chileBar {
    from { width: 0; }
    to { width: 65%; }
}

@keyframes espanaBar {
    from { width: 0; }
    to { width: 50%; }
}

@keyframes uruguayBar {
    from { width: 0; }
    to { width: 30%; }
}

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

.clients-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* TRACK */
.clients-track {

    display: flex;

    width: calc(250px * 30);

    animation: scrollClients 35s linear infinite;
}

/* ITEM */
.client-logo {

    width: 180px;
    min-width: 180px;

    height: 180px;

    margin-right: 25px;

    background: #f3f3f3;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMG */
.client-logo img {

    max-width: 75%;
    max-height: 75%;

    object-fit: contain;
}

/* LOOP */
@keyframes scrollClients {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-205px * 15));
    }
}

/* RESPONSIVE */
@media(max-width:991px){

    .clients-slider {
        margin-top: 40px;
    }

    .client-logo {

        width: 140px;
        min-width: 140px;

        height: 140px;
    }

}




/* ======================
   WORKANA INFO
====================== */

.workana-info {

    max-width: 900px;

    margin: auto;
}

.workana-info p {

    font-size: 1rem;

    line-height: 1.8;

    color: #666;
}

.workana-info strong {

    color: var(--primary);
}



/* ======================
   TRAS BAMBALINAS
====================== */

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform .4s ease, box-shadow .4s ease;
    text-align: center;
    padding: 40px 30px;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.team-img-wrap {
    margin-bottom: 25px;
}

.team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
}

.team-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 5px;
}

.team-content span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-content p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.team-content strong {
    color: var(--secondary);
}



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

.contact-form .form-control {
    border-radius: 0;
    padding: 12px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* INFO */
.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-info h4 {
    margin-bottom: 20px;
}

/* WhatsApp */
.btn-whatsapp {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 20px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

/* Social */
.social-links a {
    font-size: 20px;
    margin-right: 10px;
    color: var(--dark);
    transition: .3s;
}

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