/* --- Tipografías y Base --- */
body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; scroll-behavior: smooth; }
h1, h2, h3, .font-serif { font-family: 'Playfair Display', serif; }

/* --- Animaciones de Entrada --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Efecto Navegación --- */
.glass-nav {
    background: rgba(253, 252, 251, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- Utilidades de Scroll --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- Cursor Personalizado (Solo PC) --- */
#custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.1s ease-out;
}

/* --- CATEGORÍAS HOMBRE (Efecto 3D Mejorado e Intuitivo) --- */
.category-parent {
    perspective: 1500px;
    flex-shrink: 0;
    margin: 10px;
    scroll-snap-align: center; /* Imán en móvil */
}

.category-card {
    width: 280px;  /* Tamaño más intuitivo en móvil */
    height: 190px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste para pantallas grandes (PC) */
@media (min-width: 1024px) {
    .category-card {
        width: 380px; 
        height: 250px;
    }
}

.category-card:hover {
    transform: rotateX(8deg) rotateY(-8deg);
    border-color: #D4AF37;
    box-shadow: 0 20px 40px rgba(74, 55, 40, 0.1);
}

.category-card img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: all 0.7s ease;
    transform: translateZ(25px);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.category-card:hover img {
    transform: translateZ(80px) scale(1.1); /* Efecto pop-out contenido */
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.12));
}

.category-content {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #D4AF37;
    padding: 10px 25px;
    transform: translateZ(40px);
    transition: all 0.5s ease;
    z-index: 20;
}

.category-card:hover .category-content {
    background: #4A3728;
    transform: translateZ(100px);
}

.category-title {
    color: #4A3728;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

@media (min-width: 1024px) {
    .category-title { font-size: 18px; }
}

.category-card:hover .category-title {
    color: #D4AF37;
}

/* --- BISUTERÍA (Carrusel Infinito) --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-container:hover {
    animation-play-state: paused;
}

.joya-item {
    width: 160px;
    margin-right: 2.5rem;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

@media (min-width: 1024px) {
    .joya-item { width: 220px; }
}

.joya-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.2);
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.joya-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05) translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}