/* Pmedia Stage & Events Management - Event Frontend Styles (Green Theme) */

/* Event Page Container */
.pmedia-event-page {
    max-width: 100%;
    margin: 0 auto;
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Event Header */
.pmedia-event-header {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 90px 40px 60px 40px;
}

.pmedia-event-header-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.8);
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.pmedia-event-50 {
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
}

.pmedia-event-50 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pmedia-event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Event Logo */
.pmedia-event-logo {
    max-width: 300px;
    margin-bottom: 30px;
    margin: 0 auto 30px;
}

.pmedia-event-logo img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    margin: 0 auto;
}

/* Event Name */
.pmedia-event-name {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
}

/* Secondary Image */
.pmedia-event-secondary-image {
    background: rgba(255, 255, 255, 0.05);
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pmedia-event-secondary-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Event Meta (Type, Day, and Time) - Green Theme */
.pmedia-event-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pmedia-event-meta span {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00a32a 0%, #008a20 100%);  /* Green gradient */
    border-radius: 30px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: "londrinasolid-regular",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif !important;
}

.pmedia-event-meta span svg {
    margin-right: 5px;
    vertical-align: middle;
}

.pmedia-type {
    background: linear-gradient(135deg, #00a32a 0%, #008a20 100%) !important;  /* Primary green */
}

.pmedia-day {
    background: linear-gradient(135deg, #46b450 0%, #00a32a 100%) !important;  /* Lighter green */
}

.pmedia-time {
    background: linear-gradient(135deg, #68de7c 0%, #46b450 100%) !important;  /* Even lighter green */
}

/* Event Content */
.pmedia-event-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pmedia-event-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Event Info */
.pmedia-event-info {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pmedia-event-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #00a32a;  /* Green theme */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pmedia-event-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

/* Event Website Button */
.pmedia-event-website {
    text-align: center;
    margin-top: 20px;
}

.pmedia-event-website-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00a32a 0%, #008a20 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 163, 42, 0.4);
}

.pmedia-event-website-button:hover {
    background: linear-gradient(135deg, #008a20 0%, #007017 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 42, 0.6);
    color: #ffffff;
}

/* When overlay is OFF, only remove the ::before dark overlay */
.pmedia-event-header.pmedia-no-overlay::before {
    display: none !important;
}

/* Keep the content container visible and ensure text is readable */
.pmedia-event-header.pmedia-no-overlay .pmedia-event-name,
.pmedia-event-header.pmedia-no-overlay .pmedia-event-meta,
.pmedia-event-header.pmedia-no-overlay .pmedia-event-logo {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .pmedia-event-content {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .pmedia-event-name {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .pmedia-event-header {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .pmedia-event-header-overlay {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .pmedia-event-50 {
        flex: 1 1 100%;
        width: 100%;
        padding: 20px;
        margin: 0 auto;
    }
    
    .pmedia-event-name {
        font-size: 2.5rem;
    }
    
    .pmedia-event-logo {
        max-width: 200px;
        margin-bottom: 20px;
    }
    
    .pmedia-event-info {
        padding: 20px;
    }
    
    .pmedia-event-info h2 {
        font-size: 1.5rem;
    }
    
    .pmedia-event-meta {
        gap: 10px;
    }
    
    .pmedia-event-meta span {
        padding: 8px 13px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .pmedia-event-name {
        font-size: 2rem;
    }
    
    .pmedia-event-meta span {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .pmedia-event-content {
        gap: 20px;
    }
    
    .pmedia-event-website-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pmedia-event-page {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .pmedia-event-header {
        min-height: 200px;
    }
    
    .pmedia-event-website {
        display: none;
    }
}