/**
 * Enhanced Section Styles
 * Improves the appearance of section headers and descriptions
 */

/* Section header */
.section-header {
    margin-bottom: 30px;
    text-align: center;
}

/* Section title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color, #2c3e50);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color, #3498db);
    border-radius: 3px;
}

/* Section description */
.section-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color, #3498db);
}

/* Directory items section */
.directory-items-section .section-header {
    margin-bottom: 40px;
}

.directory-items-section .section-title {
    font-size: 36px;
}

.directory-items-section .section-description {
    font-size: 18px;
    background-color: rgba(52, 152, 219, 0.05);
    border-left: 4px solid var(--primary-color, #3498db);
}

/* Card meta styling */
.directory-item-card-meta {
    margin: 15px 0;
}

.directory-item-card-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.directory-item-card-meta-item i {
    margin-right: 8px;
    color: var(--primary-color, #3498db);
    width: 16px;
    text-align: center;
}

/* Hours display */
.directory-item-card-meta-item.hours span {
    display: inline-block;
}

.directory-item-card-meta-item.hours .status-open {
    color: #2ecc71;
    font-weight: 600;
}

.directory-item-card-meta-item.hours .status-closed {
    color: #e74c3c;
    font-weight: 600;
}

/* Card footer */
.directory-item-card-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bus-stop-card-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--primary-color, #3498db);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bus-stop-card-link:hover {
    background-color: var(--primary-hover-color, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.bus-stop-card-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.bus-stop-card-link:hover i {
    transform: translateX(3px);
}
