/* SengHub Professional Enhancement Styles */

/* Fix any potential spacing issues */
.main-content {
    min-height: 60vh;
}

/* Ensure consistent button styling */
.btn-primary {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #000;
}

/* Professional card styling */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Professional listing cards */
.listing-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.listing-card:hover {
    transform: translateY(-2px);
}

/* Professional badge styling */
.badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
}

/* Improved search input styling */
.form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Professional footer links */
.lemon8-footer-link:hover {
    color: #FFD700 !important;
}

/* Enhanced hero section */
.lemon8-hero {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 3rem 0;
}

/* Professional statistics display */
.stats-section {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000;
    padding: 3rem 0;
}

.stats-section .h3 {
    font-weight: bold;
    color: #000;
}

/* Article card enhancements */
.article-card {
    transition: transform 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

/* Professional contact form */
.contact-form .form-control {
    border-radius: 8px;
    padding: 0.75rem;
}

/* Enhanced navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Professional spacing */
section {
    padding: 2rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-weight: bold;
    color: #333;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .stats-section .col-6 {
        margin-bottom: 1rem;
    }
}

/* Loading states for better UX */
.btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.75s linear infinite;
}

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

/* Professional table styling */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
}

/* Enhanced alert styling */
.alert {
    border-radius: 8px;
    border: none;
}

/* Professional pagination */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: none;
    color: #666;
}

.pagination .page-item.active .page-link {
    background-color: #FFD700;
    color: #000;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Professional form validation */
.was-validated .form-control:valid {
    border-color: #28a745;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

/* Smooth transitions */
* {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

/* Fix any text overflow issues */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Professional breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Enhanced dropdown styling */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.dropdown-item:hover {
    background-color: #FFD700;
    color: #000;
}
