/* Custom styles for The Best of Me Salon */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

/* Scroll Reveal Animations */
.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.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .menu-line {
    background: #e2e8f0 !important;
}

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

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

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

/* Selection */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f1f5f9;
}

/* Gold accent line */
.gold-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #d4a853, #f5c842);
    border-radius: 1px;
}

/* Card hover glow effects */
.glow-teal:hover {
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.15);
}

.glow-amber:hover {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.15);
}

/* Image overlay gradient for cards */
.card-img-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8) 0%, transparent 50%);
}

/* Button shimmer effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s;
}

.btn-shimmer:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* Animated gradient border */
@keyframes border-glow {
    0%, 100% { border-color: rgba(13, 148, 136, 0.3); }
    50% { border-color: rgba(212, 168, 83, 0.3); }
}

.animate-border-glow {
    animation: border-glow 4s ease-in-out infinite;
}

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}
