/* Custom Styles for The Lindell House */

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

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(55, 12, 19, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.hero-decor-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ffb3c4, #ff83a1);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-decor-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f9e2e8, #f3c2d0);
    bottom: 10%;
    left: -50px;
    animation-delay: 2s;
}

.hero-decor-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ffd4df, #ffb3c4);
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

.hero-decor-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ffebf0, #ffd4df);
    bottom: 20%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Hero Content Animation */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Amenity Cards */
.amenity-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .amenity-card {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .amenity-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Items */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .gallery-item {
        opacity: 0;
        transform: scale(0.95);
    }
    
    .gallery-item.revealed {
        opacity: 1;
        transform: scale(1);
    }
}

/* CTA Decorations */
.cta-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
}

.cta-decor-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ffb3c4, transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.cta-decor-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, transparent, #f9e2e8);
    bottom: -150px;
    right: -150px;
    animation-delay: 3s;
}

/* Mobile Menu */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

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

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

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

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