/* ====================================================
   UNIFIED STYLES FOR MFLU FUNGARIUM WEBSITE
   ==================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ====================================================
   NAVBAR STYLES
   ==================================================== */

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #f8f9fa !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.2);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ====================================================
   FOOTER STYLES
   ==================================================== */

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

/* Footer with background image (like old navfooter) */
footer.footer-bg-1 {
    background: url('../images/bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

footer.footer-bg-1:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgba(0,0,0,0.7);
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

footer p {
    color: #bdc3c7;
    line-height: 1.6;
}

footer ul.list-unstyled li {
    margin-bottom: 0.5rem;
}

footer ul.list-unstyled li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul.list-unstyled li a:hover {
    color: #fff;
    text-decoration: none;
}

footer hr {
    border-color: rgba(255,255,255,0.2);
    margin: 2rem 0 1rem;
}

footer .text-muted {
    color: #95a5a6 !important;
}

/* Enhanced footer styling for background image version */
footer.footer-bg-1 h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

footer.footer-bg-1 p {
    color: #f8f9fa;
    line-height: 1.7;
}

footer.footer-bg-1 ul.list-unstyled li a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer.footer-bg-1 ul.list-unstyled li a:hover {
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
}

footer.footer-bg-1 hr {
    border-color: rgba(255,255,255,0.3);
    margin: 2rem 0 1.5rem;
}

/* ====================================================
   COMMON COMPONENT STYLES
   ==================================================== */

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 6rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ====================================================
   RESPONSIVE DESIGN
   ==================================================== */

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 5rem 0 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* ====================================================
   UTILITY CLASSES
   ==================================================== */

.text-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-success-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-warning-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.bg-warning-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ====================================================
   ANIMATIONS
   ==================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ====================================================
   SPACING UTILITIES
   ==================================================== */

.section-padding {
    padding: 4rem 0;
}

.section-padding-sm {
    padding: 2rem 0;
}

.section-padding-lg {
    padding: 6rem 0;
}

.mt-navbar {
    margin-top: 76px; /* Adjust based on your navbar height */
}

/* ====================================================
   TABLE STYLES
   ==================================================== */

.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ====================================================
   FORM STYLES
   ==================================================== */

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}
