/* Services Page Specific Styles */
#services-page-header.page-header.hero {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url('../images/services/servicesheader.jpg');
    background-attachment: fixed; 
    min-height: 70vh;
    position: center;
    overflow: hidden;
}

/* Crown Animation for Services Page */
#services-page-header .crown-animation {
    margin-bottom: 2rem;
    animation: crownFloat 3s ease-in-out infinite;
}

#services-page-header .crown-animation i {
    font-size: 4rem;
    color: var(--muted-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

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

@keyframes crownSpin {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Particles Background for Services Page */
#services-page-header .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--muted-gold), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--gold), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--muted-gold), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--gold), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--muted-gold), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

#services-page-header .hero-content h1 {
    font-size: 3.5rem; 
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    line-height: 1.2;
}

#services-page-header .hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--muted-gold);
    font-weight: 300;
    margin-bottom: 3rem; 
}

.page-intro-text {
    max-width: 800px;
    margin: 1rem auto 0 auto;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    text-align: center;
}

.services-page-section {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

#services .service-card {
    cursor: pointer; 
}

.service-modal-content { 
    max-width: 850px;
}

.service-modal-body {
    color: #ccc;
    line-height: 1.7;
    text-align: left;
     padding: 2rem 2.5rem;
}

.service-modal-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    font-style: italic;
}

.service-modal-body h4 {
    color: var(--gold);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-modal-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.service-modal-body ul li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.service-modal-cta {
    display: inline-block;
    margin-top: 2rem;
}

.service-modal-body .service-modal-cta-wrapper,
.service-modal-body > .service-modal-cta {
    display: block; 
    width: fit-content; 
    margin-left: auto; 
    margin-right: auto;
    text-align: center;
}

@media (max-width: 768px) {
    #services-page-header .hero-content h1 {
        font-size: 2.5rem; 
    }
    
    #services-page-header .hero-content .subtitle {
        font-size: 1.2rem; 
    }
    
    #services-page-header .crown-animation i {
        font-size: 3rem;
    }
    
    .page-intro-text {
        font-size: 1rem;
    }
    
    .service-modal-intro {
        font-size: 1rem;
    }
    
    .service-modal-body ul li {
        font-size: 0.9rem;
    }
}
