/* Custom styles for PizzaVerse */

/* Font setup */
.font-sans {
    font-family: 'Montserrat', sans-serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Hero background pattern */
.bg-hero-pattern {
    background-color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f87171' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Wave divider */
.wave-divider {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

/* Card hover effect */
.pizza-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pizza-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Pizza image zoom effect */
.pizza-image-container {
    overflow: hidden;
}

.pizza-image {
    transition: transform 0.5s ease;
}

.pizza-item:hover .pizza-image {
    transform: scale(1.05);
}

/* Toast animation */
@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-enter {
    animation: toast-in 0.3s forwards ease-out;
}

.toast-exit {
    animation: toast-out 0.3s forwards ease-in;
}

/* Loading animation */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #f87171;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wave-divider {
        margin-top: -50px;
    }
}