/* Spa Bronze Eua — Custom Styles */
/* Base overrides and enhancements beyond Tailwind */

/* Selection color */
::selection {
    background: rgba(242, 109, 59, 0.3);
    color: #f6f6f7;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Custom focus ring for form elements */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Prevent layout shift on select */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8290' 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 1rem center;
    padding-right: 2.5rem;
}

/* Subtle grain texture overlay for sections */
.section-grain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Button hover lift effect */
.btn-elevate {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-elevate:hover {
    transform: translateY(-1px);
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Coral gradient text utility */
.text-coral-gradient {
    background: linear-gradient(135deg, #ffb896, #f26d3b, #e55224);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .img-zoom img {
        transition: none;
    }
    #mobile-menu {
        max-height: none;
        opacity: 1;
    }
}
