/* ========================================
   Kim's Nail Spa - Custom Styles
   Deep Navy + Warm Gold Editorial Design
======================================= */

/* CSS Custom Properties */
:root {
    --navy-900: #0a1628;
    --navy-800: #12213d;
    --navy-700: #1a2d4d;
    --navy-600: #243a61;
    --navy-500: #2e4775;
    --gold-600: #b8860b;
    --gold-500: #d4a843;
    --gold-400: #e6c060;
    --gold-300: #f0d48a;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--stone-50);
    color: var(--navy-900);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.font-sans {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Gold Button */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.5);
}

/* Gold Shadow Utility */
.hover\:shadow-gold:hover {
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}

/* Navbar Background Transition */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar Text Color */
.navbar-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-600);
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

/* 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;
    }
}

/* Mobile Menu Link Hover */
.mobile-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Input Styles */
input::placeholder,
textarea::placeholder {
    color: var(--stone-400);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold-500) !important;
}

/* Image Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

/* Print Styles */
@media print {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #navbar,
    #back-to-top,
    #mobile-menu {
        display: none !important;
    }
}
