/* Custom styles for J Tea Lashes */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #E86A54;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #E86A54;
    color: #FFFFFF;
}

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

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

#mobile-menu.closed {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Hover effects for service cards */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* Image hover effects */
.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Button hover effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Input focus effects */
input:focus, select:focus, textarea:focus {
    border-bottom-color: #E86A54 !important;
}

/* Subtle animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .font-serif {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: clamp(3rem, 5vw, 5rem);
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, button, .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
