/* Custom styles for Grammy Tammy's Creations */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030910;
}
::-webkit-scrollbar-thumb {
    background: #1e4568;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2bb87c;
}

/* Selection color */
::selection {
    background: rgba(43, 184, 124, 0.3);
    color: #f0f4f8;
}

/* Hero image animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Fade in for scroll sections (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .fade-section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .fade-section.fade-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(3, 9, 16, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Mobile menu animations */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Image hover zoom */
img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Focus styles */
input:focus, textarea:focus, button:focus {
    outline: none;
}

/* Print styles */
@media print {
    nav, #contact, .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
