/* Custom CSS for InterContinental Hotels Torrance */

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #065f46;
    --emerald-800: #064e3b;
    --emerald-900: #022c22;
    --cream-50: #faf9f6;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d4;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-dm-serif {
    font-family: 'DM Serif Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom cream colors */
.bg-cream-50 {
    background-color: #faf9f6;
}

.bg-cream-100 {
    background-color: #f5f0e8;
}

.text-cream-800 {
    color: #8b7355;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: translateY(0);
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #065f46;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, #back-to-top, .cta-pattern {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
