/* css/style.css */

:root {
    --bs-primary: #007bff; /* Example primary color */
    --bs-secondary: #6c757d;
    --bs-light: #f8f9fa;
    --bs-dark: #343a40;
    --bs-blue: #007bff;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #e83e8c;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #28a745;
    --bs-teal: #20c997;
    --bs-cyan: #17a2b8;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary-rgb: 0,123,255;
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 40,167,69;
    --bs-info-rgb: 23,162,184;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 52,58,64;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light gray background */
    color: #333;
}

/* Header and Navigation */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333 !important; /* Ensure brand name is dark */
}

.navbar-brand img {
    height: 30px;
}

.nav-link {
    font-weight: bold;
    color: #333 !important; /* Ensure nav links are dark */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: #007bff; /* Blue button */
    border-color: #007bff;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #e0f2f7, #c1e7f0); /* Light blue gradient */
    color: #333;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: #555;
}

/* Features Section */
.features-section .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-feature {
    font-size: 3rem;
    color: var(--bs-primary);
}

/* Upload Section */
.upload-section .card {
    border: 2px dashed #007bff; /* Dashed blue border */
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 10px;
}

.upload-section .card-body i {
    color: #007bff; /* Blue icon */
}

.upload-section .btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.upload-section .btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

.badge.bg-secondary {
    background-color: #e9ecef !important; /* Lighter gray for badges */
    color: #495057 !important;
    font-weight: normal;
    border: 1px solid #dee2e6;
}

.upload-section .card.mt-4 {
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.upload-section .card-title i {
    color: #6c757d; /* Gray info icon */
}

/* Materials Section */
.materials-section .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.materials-section .btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.materials-section .badge {
    font-size: 0.75em;
    padding: 0.4em 0.6em;
}

.material-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.material-card .badge {
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    border-radius: 0.25rem;
}

.material-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.material-card .card-body h5 {
    font-weight: bold;
    color: #333;
}

.material-card .card-text {
    font-size: 0.9em;
}

.material-card .badge.bg-light {
    background-color: #e9ecef !important;
    color: #495057 !important;
}

/* CTA Section */
.cta-section {
    background-color: #f4f7f6; /* Light gray */
}

.cta-section i {
    color: #007bff; /* Blue icon */
}

/* Forms */
main form {
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 30px;
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue/gray */
    color: #ecf0f1;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
}

footer a:hover {
    color: var(--bs-primary);
}

footer .list-unstyled li {
    margin-bottom: 8px;
}

footer .list-unstyled li i {
    font-size: 1.1em;
    width: 20px;
}

.footer-legal-links a {
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #fff;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
    .navbar-nav {
        align-items: flex-start;
    }
    .navbar-nav .nav-item {
        margin-left: 0;
        width: 100%;
    }
    .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .d-flex .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .d-flex .btn.me-2 {
        margin-right: 0 !important;
    }
} 