/* Custom styles that complement Tailwind */

/* Smooth anchor scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: #f8c4b0;
    color: #4a2c1a;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #d4552a;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

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

/* Button ripple effect on hover */
button[type="submit"]:active {
    transform: scale(0.98);
}

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

/* Custom form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a2c1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Subtle gradient text for hero */
.gradient-text {
    background: linear-gradient(135deg, #d4552a 0%, #e97447 50%, #f29f7e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
