/* Custom styles for Eagle Inn */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll reveal animations - only apply when JavaScript is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .scroll-reveal.revealed {
        animation: fadeInUp 0.6s ease-out forwards;
    }
}

/* Fallback for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation styles */
.nav-fixed {
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 2px 20px rgba(131, 20, 67, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile navigation */
.mobile-nav-link {
    position: relative;
    padding-left: 16px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
}

/* Button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(131, 20, 67, 0.2);
}

/* Room card styles */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(131, 20, 67, 0.15);
}

/* Tag styles */
.tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fdf4f8, #fce7f3);
    color: #9d174d;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid #fbcfe8;
}

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

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

/* Form styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(131, 20, 67, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be185d, #9d174d);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #db2777, #be185d);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, #be185d, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .room-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .nav-fixed,
    .btn-primary,
    #mobile-menu-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
