/* Additional Styles for Paul Schulz Website */

/* Brand Color Palette - Altar-Inspired */
:root {
    --brand-dark: #2D2A26;    /* Temple Bronze - statue base */
    --brand-gold: #B8956E;    /* Antique Gold - statue jewelry */
    --brand-accent: #B91C1C;  /* Rose Crimson - red roses */
    --brand-light: #F5F0E8;   /* Sacred Ivory - tablecloth */
    --brand-sage: #4A6741;    /* Living Green - plants */
    --brand-text: #3D3A36;    /* Warm Charcoal - readable */
    --brand-muted: #7A7570;   /* Stone Gray - secondary */
}

/* Carousel Styles */
#carousel-container {
    position: relative;
    padding: 0 4rem;
}

#carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item {
    flex-shrink: 0;
    padding: 0 0.75rem;
}

/* Mobile Carousel Adjustments */
@media (max-width: 768px) {
    #carousel-container {
        padding: 0 2rem;
    }
    
    #carousel-prev,
    #carousel-next {
        display: none;
    }
}

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

/* Nav Initiation - Glow Effect */
.nav-initiation {
    color: var(--brand-gold) !important;
    text-shadow: 0 0 12px rgba(184, 149, 110, 0.6), 0 0 24px rgba(184, 149, 110, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-initiation:hover {
    text-shadow: 0 0 16px rgba(184, 149, 110, 0.9), 0 0 32px rgba(184, 149, 110, 0.6);
    color: var(--brand-gold) !important;
}

/* Accessibility Improvements */
button:focus,
a:focus {
    outline: 2px solid #B8956E;
    outline-offset: 2px;
}

/* Loading States */
.carousel-item {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Performance Optimizations */
.carousel-item img {
    will-change: transform;
}

/* Print Styles */
@media print {
    nav,
    footer,
    #carousel-prev,
    #carousel-next {
        display: none;
    }
}

/* Path of Initiation Timeline Styles */
#path-of-initiation .timeline-line {
    background: linear-gradient(to right, #B8956E, #4A6741, #B8956E);
    height: 2px;
}

/* Badge Styles */
.badge-start-here {
    position: relative;
    display: inline-block;
}

.badge-start-here::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -6px;
    width: 8px;
    height: 8px;
    background: #B8956E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Progress Bar Animation */
#steps .progress-bar {
    transition: width 0.6s ease-in-out;
}

/* Navigation Badge Positioning - REMOVED: was causing extra padding on Services link */

/* Smooth Scroll for Anchor Links */
html {
    scroll-padding-top: 100px;
}

/* Hover Effects for Path of Initiation Cards */
#path-of-initiation .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#path-of-initiation .bg-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Steps Section Enhancements */
#steps .border-brand-gold {
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.1);
}

/* CTA Section Background Pattern */
section.bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Testimonials Grid Responsive */
@media (max-width: 768px) {
    #testimonials .grid {
        grid-template-columns: 1fr;
    }
}

/* Services Featured Card Animation */
section#services .bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

section#services .bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Mobile Navigation Badge */
@media (max-width: 768px) {
    nav a[href="services.html"] span {
        display: inline-block;
        margin-left: 0.5rem;
    }
}

/* Footer Journey Button Enhancement */
footer a.bg-brand-gold {
    transition: all 0.3s ease;
}

footer a.bg-brand-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(197, 160, 101, 0.3);
}

/* Path of Initiation Mobile Arrow Animation */
@media (max-width: 768px) {
    #path-of-initiation [data-lucide="arrow-down"] {
        animation: bounce 2s infinite;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========================================
   HERO SECTION - Typography Impact
   ======================================== */

/* Hero Entrance Animations */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes heroGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(192, 165, 117, 0.2);
    }
    50% {
        text-shadow: 0 0 80px rgba(192, 165, 117, 0.4);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

/* Hero Animation Classes */
.hero-animate {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate-delay-1 {
    animation-delay: 0.1s;
}

.hero-animate-delay-2 {
    animation-delay: 0.3s;
}

.hero-animate-delay-3 {
    animation-delay: 0.5s;
}

.hero-animate-delay-4 {
    animation-delay: 0.7s;
}

.hero-animate-delay-5 {
    animation-delay: 0.9s;
}

/* Hero Headline Glow Effect */
.hero-headline {
    text-shadow: 0 0 60px rgba(192, 165, 117, 0.25);
}

.hero-headline.hero-animate {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroGlow 4s ease-in-out infinite 1.5s;
}

/* Hero Gold Line */
.hero-gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #B8956E, transparent);
    animation: lineExpand 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Hero CTA Button Enhancement */
.hero-cta-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(184, 149, 110, 0.4);
}

/* Hero Secondary Link */
.hero-cta-secondary {
    position: relative;
    transition: all 0.3s ease;
}

.hero-cta-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #B8956E;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.hero-cta-secondary:hover::after {
    width: 100%;
}

