/* Custom Styles for Avenue West Salon */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

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

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

/* Selection Color */
::selection {
    background: #FF7A66;
    color: white;
}

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

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

.hero-anim {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-anim:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-anim:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-anim:nth-child(4) {
    animation-delay: 0.3s;
}

.hero-anim:nth-child(5) {
    animation-delay: 0.4s;
}

/* Card Float Animations */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.card-float {
    animation: floatCard 6s ease-in-out infinite;
}

.card-float-delayed {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 1s;
}

.card-float-delayed-2 {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Mobile Links */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* Navbar Background */
#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    border-color: #FF7A66 !important;
}

/* Button Hover Effects */
button:hover,
a:hover {
    cursor: pointer;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .font-serif {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: 4.5rem;
    }
}
