/* Custom styles for Double N Motel */

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

/* Geometric background shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 77, 94, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.geo-square-1 {
    width: 300px;
    height: 300px;
    background: rgba(251, 191, 36, 0.04);
    bottom: 20%;
    left: -100px;
    transform: rotate(45deg);
    border-radius: 40px;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(196, 77, 94, 0.05);
    top: 40%;
    right: 5%;
    transform: rotate(-15deg);
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    border-radius: 50%;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 30%;
    left: 10%;
    opacity: 0.5;
}

/* Floating card animations */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 2s;
}

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

/* Room card hover effects */
.room-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.room-card:hover {
    box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.15);
}

/* Scroll indicator */
.scroll-indicator {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* Amenity item hover */
.amenity-item {
    transition: transform 0.3s ease;
}

.amenity-item:hover {
    transform: translateX(8px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(51, 15, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 77, 94, 0.2);
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    max-height: 500px;
}

/* Mobile menu button active state */
.menu-line.active-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-line.active-2 {
    opacity: 0;
}

.menu-line.active-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 5rem;
}

/* Subtle gradient overlay on hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(51, 15, 20, 0.4) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

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

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

::-webkit-scrollbar-track {
    background: #330f14;
}

::-webkit-scrollbar-thumb {
    background: #852b38;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a33644;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-square-1 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle-1 {
        border-left-width: 75px;
        border-right-width: 75px;
        border-bottom-width: 130px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 1rem;
        animation: none;
    }
}
