/* 
 * Spiritual Consultation Page Styles 
 * specific to spiritual-consultation.html
 */

/* --- Hero Slider Section --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    z-index: 3;
    position: relative;
    padding: 0 20px;
    transform: translateY(20px);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    opacity: 0;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.slider-nav button {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Animated Graphics in Slider */
.animated-graphic {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.5));
}

.astrology-graphic {
    background-image: radial-gradient(circle, var(--primary-color) 10%, transparent 60%);
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    animation: spin 20s linear infinite;
}

.vastu-graphic {
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 4s ease-in-out infinite;
}

.spiritual-graphic {
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--accent-color);
    animation: pulse 3s infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* --- 3D Cards Section --- */
.section-subtitle {
    margin-bottom: 50px;
    opacity: 0.8;
}

.cards-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    perspective: 1000px; /* Essential for 3D effect */
}

.card-3d-wrapper {
    perspective: 1000px;
}

.card-3d {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-left: 1px solid rgba(255,255,255,0.2);
}

.card-3d-wrapper:hover .card-3d {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: -20px 20px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 153, 51, 0.4);
}

.card-icon-3d {
    font-size: 4rem;
    margin-bottom: 20px;
    transform: translateZ(50px); /* Pops out on hover */
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card-3d h3 {
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.card-3d p {
    margin-bottom: 25px;
    flex-grow: 1;
    transform: translateZ(20px);
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    text-align: left;
    transform: translateZ(25px);
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
}

.card-features span {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-cta {
    transform: translateZ(40px);
    align-self: center;
}

/* --- Detailed Info Section --- */
.info-section {
    background: linear-gradient(180deg, transparent, rgba(20, 10, 20, 0.8) 50%, transparent);
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-list {
    list-style: none;
    margin-top: 40px;
    padding: 0;
}

.process-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.process-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.3);
}

.process-content h4 {
    margin-bottom: 5px;
    color: var(--accent-color);
}

/* Cosmic Animated Graphic */
.info-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.cosmic-circle-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmic-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 153, 51, 0.3);
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.1) inset;
}

.circle-1 {
    width: 100%;
    height: 100%;
    border-top: 2px solid var(--primary-color);
    animation: spin 15s linear infinite;
}

.circle-2 {
    width: 75%;
    height: 75%;
    border-bottom: 2px solid var(--accent-color);
    animation: spin 10s linear infinite reverse;
}

.circle-3 {
    width: 50%;
    height: 50%;
    border-left: 2px solid #fff;
    animation: spin 5s linear infinite;
}

.center-om {
    font-size: 4rem;
    position: absolute;
    z-index: 5;
    animation: pulse 3s infinite;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .info-graphics {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}