/* Custom styles for Fifth Avenue Hotel */

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

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #D4A373;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #D4A373;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(212, 163, 115, 0.5);
    border-radius: 50%;
    top: 30%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #D4A373;
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
    animation: spin 20s linear infinite;
}

.rect-1 {
    width: 100px;
    height: 60px;
    background: rgba(212, 163, 115, 0.3);
    bottom: 25%;
    right: 8%;
    transform: rotate(-20deg);
    animation: float 7s ease-in-out infinite;
}

.dot-pattern {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #D4A373 1px, transparent 1px);
    background-size: 20px 20px;
    top: 60%;
    left: 3%;
    opacity: 0.08;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.animated {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom selection color */
::selection {
    background: #1B4332;
    color: #fdfcf8;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #D4A373;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image aspect ratio helper */
.aspect-card {
    aspect-ratio: 4/3;
}
