/* Custom Styles for Pino's Pizza */

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

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

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

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

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

/* Animation classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

/* Button hover glow effect */
button:hover,
a:hover {
    box-shadow: 0 0 30px rgba(255, 107, 74, 0.3);
}

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

/* 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);
    }
}

/* Subtle gradient overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 15, 0.3) 0%,
        rgba(15, 15, 15, 0.1) 50%,
        rgba(15, 15, 15, 0.8) 100%
    );
    z-index: 1;
}

#hero > .relative {
    position: relative;
    z-index: 2;
}

/* Decorative elements */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
