/* 
 * Ashley's Look Alluring — Additional Custom Styles
 * These complement the inline styles in index.html
 */

/* Ensure smooth rendering on all devices */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Improve text rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(161, 26, 64, 0.15);
    color: #3d0a19;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #f5a8ba;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc4470;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 1px solid #a11a40;
    outline-offset: 2px;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #fde68a;
}

/* Form select styling */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23a11a40'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
    color: rgba(26, 26, 26, 0.4);
}

select.form-input:focus {
    border-bottom-color: #a11a40;
}

/* Subtle pattern for cream sections */
.bg-cream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(61, 10, 25, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(61, 10, 25, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Active nav link highlight */
.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
    background: #fde68a;
}
