/* Custom styles for Elmo's */

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

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(80, 7, 36, 0.75) 0%,
        rgba(128, 20, 67, 0.60) 50%,
        rgba(163, 43, 103, 0.50) 100%
    );
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 244, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(128, 20, 67, 0.08);
}

.nav-logo-text {
    color: #500724;
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #500724;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

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

#navbar.scrolled .nav-link {
    color: #9d174d;
}

#navbar.scrolled .nav-link:hover {
    color: #db2777;
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

/* Scroll reveal animations - progressive enhancement */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@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.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* Photo gallery hover */
section img {
    will-change: transform;
}

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

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

::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* Form success message */
.form-success {
    animation: fadeInUp 0.5s ease forwards;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(80, 7, 36, 0.65) 0%,
            rgba(128, 20, 67, 0.55) 60%,
            rgba(163, 43, 103, 0.65) 100%
        );
    }
}
