/* Custom styles for CIS 376 Jekyll site */

/* Hero section styling */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Assignment difficulty stars */
.difficulty-stars .fa-star {
    font-size: 0.9rem;
}

/* Code syntax highlighting improvements */
pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
}

code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.875em;
}

pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Navigation improvements */
.navbar-brand {
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Content spacing */
.content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

/* Assignment metadata styling */
.assignment-info {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin: 1rem 0;
}

/* Resource category badges */
.resource-category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #6c757d;
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Table styling */
table {
    margin: 1rem 0;
}

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

/* Alert customizations */
.alert {
    border: none;
    border-radius: 8px;
}

.alert-primary {
    background-color: #e3f2fd;
    color: #1565c0;
}

.alert-info {
    background-color: #e1f5fe;
    color: #0277bd;
}

.alert-warning {
    background-color: #fff8e1;
    color: #f57f17;
}

/* Footer styling */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .alert {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}