.hero-cta-secondary:hover {
    color: #B8956E;
}

/* Responsive Hero Typography */
@media (min-width: 1280px) {
    .hero-headline-xl {
        font-size: 5.5rem;
        line-height: 1.05;
    }
}

@media (min-width: 1536px) {
    .hero-headline-xl {
        font-size: 6.5rem;
    }
}

/* ========================================
   MYSTICAL SECTION ANIMATIONS
   ======================================== */

/* Floating Animation for Sacred Geometry Shapes */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-30px) rotate(55deg);
    }
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

/* Floating Particles Animation */
@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(-5px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(-10px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
}

.animate-float-particle {
    animation: float-particle 6s ease-in-out infinite;
}

/* Very Slow Spin for Large Circles */
@keyframes spin-very-slow {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.animate-spin-very-slow {
    animation: spin-very-slow 40s linear infinite;
}

@keyframes spin-very-slow-reverse {
    from {
        transform: translateX(-50%) rotate(360deg);
    }
    to {
        transform: translateX(-50%) rotate(0deg);
    }
}

.animate-spin-very-slow-reverse {
    animation: spin-very-slow-reverse 50s linear infinite;
}

/* Twinkle Animation for Stars */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

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

/* Slow Pulse for Gradient Orbs */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

/* Bounce Slow Animation */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* ========================================
   TIPHERET - THE GREAT WORK ANIMATIONS
   Divine Light, Beauty & Harmony
   ======================================== */

/* Golden Sun Glow - The Light of Tipheret */
@keyframes tipheret-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(184, 149, 110, 0.3),
                    0 0 40px rgba(184, 149, 110, 0.2),
                    0 0 60px rgba(184, 149, 110, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(184, 149, 110, 0.5),
                    0 0 60px rgba(184, 149, 110, 0.3),
                    0 0 90px rgba(184, 149, 110, 0.2);
    }
}

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

/* Divine Light Rays */
@keyframes light-rays {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

.animate-light-rays {
    animation: light-rays 30s linear infinite;
}

/* Sacred Shimmer Effect */
@keyframes sacred-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.animate-sacred-shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(184, 149, 110, 0.4) 25%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(184, 149, 110, 0.4) 75%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: sacred-shimmer 3s ease-in-out infinite;
}

/* Celestial Orbit */
@keyframes celestial-orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

.animate-celestial-orbit {
    animation: celestial-orbit 20s linear infinite;
}

/* Golden Pulse Border */
@keyframes golden-pulse-border {
    0%, 100% {
        border-color: rgba(184, 149, 110, 0.3);
        box-shadow: 0 0 0 0 rgba(184, 149, 110, 0.4);
    }
    50% {
        border-color: rgba(184, 149, 110, 0.8);
        box-shadow: 0 0 20px 5px rgba(184, 149, 110, 0.3);
    }
}

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

/* Ascending Light */
@keyframes ascending-light {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%) scale(1.5);
        opacity: 0;
    }
}

.animate-ascending-light {
    animation: ascending-light 4s ease-out infinite;
}

/* Radiant Halo */
@keyframes radiant-halo {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
        filter: blur(20px);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
        filter: blur(30px);
    }
}

.animate-radiant-halo {
    animation: radiant-halo 5s ease-in-out infinite;
}

/* Star Burst */
@keyframes star-burst {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.8;
    }
}

.animate-star-burst {
    animation: star-burst 8s ease-in-out infinite;
}

/* Divine Breath - Expansion/Contraction */
@keyframes divine-breath {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.animate-divine-breath {
    animation: divine-breath 6s ease-in-out infinite;
}

/* Ethereal Float */
@keyframes ethereal-float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) translateX(-5px) rotate(-3deg);
    }
    75% {
        transform: translateY(-10px) translateX(-10px) rotate(3deg);
    }
}

