/* ============================================
   OGIE BREWING - EVENT POPUP STYLES
   ============================================ */

/* Overlay that darkens the page */
.event-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Main popup container */
.event-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideDownPopup 0.3s;
    overflow: hidden;
}

@keyframes slideDownPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Popup header with gradient */
.event-popup-header {
    background: linear-gradient(135deg, #8b7ba8 0%, #6a5a88 100%);
    color: #f5f5f0;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.event-popup-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Close button (X) */
.event-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #f5f5f0;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: opacity 0.3s;
}

.event-popup-close:hover {
    opacity: 0.7;
}

/* Popup body content area */
.event-popup-body {
    padding: 2rem;
}

/* Event title */
.event-popup-title {
    color: #8b7ba8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Event date/time */
.event-popup-date {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Event description */
.event-popup-description {
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Button container */
.event-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Base button styles */
.event-popup-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.event-popup-button:hover {
    transform: translateY(-2px);
}

/* Primary button (Learn More) */
.event-popup-button-primary {
    background-color: #8b7ba8;
    color: #f5f5f0;
}

.event-popup-button-primary:hover {
    background-color: #6a5a88;
}

/* Secondary button (Not Now) */
.event-popup-button-secondary {
    background-color: #e0e0e0;
    color: #1a1a1a;
}

.event-popup-button-secondary:hover {
    background-color: #d0d0d0;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .event-popup {
        width: 95%;
    }
    
    .event-popup-header h3 {
        font-size: 1.4rem;
    }
    
    .event-popup-body {
        padding: 1.5rem;
    }
    
    .event-popup-buttons {
        flex-direction: column;
    }
    
    .event-popup-button {
        width: 100%;
    }
}