/* ========================================
   Mare's Nimble Thimble - Custom Styles
   ======================================== */

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

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

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

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

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

/* Selection Color */
::selection {
    background: #F4A3B8;
    color: #3A1119;
}

/* ========================================
   Navigation
   ======================================== */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.1);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-gradient {
    background: linear-gradient(135deg, #fefcf8 0%, #fdf2f4 50%, #ffe8ec 100%);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 45, 59, 0.3);
}

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

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

/* ========================================
   Decorative Elements
   ======================================== */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   Mobile Menu
   ======================================== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* ========================================
   Form Styles
   ======================================== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .float-animation,
    .blob {
        animation: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
