/* Custom Styles for Tamara's Beauty Salon */

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 1s;
}

.floating-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 2s;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 50%, #B8941F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #050F08;
}

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

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

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #FDFBF7;
}

/* Input Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Image Hover Zoom */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Background on Scroll */
.nav-scrolled {
    background: rgba(5, 15, 8, 0.95) !important;
    backdrop-filter: blur(20px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button Ripple Effect */
button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

button:active::after {
    transform: scale(2);
    opacity: 1;
    transition: 0s;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
