/* Custom Styles for TNT Espresso & Mini Donuts */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

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

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

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

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

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #ff6b6b 0%, #d4a017 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

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

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

/* Decorative elements */
.glow-coral {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.3);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.3);
}

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

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    nav, button, #contact-form {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
