/* Custom styles for Mumma Christy's */

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

/* Navbar styles */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link {
    color: #152d56 !important;
}

.navbar-scrolled .nav-text {
    color: #0f2140 !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0fb88a;
}

/* Selection color */
::selection {
    background: #1dd4a4;
    color: #ffffff;
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #1dd4a4;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Subtle hover lift for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Gradient text support */
.gradient-text {
    background: linear-gradient(135deg, #1dd4a4 0%, #3ee9be 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading state for form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile menu active state */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1dd4a4;
    transition: width 0.3s ease;
}

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

/* Ensure all text has proper contrast */
.text-midnight-200 {
    color: #c8d8e8;
}

.text-midnight-300 {
    color: #a8c0d8;
}

.text-midnight-400 {
    color: #88a8c8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
