/* =============================================
   Enhanced Service Detail Page Styles
   ============================================= */

/* Hero Section Styles */
.detail-hero {
    background: linear-gradient(135deg, #cc5500 0%, #e65c00 50%, #ff751a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.detail-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.detail-hero::after {
    content: "ॐ";
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    color: #ffd700;
    font-family: 'Noto Sans Devanagari', sans-serif;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    pointer-events: none;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.detail-om {
    font-size: 80px;
    color: #ffd700;
    margin-bottom: 20px;
    animation: omGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.detail-subtitle {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 0;
}

/* Breadcrumb Styles */
.detail-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-breadcrumb a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.detail-breadcrumb .separator {
    color: #ffd700;
    opacity: 0.7;
}

.detail-breadcrumb .current {
    color: #ffd700;
    font-weight: 500;
}

/* Main Content Section */
.detail-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff8e1 100%);
}

/* Card Styles */
.detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffe0b2;
    margin-bottom: 30px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(204, 85, 0, 0.2);
    border-color: #ffd700;
}

.detail-card h3 {
    color: #cc5500;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card h3 i {
    color: #ffd700;
    font-size: 24px;
}

.detail-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 15px;
}

/* Image Styles */
.detail-image {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.detail-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 5px solid #ffd700;
    box-shadow: 0 10px 40px rgba(204, 85, 0, 0.3);
    transition: all 0.5s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(204, 85, 0, 0.4);
}

.detail-image::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 7%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px dashed #ffd700;
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Badge Styles */
.deity-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #cc5500;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Quote Section */
.detail-quote {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #ffffff;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.detail-quote::before {
    content: "ॐ";
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    color: #ffd700;
    top: -20px;
    left: -20px;
}

.detail-quote p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 15px;
}

.detail-quote .quote-source {
    font-size: 16px;
    color: #ffd700;
    font-weight: 600;
}

/* Feature Box Styles */
.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #ffcc80;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 85, 0, 0.2);
}

.feature-box i {
    font-size: 36px;
    color: #cc5500;
    margin-bottom: 15px;
}

.feature-box h4 {
    color: #cc5500;
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #cc5500;
}

.story-section h3 {
    color: #cc5500;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.story-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.story-content p {
    margin-bottom: 15px;
}

/* Symbolism Section */
.symbolism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.symbolism-item {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.symbolism-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 85, 0, 0.2);
}

.symbolism-item i {
    font-size: 40px;
    color: #cc5500;
    margin-bottom: 15px;
}

.symbolism-item h4 {
    color: #cc5500;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.symbolism-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Powers Section */
.powers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.powers-list li {
    padding: 15px 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.powers-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(204, 85, 0, 0.15);
}

.powers-list li i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc5500;
    font-size: 16px;
    flex-shrink: 0;
}

.powers-list li span {
    font-size: 16px;
    color: #333;
}

/* Mantra Section */
.mantra-card {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

.mantra-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(204, 85, 0, 0.2);
}

.mantra-card h4 {
    color: #cc5500;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mantra-card .mantra-text {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.mantra-card .mantra-meaning {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Related Deities Section */
.related-deities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-deity-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.related-deity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(204, 85, 0, 0.2);
}

.related-deity-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.related-deity-card .deity-info {
    padding: 15px;
}

.related-deity-card h4 {
    color: #cc5500;
    font-size: 16px;
    margin-bottom: 5px;
}

.related-deity-card a {
    color: #e65100;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.related-deity-card a:hover {
    color: #ffd700;
}

/* FAQ Section */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
}

.faq-question h4 {
    color: #cc5500;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: #cc5500;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Temples Section */
.temples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.temple-card {
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

.temple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(204, 85, 0, 0.2);
}

.temple-icon {
    font-size: 48px;
    color: #cc5500;
    margin-bottom: 15px;
}

.temple-card h4 {
    color: #cc5500;
    font-size: 20px;
    margin-bottom: 10px;
}

.temple-location {
    color: #e65100;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.temple-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Regional Traditions Section */
.traditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.traditions-list li {
    padding: 12px 15px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.traditions-list li:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
}

.traditions-list li i {
    color: #cc5500;
    font-size: 16px;
    flex-shrink: 0;
}

.traditions-list li span {
    color: #333;
    font-size: 15px;
}

/* Gallery Section */
.gallery-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-mini-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-mini-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-mini-item:hover img {
    transform: scale(1.1);
}

.gallery-mini-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(204, 85, 0, 0.8), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
}

.gallery-mini-item:hover .overlay {
    opacity: 1;
}

.gallery-mini-item .overlay i {
    color: #ffd700;
    font-size: 24px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "ॐ";
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    color: #ffd700;
    top: -30px;
    left: -30px;
}

.cta-section h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #ffd700;
    color: #cc5500;
}

.cta-btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-btn-secondary:hover {
    background: #ffffff;
    color: #cc5500;
    transform: translateY(-3px);
}

/* Back Button */
.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffd700;
    color: #cc5500;
    border-radius: 25px 0 25px 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.back-btn:hover {
    background: #cc5500;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Animations */
@keyframes omGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        opacity: 0.9;
    }
    50% { 
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
        opacity: 1;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #cc5500;
    margin-bottom: 15px;
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #cc5500, #ffd700, #cc5500);
    margin: 0 auto;
    border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .detail-title {
        font-size: 32px;
    }
    
    .detail-om {
        font-size: 50px;
    }
    
    .detail-card {
        padding: 25px;
    }
    
    .detail-image img {
        width: 200px;
        height: 200px;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 30px;
    }
    
    .cta-section h3 {
        font-size: 24px;
    }
    
    .related-deities {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-deity-card img {
        height: 225px;
    }
    
    .symbolism-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 26px;
    }
    
    .detail-subtitle {
        font-size: 18px;
    }
    
    .detail-breadcrumb {
        font-size: 12px;
    }
    
    .detail-card h3 {
        font-size: 22px;
    }
    
    .detail-quote p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
}
