/* Event Detail Specific Styles */

.event-hero {
    margin-top: 70px;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.event-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.9));
    z-index: 1;
}

.event-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 3rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
}

.event-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-hero-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    font-weight: 600;
}

.event-rating-hero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Event Details Layout */
.event-details-section {
    padding: 3rem 0;
    background: var(--bg-dark);
}

.event-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.event-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Info Card */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-full-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.event-highlights {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.event-highlights h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.event-highlights ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.event-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.event-highlights li i {
    color: var(--success-color);
}

.lineup {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.lineup h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.artist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--text-primary);
}

.artist-item i {
    color: var(--primary-color);
}

/* Comments Section */
.comments-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

.comments-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-comment-form {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.add-comment-form h3 {
    margin-bottom: 1rem;
}

.rating-input {
    margin-bottom: 1rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 1.8rem;
}

.star-rating i {
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: #fbbf24;
    transform: scale(1.1);
}

.add-comment-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 1rem;
}

.add-comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn-submit-comment {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.comment-user {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-details h4 {
    margin-bottom: 0.3rem;
}

.comment-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 0.3rem;
}

.comment-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.purchase-card,
.venue-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 90px;
}

.purchase-card h3,
.venue-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.event-date-time {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.date-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.date-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.date-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.date-item .value {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

/* Ticket Types */
.ticket-types {
    margin-bottom: 2rem;
}

.ticket-option {
    margin-bottom: 1rem;
}

.ticket-option input[type="radio"] {
    display: none;
}

.ticket-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.ticket-option label:hover {
    border-color: var(--primary-color);
}

.ticket-info {
    display: flex;
    flex-direction: column;
}

.ticket-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.ticket-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.ticket-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

#ticketQuantity {
    width: 80px;
    text-align: center;
    padding: 0.8rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Total Price */
.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.total-price span:first-child {
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-purchase {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-purchase:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.purchase-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.purchase-info i {
    color: var(--success-color);
}

/* Venue Card */
.venue-map {
    margin-bottom: 1rem;
}

.venue-details {
    color: var(--text-secondary);
    line-height: 1.8;
}

.venue-details p {
    margin-bottom: 0.3rem;
}

/* Purchase Modal */
.purchase-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.purchase-summary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.purchase-summary h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
}

.summary-item.total span:last-child {
    color: var(--primary-color);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.payment-option label:hover {
    border-color: var(--primary-color);
}

.payment-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .event-layout {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        order: -1;
    }

    .purchase-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .event-hero-title {
        font-size: 2rem;
    }

    .event-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
