/**
 * Single Event Page Styles - Light Theme
 * TrailBlaze Events Calendar
 */

/* Main Container */
.tec-single-event-container {
    max-width: 1200px;
    margin: 120px auto 0;
    padding: 2rem;
    background: #ffffff;
    color: #1f2937;
    min-height: calc(100vh - 120px);
}

.tec-single-event {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

/* Event Header */
.tec-event-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #0891b2;
}

.tec-event-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tec-event-date-time {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tec-event-date,
.tec-event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.tec-event-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tec-event-upcoming {
    background: rgba(8, 145, 178, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(8, 145, 178, 0.3);
}

.tec-event-past {
    background: rgba(156, 163, 175, 0.2);
    color: #6b7280;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.tec-event-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.tec-event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0891b2;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Font Awesome 7 Integration */
.fa-solid, .fa-regular, .fa-brands {
    display: inline-block;
    font-size: 1.2em;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    speak: none;
    vertical-align: middle;
}

/* Event Content */
.tec-event-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 2rem;
}

/* Main Description */
.tec-event-description h2 {
    color: #0891b2;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(8, 145, 178, 0.3);
}

.tec-event-description-content {
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
}

.tec-event-description-content h1,
.tec-event-description-content h2,
.tec-event-description-content h3,
.tec-event-description-content h4,
.tec-event-description-content h5,
.tec-event-description-content h6 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tec-event-description-content p {
    margin-bottom: 1.25rem;
}

.tec-event-description-content ul,
.tec-event-description-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.tec-event-description-content li {
    margin-bottom: 0.5rem;
}

.tec-event-description-content a {
    color: #22d3ee;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.tec-event-description-content a:hover {
    color: #67e8f9;
}

/* Sidebar */
.tec-event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tec-event-info-card,
.tec-event-actions,
.tec-event-share,
.tec-event-tags {
    margin-top: 20px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.tec-event-info-card h3,
.tec-event-share h4,
.tec-event-tags h4 {
    color: #0891b2;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.tec-event-info-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tec-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tec-info-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.tec-info-value {
    color: #1f2937;
    font-weight: 600;
}

.tec-program-link {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tec-program-link:hover {
    color: #67e8f9;
    text-decoration: underline;
}

/* Buttons */
.tec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.tec-btn-primary {
    background: #0891b2;
    color: #ffffff;
    border: 2px solid #0891b2;
}

.tec-btn-primary:hover {
    background: #0e7490;
    border-color: #0e7490;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.tec-btn-secondary {
    background: #ffffff;
    color: #374151;
    border: 2px solid #d1d5db;
}

.tec-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
}

.tec-btn-register {
    width: 100%;
    margin-bottom: 1rem;
}

.tec-btn-calendar {
    width: 100%;
}

/* Share Buttons */
.tec-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tec-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.tec-share-facebook {
    background: #1877f2;
    color: white;
}

.tec-share-twitter {
    background: #1da1f2;
    color: white;
}

.tec-share-linkedin {
    background: #0077b5;
    color: white;
}

.tec-share-copy {
    background: #6b7280;
    color: white;
}

.tec-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tags */
.tec-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tec-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(8, 145, 178, 0.1);
    color: #22d3ee;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

/* Related Events */
.tec-related-events {
    padding: 2rem;
    background: #f9fafb;
}

.tec-related-events h2 {
    color: #0891b2;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem;
    text-align: center;
}

.tec-related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tec-related-event-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.2s ease;
}

.tec-related-event-card:hover {
    border-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tec-related-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0891b2;
    color: white;
    border-radius: 8px;
    padding: 0.75rem;
    min-width: 60px;
    text-align: center;
}

.tec-date-month {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tec-date-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.tec-related-event-info {
    flex: 1;
}

.tec-related-event-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.tec-related-event-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tec-related-event-title a:hover {
    color: #0891b2;
}

.tec-related-event-time,
.tec-related-event-location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Navigation */
.tec-event-navigation {
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
}

.tec-back-to-events {
    display: inline-flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tec-single-event-container {
        padding: 1rem;
    }
    
    .tec-event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tec-event-header {
        padding: 1.5rem;
    }
    
    .tec-event-title {
        font-size: 2rem;
    }
    
    .tec-event-meta-top {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tec-event-date-time {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tec-related-events-grid {
        grid-template-columns: 1fr;
    }
    
    .tec-share-buttons {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .tec-event-actions,
    .tec-event-share,
    .tec-event-navigation {
        display: none;
    }
    
    .tec-single-event-container {
        background: white;
        color: black;
        box-shadow: none;
    }
    
    .tec-single-event {
        background: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .tec-event-header {
        background: white;
        border-bottom: 2px solid #0891b2;
    }
    
    .tec-related-events {
        background: white;
    }
    
    .tec-event-navigation {
        background: white;
    }
}