.animate-ethereal-float {
    animation: ethereal-float 8s ease-in-out infinite;
}

/* Mystic Reveal */
@keyframes mystic-reveal {
    0% {
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
    }
    100% {
        clip-path: circle(100% at 50% 50%);
        opacity: 1;
    }
}

.animate-mystic-reveal {
    animation: mystic-reveal 1.5s ease-out forwards;
}

/* Glowing Text */
@keyframes glowing-text {
    0%, 100% {
        text-shadow: 0 0 10px rgba(184, 149, 110, 0.5),
                     0 0 20px rgba(184, 149, 110, 0.3),
                     0 0 30px rgba(184, 149, 110, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(184, 149, 110, 0.8),
                     0 0 40px rgba(184, 149, 110, 0.5),
                     0 0 60px rgba(184, 149, 110, 0.3),
                     0 0 80px rgba(184, 149, 110, 0.2);
    }
}

.animate-glowing-text {
    animation: glowing-text 3s ease-in-out infinite;
}

/* Sacred Geometry Rotation */
@keyframes sacred-rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-sacred-rotation {
    animation: sacred-rotation 60s linear infinite;
}

.animate-sacred-rotation-reverse {
    animation: sacred-rotation 60s linear infinite reverse;
}

/* Flame Flicker */
@keyframes flame-flicker {
    0%, 100% {
        transform: scaleY(1) scaleX(1);
        opacity: 0.8;
    }
    25% {
        transform: scaleY(1.1) scaleX(0.95);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.95) scaleX(1.05);
        opacity: 0.9;
    }
    75% {
        transform: scaleY(1.05) scaleX(0.98);
        opacity: 1;
    }
}

.animate-flame-flicker {
    animation: flame-flicker 2s ease-in-out infinite;
}

/* Light Beam */
@keyframes light-beam {
    0% {
        transform: translateX(-100%) skewX(-20deg);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(200%) skewX(-20deg);
        opacity: 0;
    }
}

.animate-light-beam {
    animation: light-beam 4s ease-in-out infinite;
}

/* Hexagram Spin */
@keyframes hexagram-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.animate-hexagram-spin {
    animation: hexagram-spin 20s ease-in-out infinite;
}

/* Utility Classes for Glow Effects */
.glow-gold {
    box-shadow: 0 0 20px rgba(184, 149, 110, 0.4),
                0 0 40px rgba(184, 149, 110, 0.2);
}

.glow-gold-intense {
    box-shadow: 0 0 30px rgba(184, 149, 110, 0.6),
                0 0 60px rgba(184, 149, 110, 0.4),
                0 0 90px rgba(184, 149, 110, 0.2);
}

.glow-crimson {
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.4),
                0 0 40px rgba(185, 28, 28, 0.2);
}

.glow-white {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                0 0 60px rgba(255, 255, 255, 0.3);
}

.text-glow-gold {
    text-shadow: 0 0 10px rgba(184, 149, 110, 0.5),
                 0 0 20px rgba(184, 149, 110, 0.3);
}

.text-glow-gold-intense {
    text-shadow: 0 0 20px rgba(184, 149, 110, 0.8),
                 0 0 40px rgba(184, 149, 110, 0.5),
                 0 0 60px rgba(184, 149, 110, 0.3);
}

/* Gradient Glow Backgrounds */
.bg-glow-radial {
    background: radial-gradient(circle at center, 
        rgba(184, 149, 110, 0.3) 0%, 
        transparent 70%);
}

.bg-glow-radial-intense {
    background: radial-gradient(circle at center, 
        rgba(184, 149, 110, 0.5) 0%, 
        rgba(184, 149, 110, 0.2) 30%,
        transparent 70%);
}

/* Animated Border Glow */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        rgba(184, 149, 110, 0.5), 
        rgba(185, 28, 28, 0.3), 
        rgba(184, 149, 110, 0.5));
    border-radius: inherit;
    z-index: -1;
    animation: tipheret-glow 4s ease-in-out infinite;
}

/* Floating Orb Styles */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.floating-orb-gold {
    background: radial-gradient(circle, rgba(184, 149, 110, 0.6) 0%, transparent 70%);
}

.floating-orb-crimson {
    background: radial-gradient(circle, rgba(185, 28, 28, 0.4) 0%, transparent 70%);
}

.floating-orb-white {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}
