/* Custom styles for Body Shop BY Shannon Measel LCMT */

:root {
    --color-navy-900: #060d1f;
    --color-navy-800: #0a1628;
    --color-navy-700: #0f2140;
    --color-gold-500: #c8952e;
    --color-gold-400: #d4a843;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-navy-900);
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideUp {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

#navbar.scrolled {
    background: rgba(6, 13, 31, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(200, 149, 46, 0.1);
}

/* Selection */
::selection {
    background: rgba(200, 149, 46, 0.3);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: var(--color-navy-900);
}

::-webkit-scrollbar-thumb {
    background: rgba(200, 149, 46, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 149, 46, 0.5);
}

/* Form styles */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

select option {
    background: #0a1628;
    color: #ffffff;
}

/* Image hover effects */
img {
    display: block;
    max-width: 100%;
}

/* Mobile menu transition */
#mobile-menu {
    animation: menuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Mobile link transition */
.mobile-link {
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: #d4a843;
    transform: translateX(4px);
}

/* Service card hover glow */
.group:hover .group-hover\:text-gold-400 {
    color: #d4a843;
}

/* Smooth focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(200, 149, 46, 0.6);
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-slideUp {
        animation: none;
        opacity: 1;
    }
    
    img:hover {
        transform: none;
    }
    
    .group:hover .group-hover\:translate-y-\\[-4px\] {
        transform: none;
    }
}

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

/* Utility */
.glass-card {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
