/* Custom styles for Tru by Hilton Warsaw */

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

/* Scroll reveal base - content visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal animated state (applied by JS) */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Hero floating cards animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Staggered float for stat cards */
.lg\\:grid-cols-2 > div:nth-child(1) > div:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.lg\\:grid-cols-2 > div:nth-child(1) > div:nth-child(2) {
    animation: float 6s ease-in-out infinite 1.5s;
}

.lg\\:grid-cols-2 > div:nth-child(2) > div:nth-child(1) {
    animation: float 6s ease-in-out infinite 0.75s;
}

.lg\\:grid-cols-2 > div:nth-child(2) > div:nth-child(2) {
    animation: float 6s ease-in-out infinite 2.25s;
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #d4b96a);
    border-radius: 2px;
}

/* Image aspect ratio fallback */
.aspect-\[4\/3\] {
    aspect-ratio: 4/3;
}

.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

/* Selection color */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #0f2140;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* Subtle gradient text for special headings */
.gradient-text {
    background: linear-gradient(135deg, #c9a84c 0%, #d4b96a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
