/* Custom styles for University Mall */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fff1f0;
}

::-webkit-scrollbar-thumb {
    background: #ff506e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2350;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #ff506e 0%, #ff7d8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Subtle hover lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 80, 110, 0.15);
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Pulse animation for dots */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: 3.5rem;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #ff506e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}
