/* Custom Styles for Tracy Nails and Spa */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Hero Animations */
.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

/* Section Animations */
.section-tag {
    animation: fadeIn 0.6s ease-out both;
}

.section-title {
    animation: fadeInUp 0.8s ease-out both;
}

.section-divider {
    animation: scaleIn 0.6s ease-out both;
}

/* Service Cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-images {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.about-images.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Features */
.feature-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

.feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Gallery Items */
.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-out;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Testimonial Cards */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Info Items */
.contact-info-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.contact-info-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card,
    .about-images,
    .feature-item,
    .gallery-item,
    .testimonial-card,
    .contact-info-item {
        opacity: 1;
        transform: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a2a3a;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: #d4af37;
    color: #1a2a3a;
}

/* Navigation Active State */
.nav-link.active {
    color: #d4af37;
}

/* Button Hover Effects */
.bg-tracy-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 42, 58, 0.3);
}

.bg-tracy-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    a {
        text-decoration: underline;
    }
}
