/* ============================================
   Radisson Hotel Wilmington — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #1B4332;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #173a2b;
}

/* Selection color */
::selection {
    background: #1B4332;
    color: #FDFBF7;
}

/* ============================================
   Navigation
   ============================================ */
.nav-text-color {
    color: #1a1a1a;
    transition: color 0.3s ease;
}
.nav-sub-text {
    color: rgba(27, 67, 50, 0.7);
    transition: color 0.3s ease;
}

/* Scrolled state */
.navbar-scrolled #navbar {
    background: rgba(253, 251, 247, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}
.navbar-scrolled .nav-text-color {
    color: #1a1a1a;
}
.navbar-scrolled .nav-sub-text {
    color: rgba(27, 67, 50, 0.7);
}

/* Mobile menu */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

/* Mobile menu button animation */
.menu-line {
    transition: all 0.3s ease;
}
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* ============================================
   Scroll Reveal Animations
   Progressive enhancement: content visible by default
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.revealed {
        opacity: 0;
        transform: translateY(30px);
    }
    
    /* JS will add .visible class to trigger the animation */
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Card hover effects
   ============================================ */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ============================================
   Form focus states
   ============================================ */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* ============================================
   Image aspect ratios
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Print styles
   ============================================ */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
