/* ===== CUSTOM STYLES FOR C'SHELL'S BEAUTY SALON ===== */

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #4a9477;
    color: #f0f4f8;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #4a9477;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button hover lift effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(5, 13, 23, 0.1);
}

/* Hero parallax-like subtle effect */
#hero {
    will-change: transform;
}

/* Service card image transition */
.group img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gallery item hover */
.relative.group img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form input transitions */
input, select, textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Testimonial card hover */
.bg-midnight-50.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-midnight-50.rounded-2xl:hover {
    transform: translateY(-4px);
}

/* Decorative diamond separator */
.divider-diamond {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .bg-midnight-50.rounded-2xl:hover {
        transform: none;
    }
}

/* Large screen adjustments */
@media (min-width: 1024px) {
    #hero h1 {
        font-size: 4rem;
    }
}
