/* Custom styles for Dueger's Tenowon Grill */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #c41e3a;
    color: #FFF8F0;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #c41e3a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(196, 30, 58, 0.1);
}

/* Mobile menu open state */
body.menu-open {
    overflow: hidden;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f5ede4 0%, #fce7e7 100%);
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle, .geo-rect {
        animation: float 6s ease-in-out infinite;
    }
    .geo-circle:nth-child(2) {
        animation-delay: -2s;
        animation-duration: 8s;
    }
    .geo-rect:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 7s;
    }
}

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

/* Diagonal stripe pattern for sections */
.diagonal-stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(196, 30, 58, 0.02) 20px,
        rgba(196, 30, 58, 0.02) 40px
    );
    pointer-events: none;
}

/* Button press effect */
.btn-shine:active {
    transform: scale(0.97);
}

/* Card hover lift */
.shadow-sm {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Subtle gradient overlay for text readability */
.text-gradient {
    background: linear-gradient(135deg, #c41e3a 0%, #ff7575 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
