/* ===== Site Header Specific Styles ===== */
/* Golden Particle Animation System */

.site-header {
    position: relative;
    overflow: hidden;
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Pause particles when header is hidden */
.site-header.particles-paused .particle {
    animation-play-state: paused;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 3px #FFD700;
}

/* Particle Animation Keyframes */
@keyframes particle-float-1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translate(150px, -100px);
        opacity: 0;
    }
}

@keyframes particle-float-2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(200px, -110px);
        opacity: 0;
    }
}

@keyframes particle-float-3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate(100px, -95px);
        opacity: 0;
    }
}

@keyframes particle-float-4 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.35;
    }
    100% {
        transform: translate(180px, -105px);
        opacity: 0;
    }
}

@keyframes particle-float-5 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.75;
    }
    90% {
        opacity: 0.45;
    }
    100% {
        transform: translate(120px, -100px);
        opacity: 0;
    }
}

/* Particle Variations - 25 particles evenly distributed across 100% width */
.particle:nth-child(1) {
    left: 0%;
    bottom: 20%;
    animation: particle-float-1 4s ease-out infinite;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 4%;
    bottom: 10%;
    animation: particle-float-2 5.5s ease-out infinite;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 8%;
    bottom: 30%;
    animation: particle-float-3 4.8s ease-out infinite;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 12%;
    bottom: 15%;
    animation: particle-float-4 5.2s ease-out infinite;
    animation-delay: 0.5s;
}

.particle:nth-child(5) {
    left: 16%;
    bottom: 25%;
    animation: particle-float-5 4.5s ease-out infinite;
    animation-delay: 1.5s;
}

.particle:nth-child(6) {
    left: 20%;
    bottom: 20%;
    animation: particle-float-1 5s ease-out infinite;
    animation-delay: 2.5s;
}

.particle:nth-child(7) {
    left: 24%;
    bottom: 10%;
    animation: particle-float-2 4.7s ease-out infinite;
    animation-delay: 3s;
}

.particle:nth-child(8) {
    left: 28%;
    bottom: 30%;
    animation: particle-float-3 5.3s ease-out infinite;
    animation-delay: 0.8s;
}

.particle:nth-child(9) {
    left: 32%;
    bottom: 5%;
    animation: particle-float-4 4.9s ease-out infinite;
    animation-delay: 1.8s;
}

.particle:nth-child(10) {
    left: 36%;
    bottom: 25%;
    animation: particle-float-5 5.1s ease-out infinite;
    animation-delay: 2.8s;
}

.particle:nth-child(11) {
    left: 40%;
    bottom: 15%;
    animation: particle-float-1 4.6s ease-out infinite;
    animation-delay: 3.5s;
}

.particle:nth-child(12) {
    left: 44%;
    bottom: 20%;
    animation: particle-float-2 5.4s ease-out infinite;
    animation-delay: 0.3s;
}

.particle:nth-child(13) {
    left: 48%;
    bottom: 10%;
    animation: particle-float-3 4.4s ease-out infinite;
    animation-delay: 1.3s;
}

.particle:nth-child(14) {
    left: 52%;
    bottom: 28%;
    animation: particle-float-4 5.6s ease-out infinite;
    animation-delay: 2.3s;
}

.particle:nth-child(15) {
    left: 56%;
    bottom: 12%;
    animation: particle-float-5 4.3s ease-out infinite;
    animation-delay: 3.3s;
}

.particle:nth-child(16) {
    left: 60%;
    bottom: 18%;
    animation: particle-float-1 5.7s ease-out infinite;
    animation-delay: 0.7s;
}

.particle:nth-child(17) {
    left: 64%;
    bottom: 22%;
    animation: particle-float-2 4.2s ease-out infinite;
    animation-delay: 1.7s;
}

.particle:nth-child(18) {
    left: 68%;
    bottom: 8%;
    animation: particle-float-3 5.8s ease-out infinite;
    animation-delay: 2.7s;
}

.particle:nth-child(19) {
    left: 72%;
    bottom: 17%;
    animation: particle-float-4 4.1s ease-out infinite;
    animation-delay: 3.7s;
}

.particle:nth-child(20) {
    left: 76%;
    bottom: 13%;
    animation: particle-float-5 5.9s ease-out infinite;
    animation-delay: 0.2s;
}

.particle:nth-child(21) {
    left: 80%;
    bottom: 24%;
    animation: particle-float-1 4.4s ease-out infinite;
    animation-delay: 1.1s;
}

.particle:nth-child(22) {
    left: 84%;
    bottom: 16%;
    animation: particle-float-2 5.2s ease-out infinite;
    animation-delay: 2.1s;
}

.particle:nth-child(23) {
    left: 88%;
    bottom: 19%;
    animation: particle-float-3 4.7s ease-out infinite;
    animation-delay: 3.1s;
}

.particle:nth-child(24) {
    left: 92%;
    bottom: 11%;
    animation: particle-float-4 5.5s ease-out infinite;
    animation-delay: 0.4s;
}

.particle:nth-child(25) {
    left: 96%;
    bottom: 26%;
    animation: particle-float-5 4.8s ease-out infinite;
    animation-delay: 1.4s;
}

/* Bronze/Darker particles for variation */
.particle:nth-child(odd) {
    background: #B8860B;
    box-shadow: 0 0 3px #B8860B;
}

/* Ensure particles stay within header bounds */
.site-header .container {
    position: relative;
    z-index: 2;
}

/* Mobile - Show only 12 particles */
@media (max-width: 768px) {
    .particle:nth-child(n+13) {
        display: none;
    }
}
