@import url('style.css');

/* Temples Page Specific Styles */

/* Temples Hero Section */
.temples-hero {
    padding: 140px 0 80px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.temples-hero-image {
    position: relative;
    display: inline-block;
}

.temples-hero-image img {
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255,255,255,0.5);
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.temples-hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Temple Detail Cards */
.temple-detail-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-left: 4px solid var(--gold);
    transition: all 0.4s ease;
    position: relative;
}

.temple-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.temple-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gold);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(245, 176, 65, 0.3);
}

.temple-title {
    margin-bottom: 1rem;
    padding-right: 120px;
}

.temple-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    background: rgba(245, 176, 65, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
}

.meta-item i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.temple-content {
    line-height: 1.8;
    color: #555;
}

.temple-content p {
    margin-bottom: 1rem;
}

.temple-significance {
    background: rgba(245, 176, 65, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    margin-top: 1.5rem;
    font-style: italic;
}

.temple-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.temple-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.temple-detail-card:hover .temple-main-image img {
    transform: scale(1.05);
}

/* Pilgrimage Planning Section */
.pilgrimage-planning {
    background: linear-gradient(135deg, rgba(255,250,242,0.8) 0%, rgba(255,232,204,0.8) 100%);
    position: relative;
}

.pilgrimage-planning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(245, 176, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(107, 29, 29, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.pilgrimage-features {
    padding: 2rem 0;
}

.pilgrimage-features .col-md-4 {
    text-align: center;
    padding: 1.5rem;
}

.pilgrimage-features h5 {
    color: var(--maroon);
    margin-bottom: 0.5rem;
}

.pilgrimage-features p {
    font-size: 0.9rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .temples-hero {
        padding: 120px 0 60px;
        min-height: auto;
        text-align: center;
    }
    
    .temples-hero-image img {
        transform: none;
        margin-top: 2rem;
    }
    
    .temple-detail-card {
        padding: 1.5rem;
    }
    
    .temple-title {
        padding-right: 0;
        font-size: 1.5rem;
    }
    
    .temple-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    .temple-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .meta-item {
        justify-content: center;
        text-align: center;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .temples-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .temple-detail-card {
        padding: 1rem;
    }
}

/* Animation Enhancements */
.temple-detail-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.temple-detail-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile spacing for temple cards */
@media (max-width: 768px) {
    .temple-detail-card {
        margin-bottom: 3rem !important;
    }
    
    .temple-main-image {
        margin-bottom: 1.5rem;
    }
}

/* Ensure proper image sizing on mobile */
.temple-main-image img {
    width: 100%;
    height: auto;
    min-height: 250px;
}

/* Enhance temple badge visibility */
.temple-badge {
    z-index: 10;
    font-size: 0.8rem;
    padding: 6px 15px;
}

/* Improve text readability */
.temple-content {
    font-size: 1rem;
    line-height: 1.7;
}

.temple-significance {
    font-size: 1.05rem;
    line-height: 1.6;
}