/* Page Content CSS */

body {
    font-family: 'Montserrat', sans-serif;
    color: #1e3a8a;
    background-color: #f8fafc;
}


/* Tab Navigation */

.tab-btn {
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: #3b82f6;
    color: #3b82f6;
}

.tab-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Filter Form */

.filter-form {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-form select,
.filter-form input {
    transition: all 0.3s ease;
}

.filter-form select:focus,
.filter-form input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Card Hover Effects Removed */

.card-hover {
    cursor: pointer;
}


/* Card hover removed */


/* Table Styling */

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #1e3a8a;
    color: white;
}

table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

table tbody tr:hover {
    background-color: #f8fafc;
}

table td,
table th {
    padding: 1rem;
    text-align: left;
}


/* Badge Styling */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0c4a6e;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}


/* Loading Animation */

.loader {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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


/* Page Header */

.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.25rem 0.5rem;
    border-bottom: 2px solid #3b82f6;
    margin-bottom: 0.5rem;
}

.page-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e3a8a;
}

.page-header p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
}


/* Scrollbar Styling */

::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}


/* Enhanced Animations for Tentang Kami Page */


/* Section Title Divider Animation */

.w-20.h-1.bg-gradient-to-r {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 5rem;
        opacity: 1;
    }
}


/* Card Hover Animations Removed */

@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}


/* Icon spin animation */

.group-hover\:scale-110 {
    /* No transitions */
}


/* Director Card Animation */

.bg-gradient-to-br.from-primary-dark {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Team Cards Stagger Animation */

.grid.md\:grid-cols-2.lg\:grid-cols-3>div {
    animation: fadeInUp 0.6s ease-out;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(1) {
    animation-delay: 0.1s;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(2) {
    animation-delay: 0.2s;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(3) {
    animation-delay: 0.3s;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(4) {
    animation-delay: 0.4s;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(5) {
    animation-delay: 0.5s;
}

.grid.md\:grid-cols-2.lg\:grid-cols-3>div:nth-child(6) {
    animation-delay: 0.6s;
}


/* Glow Effect Removed */

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.3);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}


/* Enhanced Photo Border Glow */

.rounded-full.border-4.border-white {
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.group:hover .rounded-full.border-4.border-white {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}


/* Smooth Transitions for Contact Icons */

.w-8.h-8.rounded-full {
    transition: all 0.3s ease;
}

.w-8.h-8.rounded-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}


/* Visi Misi Cards */

.bg-gradient-to-br.from-primary-dark.to-dark-blue,
.bg-gradient-to-br.from-accent-blue.to-blue-600 {
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-br.from-primary-dark.to-dark-blue::before,
.bg-gradient-to-br.from-accent-blue.to-blue-600::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: shimmer 15s infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* ============================================
   KONSUMSI IKAN MASYARAKAT - FILTER BUTTONS
   ============================================ */

.konsumsi-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.konsumsi-filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.konsumsi-filter-btn.active {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-color: #06b6d4;
    color: #fff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.konsumsi-filter-btn.active i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}


/* Konsumsi Section Animations */

.konsumsi-section {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Enhanced Card Styling for Insight Page */

.insight-stat-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.insight-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.insight-stat-card:hover::before {
    transform: scaleX(1);
}

.insight-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .konsumsi-filter-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    .konsumsi-filter-btn i {
        font-size: 0.75rem;
    }
}


/* End of pages.css */
