@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --font-primary: 'Inter', sans-serif;
    --color-black: #111111;
    --color-dark: #212529;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    padding-top: 76px; 
}

/* --- 1. PRELOADER --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-logo { width: 80px; animation: pulse 1.5s infinite; }
.preloader-footer { padding-bottom: 30px; text-align: center; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- 2. NAVBAR & BUTTONS --- */
.ls-1 { letter-spacing: 1px; }
.fs-7 { font-size: 0.85rem; }

.btn-black {
    background-color: var(--color-black);
    color: #fff;
    transition: 0.3s;
}
.btn-black:hover {
    background-color: #333;
    color: #fff;
}

/* --- 3. HERO --- */
.hero-image-container {
    height: 65vh;
    min-height: 400px;
    background-color: #f8f9fa;
}

/* --- 4. SERVICIOS --- */
.service-card-clean {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}
.service-card-clean:hover .btn-link {
    color: var(--color-black) !important;
    border-color: var(--color-black) !important;
}

/* --- 5. TIENDA (PRODUCTOS) --- */
.shop-img-container {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-img-container img {
    transition: transform 0.5s ease;
    max-width: 80%;
    max-height: 80%;
}
.shop-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.4);
    opacity: 0;
    transition: 0.3s;
}
.shop-item:hover .shop-overlay { opacity: 1; }
.shop-item:hover img { transform: scale(1.05); }

/* --- 6. MARCAS (MARQUEE INFINITO) --- */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Efecto de desvanecimiento en los bordes */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    gap: 4rem; /* Espacio entre logos */
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px; /* Ancho mínimo para que se vean grandes */
}
.brand-logo {
    max-height: 80px; /* Altura aumentada como pediste */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s;
}
.marquee-track:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.brand-text {
    font-size: 1.5rem; font-weight: 900; color: #ccc; text-transform: uppercase;
}
.scroll-left { animation: scrollLeft 40s linear infinite; }
.scroll-right { animation: scrollRight 40s linear infinite; }

.marquee-track:hover { animation-play-state: paused; }

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* --- 7. INSTAGRAM SECTION --- */
.insta-item { cursor: pointer; }
.insta-item img { transition: transform 0.6s ease; }
.insta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-item:hover img { transform: scale(1.1); }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    body { padding-top: 66px; }
    .hero-image-container { height: 50vh; }
    .display-6 { font-size: 1.8rem; }
}