/* Custom styles for Madison Place Restaurant */

/* Geometric clip paths */
.clip-diagonal-right {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

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

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

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

/* Selection color */
::selection {
    background-color: rgba(255, 112, 73, 0.3);
    color: #ffffff;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .float-slow,
    .float-medium,
    .float-fast {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #back-to-top,
    .geo-circle,
    .geo-square,
    .geo-dots,
    .float-slow,
    .float-medium,
    .float-fast {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .hero-split {
        min-height: auto;
    }
    
    .hero-image-side {
        min-height: 40vh;
    }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
    .menu-card {
        margin: 0 1rem;
    }
}
