/* Custom Override CSS untuk memastikan perubahan terlihat */

/* Override untuk search-header */
.search-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    padding: 2rem 0 !important;
    color: white !important;
}

/* Override untuk search-results-card */
.search-results-card {
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin-bottom: 1.5rem !important;
    background: white !important;
    border-radius: 15px !important;
}

.search-results-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2) !important;
}

/* Tambahan styling untuk memastikan perubahan terlihat */
.search-header h1,
.search-header h2,
.search-header h3,
.search-header h4,
.search-header h5,
.search-header h6 {
    color: white !important;
}

.search-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Debug styling untuk memastikan file ter-load */
body::before {
    content: "Custom CSS Loaded - " attr(data-timestamp);
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 9999;
    display: none;
}

/* Pagination Override Styling */
.pagination .page-link {
    color: #ff6b35 !important;
    border-color: #dee2e6 !important;
    background-color: #fff !important;
}

.pagination .page-link:hover {
    color: #fff !important;
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}

.pagination .page-link:focus {
    color: #fff !important;
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25) !important;
}

.pagination .page-item.active .page-link {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
}

/* University Detail Page Styling */
.hero-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: white !important;
    padding: 80px 0 !important;
    position: relative !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.university-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden !important;
    background: white !important;
}

.university-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.university-card .card-title {
    color: #ff6b35 !important;
    font-weight: 600 !important;
}

.university-card .card-body {
    padding: 1.5rem !important;
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: white !important;
}

/* Map container styling */
#map {
    border: 2px solid #f0f0f0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Badge styling */
.badge {
    font-weight: 500 !important;
    padding: 0.5em 0.75em !important;
}

.badge.bg-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
}

/* Contact info styling */
.contact-info-item {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.contact-info-item:last-child {
    border-bottom: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .university-card .card-body {
        padding: 1rem !important;
    }
    
    .breadcrumb {
        font-size: 0.875rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
    }
}

/* Additional styling for better visual hierarchy */
.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.hero-section .lead {
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.university-card .card-title i {
    width: 20px !important;
    text-align: center !important;
}

/* Hover effects for interactive elements */
.university-card .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

/* Map styling improvements */
#map {
    transition: all 0.3s ease !important;
}

#map:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

/* Cross-browser compatibility */
.university-card {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.university-card:hover {
    -webkit-transform: translateY(-5px) !important;
    -moz-transform: translateY(-5px) !important;
    -ms-transform: translateY(-5px) !important;
    transform: translateY(-5px) !important;
}

/* Print styles */
@media print {
    .hero-section {
        background: #ff6b35 !important;
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    .university-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn {
        display: none !important;
    }
}
