/* Custom Styles for Black Flame Ritual */

/* Custom Color Palette */
:root {
    --charcoal-50: #f8f9fa;
    --charcoal-100: #f1f3f5;
    --charcoal-200: #e9ecef;
    --charcoal-300: #dee2e6;
    --charcoal-400: #ced4da;
    --charcoal-500: #adb5bd;
    --charcoal-600: #6c757d;
    --charcoal-700: #495057;
    --charcoal-800: #343a40;
    --charcoal-900: #212529;
    --charcoal-950: #1a1d20;
    
    --coral-400: #ff7f7f;
    --coral-500: #ff6b6b;
    --coral-600: #ee5a5a;
    
    --gold-400: #d4a574;
    --gold-500: #c9956b;
    --gold-600: #b8865a;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-500);
}

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

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--coral-400), var(--gold-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(33, 37, 41, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Glow Effects */
.glow-coral {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: none;
}

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

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* 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 Optimizations */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2rem;
    }
    
    h1, .text-7xl {
        font-size: 2.5rem !important;
    }
    
    h2, .text-5xl {
        font-size: 2rem !important;
    }
}
