/* Custom CSS for Centro Comercial Cermak Rd */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a1128;
    color: #e5e7eb;
    overflow-x: hidden;
}

/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(10, 17, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu Transitions */
.mobile-menu-active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c5a028 50%, #b8921f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #0a1128;
}

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

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

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Image Hover Zoom */
.img-zoom {
    transition: transform 0.7s ease;
}

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

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

/* Loading State */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loading.loaded {
    opacity: 1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem !important;
    }
    
    .font-serif.text-5xl {
        font-size: 2.5rem !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Image Aspect Ratios */
.aspect-card {
    aspect-ratio: 5/4;
}

.aspect-portrait {
    aspect-ratio: 6/7;
}

/* Utility Classes */
.glass-effect {
    background: rgba(26, 39, 68, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
