/* ============================================
   NAILS AND BEAUTY — Custom Styles
   Bold Editorial | Emerald & Cream
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* --- Selection --- */
::selection {
    background-color: #1a6347;
    color: #fdfbf7;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5eb;
}
::-webkit-scrollbar-thumb {
    background: #a9d3c2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #74b89e;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}
.reveal[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}
.reveal[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}
.reveal[data-reveal-delay="4"] {
    transition-delay: 0.4s;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 99, 71, 0.08);
}

/* --- Hero --- */
#hero {
    position: relative;
}

/* --- Buttons --- */
a {
    text-decoration: none;
}

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

/* --- Form --- */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(116, 184, 158, 0.2);
}

/* --- Image hover --- */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Service card hover --- */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* --- Print --- */
@media print {
    #navbar,
    .reveal {
        display: block !important;
        opacity: 1 !important;
    }
}
