/* Custom Styles for Sweet Bites Madrid */

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

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Navigation Scroll Effect */
.nav-scrolled {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Input Focus Effects */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Animation Delays */
.animate-float-delayed {
    animation-delay: 3s;
}

/* Gradient Text (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display:nth-of-type(2) {
        font-size: 2rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Pulse Animation for CTA */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* Geometric Shapes */
.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 4px;
}

.shape-rounded {
    border-radius: 20px;
}

/* Text Selection */
::selection {
    background: #f59e0b;
    color: #0a192f;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
