/**
 * Art United Event Styles
 */

/* Event Type Labels */
.event-type-labels {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    line-height: 1.5rem;
    width: fit-content;
    padding: 0.05rem 0.4rem;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: #e7e7e7;
    color: #000000;
    z-index: 10;
    position: relative;
}

.event-filters-sidebar {
    background-color: #fff;
    height: fit-content;
}

/* Event Card Date */
.event-date {
    display: flex ;
    align-items: center ;
    color: #6B7280 ; /* gray-500 */
    font-size: 0.875rem ;
    margin-bottom: 8px
}

.event-date:before {
    content: "\f133" ; /* calendar icon */
    font-family: "Font Awesome 5 Free" ;
    margin-right: 6px ;
    color: #000000 ;
}

/* Event Card Location */
.event-location {
    display: flex ;
    align-items: center ;
    color: #000000 ;
    font-size: 0.875rem ;
}

/* Event Card Organizer */
.event-organizer {
    display: flex ;
    align-items: center ;
    color: #000000 ;
    font-size: 0.875rem ;
}

.event-card-link {
    width: fit-content;
}

/* Event Card */
.event-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex ;
    flex-direction: column ;
}

.event-content {
    display: flex ;
    flex-direction: column ;
    flex: 1 ;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.image-placeholder {
    background-color: #f7f7f7;
    color: #ccc;
}

/* Event Details */
.event-details-container .prose h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.event-details-container .prose h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.event-details-container .prose ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

button {
    background-color: black;
}

.event-details-container .prose li {
    margin-bottom: 0.5rem;
}

/* Event Filters */
.event-filter-form label {
    cursor: pointer;
}

.event-filter-form input[type="radio"],
.event-filter-form input[type="checkbox"] {
    cursor: pointer;
}

/* Ticket Types Row */
.ticket-type-row {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Event */
.featured-event-card {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.featured-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Calendar Button */
.add-to-calendar-button {
    position: relative;
}

.add-to-calendar-button .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 200px;
    z-index: 10;
    display: none;
}

.add-to-calendar-button:hover .dropdown {
    display: block;
}

.add-to-calendar-button .dropdown a {
    display: block;
    padding: 0.5rem 1rem;
}

.add-to-calendar-button .dropdown a:hover {
    background-color: #f7fafc;
}

/* Event Gallery */
.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.event-gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

.event-gallery-grid img:hover {
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-event-card {
        flex-direction: column;
    }
    
    .event-filter-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100%;
        width: 80%;
        max-width: 300px;
        background-color: white;
        z-index: 50;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        padding: 1.5rem;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    
    .event-filter-sidebar.active {
        left: 0;
    }
    
    .event-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 40;
        display: none;
    }
    
    .event-filter-overlay.active {
        display: block;
    }
}

.bg-offwhite {
    background-color: #f8f8f8;
}

/* Responsive container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
} 