/* ============================================
   Me Chic Boutique — Custom Styles
   ============================================ */

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

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #1e3d6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f1f3d;
}

/* Scroll reveal base state — always visible by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only apply hidden state when JS is active and reduced motion is not preferred */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

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

/* Selection color */
::selection {
    background-color: #14b8a6;
    color: #0a1628;
}

/* Button ripple-like effect on hover */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 31, 61, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Hero asymmetric layout adjustments */
@media (max-width: 1023px) {
    #hero .order-1 {
        order: 1 !important;
    }
    #hero .order-2 {
        order: 2 !important;
    }
}

/* Ensure all interactive elements have proper touch targets */
@media (hover: none) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print styles */
@media print {
    #navbar, #mobileMenu, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
