/* Event Details Page Styles */
:root {
    --primary-color: #04B4AE;
    --secondary-color: #008a87;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #ddd;
    --dark-gray: #666;
    --white: #fff;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.event-details-container {
    margin: 0 auto;
    background: #fff;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    background: #4db6ac;
    padding: 12px 20px;
    color: white;
    font-size: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: rgb(255, 255, 255);
}

/* Event Banner - Exactly like image */
.event-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden; /* Ensure background image doesn't overflow */
}

.event-banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 20px; /* Add some padding to prevent text touching edges */
}

.seminar-label {
    font-size: 24px;
    color: #666;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-banner-title {
    font-size: 48px;
    color: #333;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

/* White Content Section */
.event-content-wrapper {
    background: white;
    padding: 30px 20px;
}

/* Header Section - Title and Book Button */
.event-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.event-title-section {
    flex-grow: 1;
    margin-right: 20px;
}

.event-title-section h1 {
    font-size: 32px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.event-meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-tag {
    color: #666;
    padding: 0px 14px;
    font-size: 14px;
    white-space: nowrap;
    border-right: 2px solid;
}

.organizer-info {
    color: #666;
    font-size: 16px;
}

.book-now-btn {
    background: #00acc1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    height: fit-content;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.book-now-btn:hover {
    background-color: #00838f;
}

/* Date Time Price Row */
.datetime-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.datetime-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 16px;
}

.calendar-icon {
    color: #4db6ac;
    font-size: 18px;
}

.timezone-info {
    color: #666;
    font-size: 14px;
}

.price-share-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-badge {
    background: #4db6ac;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.share-btn {
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.share-btn:hover {
    color: #333;
}

/* Main Content Layout */
.main-content-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

/* Speaker Sidebar */
.speakers-sidebar {
    flex: 0 0 320px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.speakers-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.speaker-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.speaker-item:last-child {
    margin-bottom: 0;
}

.speaker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.speaker-avatar img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 50%;
}

.speaker-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Description Section */
.description-section {
    flex: 1;
}

.description-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.description-text {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 30px;
}

.keywords-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background: #CBFFF6;
    color: #2E2E2E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Related Events (Optional - adjust if needed based on design intent) */
.related-events {
     margin-top: 40px;
     padding: 0 20px;
}

.related-events h2 {
     font-size: 24px;
     color: #333;
     margin-bottom: 20px;
}

.related-events-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     gap: 20px;
}

.event-card {
     border: 1px solid #eee;
     border-radius: 8px;
     overflow: hidden;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
     background: white;
}

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

.event-card-image img {
     width: 100%;
     height: 160px;
     object-fit: cover;
}

.event-card-content {
     padding: 15px;
}

.event-card-content h3 {
     font-size: 16px;
     color: #333;
     margin: 0 0 10px 0;
}

.event-card-date, .event-card-location {
     display: flex;
     align-items: center;
     font-size: 13px;
     color: #666;
     margin-bottom: 5px;
}

.event-card-date i, .event-card-location i {
     margin-right: 5px;
     color: #4db6ac;
     font-size: 12px;
}

/* Fallback Styles */
.event-not-found {
    padding: 40px;
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-not-found h2 {
    color: #333;
    margin-bottom: 15px;
}

.event-not-found p {
    color: #666;
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .event-details-container {
        max-width: 100%;
        padding: 0 10px;
    }
    .event-banner {
        height: 250px;
    }
    .event-banner-title {
        font-size: 32px;
    }
    .seminar-label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .event-banner {
        height: 180px;
    }
    .event-banner-content {
        padding: 0 5px;
    }
    .event-banner-title {
        font-size: 22px;
        line-height: 1.1;
    }
    .seminar-label {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .event-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 10px;
    }
    .event-title-section {
        margin-right: 0;
        width: 100%;
    }
    .event-title-section h1 {
        font-size: 20px;
    }
    .event-meta-tags {
        gap: 5px;
        font-size: 12px;
    }
    .meta-tag {
        padding: 0 8px;
        font-size: 12px;
        border-right: 1px solid;
    }
    .organizer-info {
        font-size: 13px;
    }
    .book-now-btn {
        width: 100%;
        text-align: center;
        font-size: 15px;
        padding: 10px 0;
        margin-top: 10px;
    }
    .datetime-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 0;
        margin-bottom: 15px;
    }
    .datetime-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .date-time {
        font-size: 13px;
    }
    .timezone-info {
        font-size: 12px;
    }
    .price-share-section {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }
    .main-content-layout {
        flex-direction: column;
        gap: 20px;
    }
    .speakers-sidebar {
        flex: none;
        width: 100%;
        order: 2;
        margin-bottom: 15px;
        padding: 15px;
    }
    .speakers-title {
        font-size: 15px;
    }
    .speaker-avatar {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    .speaker-name {
        font-size: 13px;
    }
    .description-section, .description-keywords-section {
        order: 1;
        width: 100%;
    }
    .description-title, .keywords-title {
        font-size: 15px;
    }
    .description-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .keywords-container {
        gap: 5px;
    }
    .keyword-tag {
        padding: 6px 10px;
        font-size: 12px;
    }
    .related-events {
        padding: 0 5px;
    }
    .event-card-content h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .event-banner {
        height: 120px;
    }
    .event-banner-title {
        font-size: 15px;
    }
    .seminar-label {
        font-size: 9px;
    }
    .event-header-section {
        gap: 5px;
    }
    .book-now-btn {
        font-size: 13px;
        padding: 8px 0;
    }
    .speakers-sidebar {
        padding: 8px;
    }
    .speaker-avatar {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    .speaker-name {
        font-size: 10px;
    }
    .description-title, .keywords-title {
        font-size: 12px;
    }
    .description-text {
        font-size: 10px;
    }
    .keyword-tag {
        font-size: 10px;
        padding: 4px 7px;
    }
}

.event-datetime-location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    gap: 10px;
}
.event-datetime-location-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 16px;
    color: #333;
}
.event-datetime-location-left .date-time,
.event-datetime-location-left .timezone-info,
.event-datetime-location-left .location-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: #333;
}
.event-datetime-location-left .location-icon {
    color: #4db6ac;
    font-size: 18px;
    margin-right: 2px;
}
.event-datetime-location-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .event-datetime-location-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0 8px 0;
    }
    .event-datetime-location-right {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }
    .event-datetime-location-left {
        font-size: 13px;
        gap: 6px;
    }
    .event-datetime-location-left .date-time,
    .event-datetime-location-left .timezone-info,
    .event-datetime-location-left .location-info {
        font-size: 13px;
    }
}



