/* =========================================
   Jyotirlinga Darshan Page Styles
   ========================================= */

/* --- 1. Hero Slider --- */
.jyotirlinga-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 5, 16, 0.6), var(--color-bg-dark));
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    opacity: 0;
    transition: all 0.5s ease 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slide-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--color-accent-glow);
}

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

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--color-primary-start);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--color-primary-end);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* --- 2. Interactive 3D Tilt Cards --- */
.jyotirlingas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.jyotirlinga-card {
    background-color: transparent;
    width: 100%;
    height: 420px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
}

.jyotirlinga-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-front {
    background-size: cover;
    background-position: center;
}

.front-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 5, 16, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.front-overlay h3 {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: var(--color-primary-end);
    text-shadow: 0 0 15px rgba(255, 153, 51, 0.8);
}

.card-back {
    background: linear-gradient(135deg, var(--color-bg-dark), #2a0800);
    border: 1px solid var(--color-primary-start);
    color: var(--color-text-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.card-back .location {
    color: var(--color-primary-start);
    font-weight: 600;
    margin: 10px 0 20px;
    font-size: 1.1rem;
}

.card-back .body-text {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.small-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* --- 3. Detailed Info & Animated Graphics --- */
.tour-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tour-text {
    padding: 40px;
    border: 1px solid var(--glass-border);
}

.tour-text h3 {
    font-size: 2rem;
    color: var(--color-primary-start);
    margin-bottom: 20px;
}

.tour-text p {
    margin-bottom: 20px;
}

.animated-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 153, 51, 0.2);
    padding-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-end);
    text-shadow: 0 0 15px var(--color-accent-glow);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* Shiva Lingam Animation */
.tour-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

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

.lingam {
    width: 100px;
    height: 180px;
    background: linear-gradient(145deg, #444, #111);
    border-radius: 50px 50px 10px 10px;
    position: relative;
    z-index: 2;
    box-shadow: inset -10px -10px 20px rgba(0,0,0,0.8), inset 10px 10px 20px rgba(255,255,255,0.1);
}

.lingam::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 160px;
    height: 40px;
    background: linear-gradient(145deg, #333, #0a0a0a);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

/* Tripund (Three horizontal lines) */
.lingam::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background: 
        linear-gradient(to right, transparent, #fff, transparent) top/100% 4px no-repeat,
        linear-gradient(to right, transparent, #fff, transparent) center/100% 4px no-repeat,
        linear-gradient(to right, transparent, #fff, transparent) bottom/100% 4px no-repeat;
    opacity: 0.8;
    z-index: 3;
}

.aura {
    position: absolute;
    width: 250px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.4) 0%, transparent 70%);
    z-index: 1;
    animation: pulseAura 4s infinite alternate;
}

@keyframes pulseAura {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9933;
    animation: floatParticle linear infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% { transform: translateY(50px) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* --- 4. Package Inclusions & CTA --- */
.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.inclusion-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary-start);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.1);
}

.inclusion-item .icon {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .tour-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .animated-stats {
        flex-direction: column;
        gap: 20px;
    }
}