/* Event Details Page Styles */
.event-details-section {
    padding: 1rem 0;
    min-height: 80vh;
    background-color: transparent;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 3s forwards;
    color: white;
}

.toast-notification.success {
    background: linear-gradient(135deg, #ED8A29, #C32D2E);
}

.toast-notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

.event-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Event Cover Image */
.event-cover-image {
    position: relative;
    width: 100%;
    height: 400px;
    /* border-radius: 16px; */
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Header Section */
.event-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.event-title-wrapper {
    flex: 1;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.event-subtitle {
    font-size: 1rem;
    color: #E77C40;
    margin: 0;
    /* font-style: italic; */
}

.share-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    /* border: 1px solid #e9ecef; */
    flex-shrink: 0;
    position: relative;
    user-select: none;
}

.share-button:hover {
    /* background: linear-gradient(180deg, #f69432 0%, #d63a3b 100%); */
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 124, 64, 0.3);
    background: rgba(255, 255, 255, 1);
}

.share-button:active {
    transform: translateY(0px) scale(0.95);
    box-shadow: 0 2px 10px rgba(231, 124, 64, 0.2);
}

/* Main Content Grid */
.event-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column - Event Information */
.event-info-column {
    /* Event meta and description content */
}

/* Event Meta Grid */
.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    /* padding: 2rem; */
    background: transparent;
    border-radius: 12px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon svg {
    width: 56px;
    height: 56px;
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #1e1e1e;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Event Description Section */
.event-description-section {
    margin-top: 2rem;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.description-column h3 {
    font-size: 1.5rem;
    color: #1e1e1e;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #E77C40;
    padding-bottom: 0.5rem;
}

.highlights-list, .schedule-list {
    list-style: disc;
    padding: 0 0 0 1.2rem;
    margin: 0;
}

.highlights-list li, .schedule-list li {
    display: list-item;
    margin-bottom: 0.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    position: relative;
    border-left: none;
    color: #333;
    line-height: 1.5;
}

.highlights-list li::before,
.schedule-list li::before {
    display: none;
}

/* Right Column - RSVP Form */
.rsvp-form-column {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.rsvp-form-container {
    background: #67676730;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    /* border: 2px solid #E77C40; */
}

.rsvp-form-container h3 {
    font-size: 1.5rem;
    background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: start;
    font-weight: 600;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Success and Error Messages */
.success-message, .error-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f1b0b7;
    color: #721c24;
}

.success-message svg,
.error-message svg {
    flex-shrink: 0;
}

.success-message p,
.error-message p {
    margin: 0;
    font-size: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E77C40;
    box-shadow: 0 0 0 3px rgba(231, 124, 64, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-rsvp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
    color: white;
    border: none;
    border-radius: 50px;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.submit-rsvp-btn:hover {
    background: linear-gradient(180deg, #f69432 0%, #d63a3b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 124, 64, 0.3);
}

.submit-rsvp-btn svg {
    transition: transform 0.3s ease;
}

.submit-rsvp-btn:hover svg {
    transform: translateX(3px);
}

/* No Events State */
.no-event {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.no-event p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rsvp-form-column {
        position: static;
        order: -1;
    }
    
    .event-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .description-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .event-details-container {
        padding: 0 1rem;
    }
    
    .event-cover-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .event-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .event-title {
        font-size: 2.2rem;
    }
    
    .event-subtitle {
        font-size: 1.1rem;
    }
    
    .event-info-column,
    .rsvp-form-container {
        padding: 1.5rem;
    }
    
    .event-meta-grid {
        padding: 1.5rem;
    }
    
    .meta-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .description-column h3 {
        font-size: 1.3rem;
    }
    
    .rsvp-form-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .event-details-section {
        padding: 1rem 0;
    }
    
    .event-cover-image {
        height: 200px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .event-header-section {
        margin-bottom: 1.5rem;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-main-content {
        gap: 1.5rem;
    }
    
    .event-info-column,
    .rsvp-form-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .event-meta-item {
        gap: 0.75rem;
    }
    
    .meta-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .highlights-list li, 
    .schedule-list li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .submit-rsvp-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}