/* Beauty Empire Plus — Custom Styles */

/* Base styles already handled by Tailwind + inline styles in HTML */
/* This file provides additional custom overrides and enhancements */

/* Ensure no default browser margins interfere */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #d95a35;
    color: #fefcf8;
}

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

/* Prevent image overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .hero-bg {
        background: none !important;
    }
    nav, footer, .mobile-menu {
        display: none !important;
    }
}

/* 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;
    }
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
    }
    .line-reveal {
        width: 80px !important;
    }
}

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

/* Tablet and up adjustments */
@media (min-width: 768px) {
    /* Subtle hover lift on collection cards */
    .card-shimmer {
        transform: translateY(0);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .card-shimmer:hover {
        transform: translateY(-4px);
    }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero-bg {
        background-position: center center;
    }
}

/* Landscape mobile - prevent overly tall mobile menu */
@media (max-height: 500px) and (orientation: landscape) {
    #mobileMenu {
        width: 100vw !important;
    }
}
