/* Custom styles for Super Shine Express */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdfb;
}
::-webkit-scrollbar-thumb {
    background: #f3a7b5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b82845;
}

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

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b82845, #e96e8a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-blur-xl;
    box-shadow: 0 1px 20px rgba(184, 40, 69, 0.08);
}

/* Mobile menu animations */
#menuIcon span:nth-child(1) {
    transition: transform 0.3s ease;
}
#menuIcon span:nth-child(2) {
    transition: opacity 0.3s ease;
}
#menuIcon span:nth-child(3) {
    transition: all 0.3s ease;
}

body.menu-open #menuIcon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
body.menu-open #menuIcon span:nth-child(2) {
    opacity: 0;
}
body.menu-open #menuIcon span:nth-child(3) {
    width: 100%;
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #b82845;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Intersection observer animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Input focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(184, 40, 69, 0.1);
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6e1a2e;
}
