/* 
 * Service Page Styles for Spiritual Consultancy
 * Extends the main styles.css with service-specific styling
 */

/* ===== Service Header ===== */
.service-header {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.7), rgba(45, 27, 62, 0.9));
    z-index: -1;
}

.service-header-content {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    z-index: 1;
}

.service-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.back-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--light-text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.back-btn i {
    margin-right: 0.5rem;
}

.back-btn:hover {
    color: var(--metallic-gold);
    transform: translateX(-5px);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--deep-purple), var(--rich-black));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--metallic-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-icon i {
    font-size: 3.5rem;
}

/* ===== Service Description Section ===== */
.service-description {
    background-color: var(--rich-black);
    position: relative;
    padding: 4rem 0;
}

.service-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(192, 160, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(192, 160, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.service-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.service-tagline {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-text);
    opacity: 0.9;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-main {
    background: linear-gradient(145deg, rgba(45, 27, 62, 0.6), rgba(26, 26, 26, 0.8));
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-main h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-main h3:first-child {
    margin-top: 0;
}

.service-main p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.service-detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, var(--deep-purple), var(--rich-black));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 1.2rem;
}

.service-features h4 {
    margin-bottom: 0.5rem;
    color: var(--metallic-gold);
}

/* Service Questions List */
.service-questions {
    padding-left: 1.5rem;
}

.service-questions li {
    margin-bottom: 0.8rem;
    position: relative;
}

.service-questions li::before {
    content: '✧';
    color: var(--metallic-gold);
    position: absolute;
    left: -1.5rem;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-details-card,
.service-booking-card,
.testimonial-highlight {
    background: linear-gradient(145deg, rgba(45, 27, 62, 0.6), rgba(26, 26, 26, 0.8));
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-details-list {
    list-style: none;
    padding: 0;
}

.service-details-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(192, 160, 128, 0.2);
}

.service-details-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    color: var(--light-text);
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.detail-label i {
    margin-right: 0.5rem;
    color: var(--metallic-gold);
}

.detail-value {
    color: var(--metallic-gold);
    font-weight: 600;
}

.service-booking-card p {
    margin-bottom: 1.5rem;
}

.service-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-note i {
    color: var(--metallic-gold);
    margin-right: 0.5rem;
}

.testimonial-highlight {
    position: relative;
    padding-top: 2.5rem;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--metallic-gold);
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-highlight p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-author {
    text-align: right;
    color: var(--metallic-gold);
    font-weight: 600;
}

/* ===== Related Services Section ===== */
.related-services {
    background-color: var(--deep-purple);
    position: relative;
    padding: 4rem 0;
}

.related-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://assets.codepen.io/721952/nebula.png');
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.related-services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-service-card {
    background: linear-gradient(145deg, rgba(45, 27, 62, 0.8), rgba(26, 26, 26, 0.9));
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.related-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--deep-purple), var(--rich-black));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--metallic-gold);
}

.related-service-icon i {
    font-size: 1.8rem;
    color: var(--metallic-gold);
}

.related-service-card h3 {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.related-service-card p {
    color: var(--light-text);
    opacity: 0.8;
}

/* ===== Mystical Animations ===== */
.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://assets.codepen.io/721952/magic-particles.png');
    background-size: 500px 500px;
    opacity: 0.1;
    animation: magicParticles 20s linear infinite;
    z-index: 1;
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-header h1 {
        font-size: 2.5rem;
    }
    
    .back-btn {
        top: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .service-features li {
        flex-direction: column;
    }
    
    .service-detail-icon {
        margin-bottom: 1rem;
    }
    
    .service-header {
        height: 50vh;
    }
}
