/* ===============================================================================
   HOME.CSS - Estilos de la Página HOME - VERSIÓN FINAL AJUSTADA
   =============================================================================== */

/* BASE STYLES */
body {
    background-color: #111415;
    color: #e1e3e4;
    font-family: 'Manrope', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background-color: rgba(255, 192, 203, 0.3);
    color: #ffe7ea;
}

/* ===============================================================================
   GLASS CARD STYLES
   =============================================================================== */

.glass-card {
    background: rgba(29, 32, 33, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 192, 203, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    background: rgba(29, 32, 33, 0.85);
    border-color: rgba(255, 192, 203, 0.3);
    box-shadow: 0 12px 40px rgba(183, 110, 121, 0.12), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===============================================================================
   HOME ESPECÍFICOS
   =============================================================================== */

.polaroid-frame {
    padding: 12px 12px 32px 12px;
    background: rgba(255, 231, 234, 0.05);
    border: 1px solid rgba(255, 192, 203, 0.1);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ===============================================================================
   BACKGROUND DECORATIVE
   =============================================================================== */

body {
    min-height: max(884px, 100dvh);
    overflow-x: hidden;
}

.bg-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(183, 110, 121, 0.08) 0%, rgba(183, 110, 121, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* ===============================================================================
   SCROLLBAR HIDE
   =============================================================================== */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===============================================================================
   NAVBAR - DISEÑO PREMIUM BOTTOM - AJUSTADO Y CENTRADO
   =============================================================================== */

.navbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 750px;
    height: auto;
    padding: 20px 40px;
    background: rgba(29, 32, 33, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 192, 203, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 60px;
    z-index: 50;
}

/* NAV BUTTONS */
.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    color: #a39e9c;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    transform: translateY(-2px);
    color: #ffe7ea;
}

.nav-btn:active {
    transform: scale(0.95);
}

/* NAV BUTTON ICON */
.nav-btn .material-symbols-outlined {
    font-size: 28px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    transition: all 0.3s ease;
}

/* NAV BUTTON LABEL */
.nav-btn span:not(.material-symbols-outlined) {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* NAV BUTTON ACTIVO */
.nav-btn.active {
    background: rgba(119, 86, 96, 0.4);
    border: 1px solid rgba(255, 192, 203, 0.3);
    color: #e1e3e4;
    padding: 12px 24px;
    box-shadow: 0 4px 16px rgba(183, 110, 121, 0.15);
}

.nav-btn.active .material-symbols-outlined {
    color: #ffe7ea;
    font-variation-settings: 'FILL' 0.5, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.nav-btn.active span:not(.material-symbols-outlined) {
    color: #e1e3e4;
}

/* ===============================================================================
   RESPONSIVE DESIGN
   =============================================================================== */

@media (max-width: 640px) {
    .navbar {
        bottom: 16px;
        width: 95%;
        padding: 12px 8px;
        gap: 0px;
    }

    .nav-btn {
        padding: 8px 4px;
        flex: 1;
        min-width: 0;
    }

    .nav-btn .material-symbols-outlined {
        font-size: 22px;
    }

    .nav-btn span:not(.material-symbols-outlined) {
        font-size: 8px;
        letter-spacing: 0px;
    }

    .nav-btn.active {
        padding: 8px 4px;
    }
}

/* ===============================================================================
   ANIMACIONES
   =============================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 192, 203, 0.4);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 192, 203, 0.8);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.glow-text {
    animation: pulse-glow 1s ease;
}

/* ===============================================================================
   ACCESIBILIDAD
   =============================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #1d2021;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 192, 203, 0.3);
    }

    .navbar {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(255, 192, 203, 0.3);
    }

    .nav-btn {
        color: #666;
    }

    .nav-btn.active {
        color: #1d2021;
        background: rgba(255, 192, 203, 0.15);
    }
}

/* ===============================================================================
   INSTAGRAM STYLE SCRAPBOOK CAROUSEL STYLES
   =============================================================================== */

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

#instagram-image-area img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Delay Helpers for Staggered Animations */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }