/* 
 * Xtasy Ice Cafe - Custom Styles
 * Theme: Deep Navy & Warm Gold
 * Style: Clean Minimalist
 */

:root {
    --color-navy: #0a192f;
    --color-gold: #d4af37;
    --color-slate-50: #f8fafc;
    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    font-family: var(--font-sans);
    color: var(--color-navy);
    background-color: var(--color-slate-50);
    overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
}

/* Smooth Scroll Padding for Fixed Header */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-slate-50);
}
::-webkit-scrollbar-thumb {
    background: var(--color-navy);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.hidden-state {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-on-scroll.delay-100 { transition-delay: 0.1s; }
.reveal-on-scroll.delay-200 { transition-delay: 0.2s; }
.reveal-on-scroll.delay-300 { transition-delay: 0.3s; }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Hover effects for links */
a {
    text-decoration: none;
}

/* Image object fit fallback */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Media Queries for responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
}
