:root {
    --accent: #ff6f3c;
    --accent-soft: #ffedd5;
    --accent-dark: #e35d2b;
    --muted: #64748b;
    --shell-bg: #f5f6fb;
    --card-bg: #ffffff;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.1);
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}
.about-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-size: 16px;
    line-height: 1.8;
}
.btn-orange {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
}
.btn-outline-orange {
    background: #fff;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
}
.event-container {
    max-width: 1320px;
    margin: 20px auto 60px;
    padding: 10px;
    font-family: system-ui, Arial;
}
.event-banner img {
    width: 100%;
    height: 380px;
    border-radius: 14px;
    object-fit: cover;
    cursor: pointer;
}
.event-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    align-items: stretch;
}
.event-left,
.event-right {
    display: flex;
    flex-direction: column;
}
.event-card,
.price-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    padding: 18px;
    height: 100%;
}
.mt {
    margin-top: 16px;
}
.event-card h2 {
    margin: 0 0 6px 0;
    font-weight: 900;
}
.event-meta {
    font-size: 18px;
}
.event-meta i {
    color: #ef4444;
    margin-right: 4px;
}
.calendar-link {
    color: #2563eb;
    font-size: 13px;
}
.contact {
    margin-top: 8px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ececec;
}
.price-row i {
    color: #ef4444;
    margin-right: 4px;
}
.review-link {
    text-align: right;
    padding-top: 8px;
}
.map-box iframe {
    width: 100% !important;
    height: 380px !important;
    border-radius: 12px;
}
.organizer {
    display: flex;
    gap: 10px;
    align-items: center;
}
.organizer img {
    width: 70px;
    border-radius: 10px;
}
@media (max-width: 992px) {
    .event-row {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .event-banner img {
        height: 260px;
    }
    .event-card h2 {
        font-size: 22px;
    }
}
/* Layout */
.event-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.event-left {
    flex: 2;
}
.event-right {
    flex: 1;
}
.event-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    align-items: stretch; /* ← IMPORTANT */
}
.event-left,
.event-right {
    display: flex;
    flex-direction: column;
}
.event-card,
.price-card {
    height: 100%; /* ← MATCH HEIGHT */
}
.event-banner {
    position: relative;
    display: inline-block;
}

.event-banner img {
    width: 1300px;
    height: 400px;
    display: block;
    border-radius: 10px;
}

/* ICON OVER IMAGE */
.poster-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none; /* click goes to image */
}
/* Organizer Card UI Upgrade */
.improved-organizer {
    padding: 22px;
}

.org-icon-circle {
    width: 38px;
    height: 38px;
    background: #ffedd5;
    color: #ff6f3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.improved-organizer h4 {
    font-weight: 800;
    color: #111827;
}

.org-name {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.org-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #374151;
    margin-bottom: 10px;
}

.org-row i {
    color: #ff6f3c;
    min-width: 16px;
}

.org-row a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.org-row a:hover {
    color: #ff6f3c;
}

.reviews-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 190px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 10),
        rgba(0, 0, 0, 0.503)
    );
    border-radius: 8px;
    text-align: center;
}

/* ============================================
   EVENT DETAIL SECTION - COMPACT UI (No Hover)
   ============================================ */

/* Main Event Detail Card */
.event-left .event-card {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.event-left .event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e63946 0%, #ff6b6b 100%);
}

/* Event Title */
.event-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 8px;
}

.event-card h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e63946 0%, #ff6b6b 100%);
    border-radius: 2px;
}

/* Event Meta Container */
.event-meta {
    background: linear-gradient(135deg, #fff9f9 0%, #fff5f5 100%);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ffe5e5;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.event-meta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #e63946 0%, #ff6b6b 100%);
}

/* Date & Time Row - NOW WITH INLINE CALENDAR LINK */
.event-meta > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.event-meta > div:first-child > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta > div:first-child i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe5e5 0%, #ffd5d5 100%);
    border-radius: 6px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Enhanced Calendar Link - Now Inline */
.calendar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a73e8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
    border-radius: 6px;
    border: 1px solid #c2dbff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.calendar-link:hover {
    background: linear-gradient(135deg, #d2e3fc 0%, #bdd7ff 100%);
    color: #1557b0;
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.2);
}

/* Contact Information Box */
.contact {
    margin-top: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 20px;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e63946 0%, #ff6b6b 50%, #1a73e8 100%);
    border-radius: 8px 8px 0 0;
}

.contact {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

/* Contact Labels (Sales, Tech) */
.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}

.contact-label i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe5e5 0%, #ffd5d5 100%);
    border-radius: 4px;
    font-size: 11px;
    color: #e63946;
}

/* Contact Links with Icons */
.contact a {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.contact a:hover {
    background: #fff5f5;
    color: #c62f3a;
}

.contact a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe5e5 0%, #ffd5d5 100%);
    border-radius: 4px;
    color: #e63946;
}

/* Contact Header Styling */
.contact::after {
    content: "Quick Contact";
    position: absolute;
    top: -8px;
    left: 12px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(230, 57, 70, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-left .event-card {
        padding: 16px;
        border-radius: 10px;
    }

    .event-card h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .event-meta {
        padding: 12px;
    }

    .event-meta > div:first-child {
        font-size: 13px;
        padding: 8px 10px;
        gap: 8px;
    }

    .event-meta > div:first-child i {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .calendar-link {
        font-size: 12px;
        padding: 5px 10px;
    }

    .contact {
        padding: 10px;
        padding-top: 16px;
        font-size: 12px;
        line-height: 1.7;
    }

    .contact a::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

/* Print Styles */
@media print {
    .event-left .event-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .event-left .event-card::before,
    .event-card h2::after,
    .event-meta::before,
    .contact::before,
    .contact::after {
        display: none;
    }

    .calendar-link {
        background: #f0f0f0;
        color: #000;
    }
}

/* Animation for page load */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.event-left .event-card {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Focus States for Accessibility */
.calendar-link:focus,
.contact a:focus {
    outline: 2px solid #e63946;
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .event-left .event-card {
        border: 2px solid #000;
    }

    .event-meta {
        border: 2px solid #000;
    }

    .calendar-link {
        border: 2px solid #1a73e8;
    }
}
