/* Rossi's Place — Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Custom selection color */
::selection {
    background: #722F37;
    color: #FFF8F5;
}

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

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

/* Reduced motion */
@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;
    }
}

/* Print styles */
@media print {
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    #navbar {
        height: 60px;
    }
    
    #hero {
        min-height: 90vh;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .menu-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(114, 47, 55, 0.08);
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}

/* Scrollbar styling for Webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #FFF8F5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A962, #722F37);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #722F37;
}
