/* Custom styles for D Mongeon's Deli and Catering */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #d44a24;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c23518;
}

/* Selection color */
::selection {
    background: #d44a24;
    color: white;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-3deg); }
}

.geo-shape {
    animation: float 8s ease-in-out infinite;
}

.geo-shape:nth-child(2n) {
    animation: float-slow 10s ease-in-out infinite;
    animation-delay: -3s;
}

.geo-shape:nth-child(3n) {
    animation: float 12s ease-in-out infinite;
    animation-delay: -5s;
}

/* Hero parallax */
#hero {
    will-change: transform;
}

/* Button focus styles */
.btn-primary:focus-visible {
    outline: 3px solid #d44a24;
    outline-offset: 2px;
}

/* Link focus styles */
a:focus-visible {
    outline: 2px solid #d44a24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu link hover */
.mobile-link:hover {
    background: rgba(212, 74, 36, 0.08);
}

/* Card image zoom on hover */
.menu-card img {
    transition: transform 0.5s ease;
}

.menu-card:hover img {
    transform: scale(1.08);
}

/* Testimonial card hover */
.testimonial-card:hover {
    box-shadow: 0 20px 60px rgba(161, 40, 20, 0.12);
    transform: translateY(-4px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Catering feature hover */
.bg-white\/5:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

/* Print styles */
@media print {
    .geo-shape,
    #back-to-top,
    .accent-bar {
        display: none !important;
    }
}
