/* Additional styles for Village Panchayat Website */

/* Accounts & Expenditure Page Styles */
.document-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.document-link {
    color: #0056b3;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.document-link:hover {
    color: #003973;
    text-decoration: none;
}

.document-link i {
    margin-right: 8px;
}

.document-card .card-footer {
    background-color: rgba(0, 86, 179, 0.05);
    border-top: none;
    padding: 15px 20px;
}

/* Forms Page Styles */
.form-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-card .card-body {
    flex: 1;
}

.form-card .card-title {
    color: #0056b3;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-icon {
    background-color: rgba(0, 86, 179, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-icon i {
    font-size: 2rem;
    color: #0056b3;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #0056b3;
    color: #0056b3;
    background-color: transparent;
}

.download-btn:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.download-btn i {
    margin-right: 8px;
}

/* Shared page title styles */
.page-title-section {
    background: linear-gradient(to right, rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)), url('assets/images/pattern.png');
    padding: 50px 0;
    color: white;
    position: relative;
}

.page-title-section h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* RTI Page Styles */
.rti-table {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.rti-table th {
    background-color: #0056b3;
    color: white;
    font-weight: 600;
    border: none;
}

.rti-table .table-hover tbody tr:hover {
    background-color: #f0f7ff;
}

.badge {
    padding: 6px 10px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.75rem;
}

.badge-warning {
    background-color: #ffb003;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-secondary {
    background-color: #6c757d;
}

.btn-outline-primary {
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

/* Notices & Tenders Page */
.notice-tender-section {
    margin-bottom: 40px;
}

.notice-tender-section .table th {
    vertical-align: middle;
    font-weight: 600;
}

.notice-tender-section .table td {
    vertical-align: middle;
}

.notice-date {
    background-color: #f0f7ff;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    color: #0056b3;
}

.notice-content, .tender-content {
    color: #444;
    line-height: 1.5;
}

/* Gallery Page Styles */
.album-card {
    border: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.album-cover {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 86, 179, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay .btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.album-overlay .btn:hover {
    transform: scale(1.1);
}

/* Gallery Detail Page Styles */
.gallery-container {
    margin-top: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
    background-color: #f8f9fa;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 86, 179, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.1);
}

/* Lightbox Customizations */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Proceedings Page Styles */
.nav-pills .nav-link {
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 500;
    color: #0056b3;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.nav-pills .nav-link:not(.active):hover {
    background-color: rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

.proceedings-type-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f7ff;
    border-radius: 10px;
    border-left: 4px solid #0056b3;
}

/* Contact Page Styles */
.map-container {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 500;
    color: #444;
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
    border-radius: 5px;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 86, 179, 0.3);
}

.office-hours {
    background-color: #f0f7ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #0056b3;
}

.office-hours h4 {
    color: #0056b3;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title-section {
        padding: 30px 0;
    }
    
    .page-title-section h1 {
        font-size: 1.8rem;
    }
    
    .page-title-description {
        font-size: 0.95rem;
    }
    
    .document-icon, .form-icon {
        transform: scale(0.8);
        margin-bottom: 10px;
    }
    
    .download-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}