/* ============================================
   Forget Me Not Nails Salon - Custom Styles
   ============================================ */

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

body {
    overflow-x: hidden;
}

/* Navigation */
.nav-scrolled {
    padding: 0;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #D97706, #F59E0B);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-nav-link {
    position: relative;
    padding-left: 1rem;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D97706;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-decoration-1,
.hero-decoration-2,
.hero-decoration-3 {
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
    animation-delay: -2s;
    animation-duration: 8s;
}

.hero-decoration-3 {
    animation-delay: -4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Hero Badge Animation */
.hero-badge {
    animation: fadeInDown 0.8s ease-out;
}

/* Hero Content Animation */
.hero-section h1,
.hero-section p,
.hero-section .flex {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-section h1 {
    animation-delay: 0.2s;
}

.hero-section p {
    animation-delay: 0.4s;
}

.hero-section .flex {
    animation-delay: 0.6s;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s ease;
}

/* Scroll Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(40px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal.hidden,
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top */
.back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #D97706, #F59E0B);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(139, 58, 114, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8B3A72, #A8558F);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #6D2D5A, #8B3A72);
}

/* Selection */
::selection {
    background: #D97706;
    color: #1F0F28;
}

/* Print Styles */
@media print {
    .nav-scrolled,
    .back-to-top {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
