/* Custom styles for L'Esperienza Vita Bella */

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

/* Navigation transitions */
.nav-text {
    color: #1e293b;
}

nav.scrolled .nav-text {
    color: #1e293b;
}

nav:not(.scrolled) .nav-text {
    color: #f1f5f9;
}

/* Hero animations - visible by default, enhanced with JS */
.hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-headline {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-description {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-cta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.hero-image {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Mobile menu */
.mobile-link {
    font-size: 1.5rem;
}

/* Image hover effects */
img {
    display: block;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #115e59;
}

/* Selection color */
::selection {
    background: #0f766e;
    color: white;
}
