/* Custom styles for Khandoba Mandir Sansthan */
.nav-active {
    border-bottom: 2px solid #FFD700;
    color: #FFD700;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
}

/* Common styles for Khandoba Temple website */

/* Utility classes */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.transform {
    transition: transform 0.3s ease;
}

/* Transition utilities */
.transition-all {
    transition: all 0.3s ease;
}

/* Enhanced shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Word breaking for UPI IDs */
.break-all {
    word-break: break-all;
}

/* Sticky positioning for QR code on larger screens */
@media (min-width: 1024px) {
    .lg\:sticky {
        position: sticky;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Ensure text remains readable on mobile */
    .text-sm-mobile {
        font-size: 0.875rem;
    }
    
    /* Better touch targets */
    button, a {
        min-height: 44px;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .bg-gradient-to-r {
        background: #FFD700 !important;
    }
}

/* Loading animations */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* File type specific colors */
.file-pdf {
    color: #F40F02;
}

.file-doc {
    color: #2B579A;
}

.file-zip {
    color: #FF9800;
}

/* Form input focus states */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

/* Loading spinner */
#spinner {
    z-index: 9999;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}