/* Pilgrimage Tours CSS */

/* =========================================
   1. Hero Banner Slider
   ========================================= */
.tour-hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    margin-top: 80px; /* Offset for fixed nav */
}

.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;
    text-align: center;
    z-index: 1;
}

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

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* Gradients as placeholders for backgrounds */
.slide-bg-1 {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), linear-gradient(45deg, var(--secondary-color), var(--bg-dark));
}
.slide-bg-2 {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), linear-gradient(135deg, var(--primary-color), var(--bg-dark));
}
.slide-bg-3 {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), linear-gradient(225deg, #6b2157, var(--bg-dark));
}

.slide-content {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s ease-out 0.5s, opacity 1s ease-out 0.5s;
}

.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;
    color: var(--text-light);
}

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

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

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

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

/* =========================================
   2. Interactive 3D Tour Cards
   ========================================= */
.tour-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.card-3d-container {
    perspective: 1000px;
    height: 450px;
}

.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-3d-container:hover .card-3d {
    transform: rotateY(180deg);
}

.card-3d-front,
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-3d-front {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.img-chardham { background: linear-gradient(45deg, #1e3c72, #2a5298); }
.img-jyotirlinga { background: linear-gradient(45deg, #e65c00, #F9D423); }
.img-shakti { background: linear-gradient(45deg, #cb2d3e, #ef473a); }

.hover-hint {
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.card-3d-back {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    transform: rotateY(180deg);
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.2);
}

.tour-highlights {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
    width: 100%;
}

.tour-highlights li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.tour-highlights li::before {
    content: '✨';
    margin-right: 10px;
    font-size: 0.8rem;
}

/* =========================================
   3. Detailed Information & Animations
   ========================================= */
.detailed-info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.animated-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.animated-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Keyframe Animations */
.anim-pulse { animation: pulseIcon 2s infinite alternate; }
.anim-float { animation: floatIcon 3s infinite ease-in-out; }
.anim-spin { animation: spinIcon 10s infinite linear; }

@keyframes pulseIcon {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 153, 0, 0); }
    100% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 153, 0, 0.5); }
}

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

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

/* Graphics Container */
.info-graphics {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255,153,0,0.1) 0%, transparent 70%);
}

.animated-mandala {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: rotateMandala 20s linear infinite;
    opacity: 0.5;
}

.animated-mandala::before, .animated-mandala::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
}
.animated-mandala::after {
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 1px dotted var(--text-light);
}

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

.floating-temple {
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9900"><path d="M12 2L2 12h3v8h14v-8h3L12 2zm0 2.83L18.17 11H17v7H7v-7H5.83L12 4.83zM11 13h2v4h-2v-4z"/></svg>') no-repeat center;
    background-size: contain;
    animation: floatIcon 4s infinite ease-in-out;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.6;
    filter: blur(10px);
    animation: pulse 3s infinite alternate;
}

.orb-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 100px;
    height: 100px;
    bottom: 5%;
    right: 5%;
    animation-delay: 1.5s;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

/* Responsive */
@media (max-width: 768px) {
    .detailed-info-layout {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
}