/* Custom styles for Rubi Salon */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(255, 143, 107, 0.3);
    color: #1c1c26;
}

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

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

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

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #1c1c26 !important;
}

.nav-scrolled .nav-link {
    color: #414154 !important;
}

.nav-scrolled .nav-link:hover {
    color: #1c1c26 !important;
}

.nav-scrolled .menu-line {
    background: #313140 !important;
}

/* Hero navbar (transparent) */
.nav-transparent .nav-logo-text {
    color: #ffffff !important;
}

.nav-transparent .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-transparent .nav-link:hover {
    color: #ffffff !important;
}

.nav-transparent .menu-line {
    background: #ffffff !important;
}

/* Mobile menu link hover */
.mobile-link:hover {
    color: #ff6b3f !important;
}

/* Button focus states */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid #ff6b3f;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .float-card,
    .float-card-delay,
    .float-card-delay2 {
        animation: none;
    }
    
    .reveal-animated {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: auto;
        padding: 80px 0 60px;
    }
}
