/* Custom styles for Alteration's and more */

:root {
    --burgundy-700: #a11636;
    --burgundy-900: #6e132e;
    --burgundy-950: #3d0611;
    --gold-400: #d4a853;
    --dark-950: #0a0a0d;
    --dark-900: #121216;
    --dark-850: #1a1a1f;
}

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

/* Selection color */
::selection {
    background: rgba(161, 22, 54, 0.5);
    color: #f5f5f5;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-950);
}
::-webkit-scrollbar-thumb {
    background: var(--burgundy-900);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-700);
}

/* Reveal animations (progressive enhancement) */
.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[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal="hidden"] {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Gold shimmer on hover for cards */
.group:hover .group-hover\:border-gold-400\/20 {
    border-color: rgba(212, 168, 83, 0.2);
}

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

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

/* Subtle pulse for CTA buttons */
@keyframes softPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(161, 22, 54, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(161, 22, 54, 0.15);
    }
}

/* Form styles */
input, textarea {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f5f5f5 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

input:focus, textarea:focus {
    border-color: rgba(212, 168, 83, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1) !important;
    outline: none !important;
}

input::placeholder, textarea::placeholder {
    color: rgba(156, 163, 175, 0.6) !important;
}

/* Success message */
.success-message {
    animation: fadeInUp 0.5s ease-out;
}

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