/*
Theme Name: GeneratePress Child
Template: generatepress
*/
@import url("../generatepress/style.css");

/* Events Container */
.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Featured Events Section */
.featured-events-section {
    margin-bottom: 40px;
}

.featured-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Event Poster Styling */
.event-poster-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4; /* Maintains poster proportions */
}

.event-poster-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.event-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Hover Effects */
.event-poster-container:hover .event-poster {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #2e7d32; /* Green to match header */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .featured-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .events-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .featured-events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .events-container {
        padding: 10px;
    }
}

.calendar-title {
    color: #d32f2f;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 1px;
    background-color: #ddd;
    align-items: start; /* Add this line */
}

.calendar-row:last-child {
    grid-template-columns: repeat(3, 1fr) 1fr; /* Maintains column width, last is empty */
}

.calendar-day-column {
    background-color: white;
    border: 1px solid #ddd;
    //min-height: 400px;
}

.day-header {
    background-color: #f5f5f5;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.category-label {
    background-color: #4caf50;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    margin-bottom: 4px;
    display: inline-block;
}

.day-title {
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.events-content {
    padding: 0; /* Remove padding for seamless stripes */
}

.event-item {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.3;
    padding: 8px 10px;
}

.event-item.even-row {
    background-color: #fff3e0;
}

.event-item.odd-row {
    background-color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calendar-row,
    .calendar-row:last-child {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-day-column {
        //min-height: 300px;
    }
}

@media (max-width: 480px) {
    .calendar-row,
    .calendar-row:last-child {
        grid-template-columns: 1fr;
    }
}

/* Event venue styling */
.event-title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.event-title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.event-title a:hover {
    color: #1976d2;
    text-decoration: underline;
}

.event-venue {
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.location-pin {
    margin-right: 4px;
    font-size: 10px;
}

/*
.day-title {
    color: #1976d2; 
    font-size: 14px;
    font-weight: bold;
}
*/

.day-header {
    background-color: #1976d2; /* Blue background instead of gray */
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.day-title {
    color: white; /* White text on blue background */
    font-size: 14px;
    font-weight: bold;
}

.event-time {
    font-size: 8px;
    color: #666;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.event-time svg {
    margin-right: 4px;
}

.no-events-message {
    padding: 10px;
    color: #666;
    font-style: italic;
    font-size: 12px;
}

/* Section titles - different colors for different vibes */
.nightlife-calendar-section .calendar-title {
    color: #d32f2f; /* Red for nightlife energy */
}

.beyond-nightlife-section .calendar-title {
    color: #1976d2; /* Blue for refined events */
}

/* Beyond Nightlife Section Specific Styles */
.beyond-nightlife-section .day-header {
    background-color: #1976d2; /* Blue headers */
}

.beyond-nightlife-section .event-item.even-row {
    background-color: #e3f2fd; /* Light blue instead of yellow */
}

.beyond-nightlife-section .event-date,
.beyond-nightlife-section .event-venue,
.beyond-nightlife-section .event-time {
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.beyond-nightlife-section .event-date svg,
.beyond-nightlife-section .event-venue svg,
.beyond-nightlife-section .event-time svg {
    margin-right: 4px;
}

/* Nightlife Section - Red theme */
.nightlife-calendar-section .day-header {
    background-color: #d32f2f; /* Red headers for party energy */
}

/* Events Gallery Section */
.events-gallery-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.gallery-category-section {
    margin-bottom: 40px;
}

.gallery-category-header {
    background-color: #1976d2; /* Change from #4caf50 (green) to blue */
    padding: 12px 20px;
    margin-bottom: 20px;
}

.gallery-category-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.gallery-posters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px; /* Reduced from 20px to 8px for more compact layout */
}

.gallery-poster-item {
    text-align: center;
}

.poster-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 8px;
}

.poster-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.event-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.poster-container:hover .event-poster-image {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.poster-venue {
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.poster-venue svg {
    margin-right: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-posters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-posters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-posters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Remove rounded corners and reduce spacing */
.poster-container {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Remove rounded corners */
    aspect-ratio: 3/4;
    margin-bottom: 8px;
}

.event-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 0; /* Remove rounded corners */
}

/* Better date readability - mixed case instead of all caps */
.poster-date {
    background-color: #1976d2; /* Blue instead of green */
    color: white;
    font-size: 14px;
    //font-weight: bold;
    padding: 4px 8px;
    margin-bottom: 8px;
    text-transform: none; /* Remove uppercase transformation */
}

/* More visible venue names */
.poster-venue {
    font-size: 11px; /* Slightly larger */
    color: #333; /* Darker gray instead of #666 */
    font-weight: 500; /* Medium weight for better visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}


/* ADDITIONAL LAYOUT CSS FOR THE HOMEPAGE */

.featured-events-section {
    background-color: #2c3e50; /* Darker gray-blue */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    padding: 30px calc(50vw - 50%);
    margin-bottom: 0;
}

/* You'll also need to adjust the title color for contrast */
.featured-events-section .calendar-title {
    color: white;
}

/* Remove top padding from events container */
.events-container {
    padding-top: 0;
}

.featured-events-section .event-poster-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Initial shadow for depth */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-events-section .event-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-events-section .event-poster-container:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: 0 12px 25px rgba(0,0,0,0.4); /* Enhanced shadow on hover */
}

.featured-events-section .event-poster-container:hover .event-poster {
    transform: scale(1.05);
}

.nightlife-calendar-section {
    background-color: #dcdcdc;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    padding: 30px 0;
    margin-bottom: 0px;
}
.nightlife-calendar-section .calendar-title,
.nightlife-calendar-section .calendar-row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.beyond-nightlife-section {
    background-color: #dcdcdc;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    padding: 30px 0;
    margin-bottom: 0px;
}

.beyond-nightlife-section .calendar-title,
.beyond-nightlife-section .calendar-row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

html, body {
    overflow-x: hidden;
}

/* ////////////////////////////// */

/* Single Event Page - Complete Updated CSS */
.single-event .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-event .entry-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.single-event .event-details-section {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 67% poster, 33% details */
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.single-event .event-poster-display {
    text-align: center;
}

.single-event .single-event-poster {
    max-width: 100%;
    height: auto;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid #1976d2; /* Blue border for visibility */
}

.single-event .event-info-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-event .event-info-item {
    display: block; /* Changed from flex */
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.single-event .event-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.single-event .event-info-item svg {
    margin-right: 8px;
    color: #666;
    flex-shrink: 0;
}

.single-event .event-info-header h3 {
    margin: 0;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

.single-event .event-info-content p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.3;
}

.single-event .event-duration,
.single-event .recurring-info {
    margin-top: 5px;
    font-style: italic;
    color: #777;
    font-size: 13px;
}

.single-event .ticket-link-btn {
    background-color: #d32f2f;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: 14px;
}

.single-event .ticket-link-btn:hover {
    background-color: #b71c1c;
    text-decoration: none;
    color: white;
}

/* Navigation - Distinct and Separated */
.single-event .post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.single-event .nav-previous,
.single-event .nav-next {
    flex: 0 0 45%;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}

.single-event .nav-previous:hover,
.single-event .nav-next:hover {
    background-color: #f0f0f0;
}

.single-event .nav-previous {
    text-align: left;
}

.single-event .nav-next {
    text-align: right;
}

.single-event .nav-previous a,
.single-event .nav-next a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
}

.single-event .nav-previous a:hover,
.single-event .nav-next a:hover {
    color: #1976d2;
}

/* Comments Section */
.single-event .comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-event .event-details-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .single-event .event-info-panel {
        gap: 12px;
    }
    
    .single-event .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .single-event .nav-previous,
    .single-event .nav-next {
        flex: none;
        text-align: center;
    }
}


/* Event Submission Form Styles */
/* Add this to your theme's CSS or create event-submission.css */

.event-submission-page {
    max-width: 800px;
    margin: 0 auto;
}

.submission-intro {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* ACF Form Styling */
.acf-form {
    max-width: none;
    background: #fff;
    padding: 0;
}

.acf-form .acf-fields {
    border: none;
    padding: 0;
}

.acf-field {
    margin-bottom: 25px;
    border-bottom: none;
    padding: 0;
}

.acf-field:last-child {
    margin-bottom: 0;
}

.acf-label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.acf-label label {
    margin-bottom: 0;
}

.acf-required {
    color: #d63638;
}

.acf-input {
    width: 100%;
}

.acf-input input[type="text"],
.acf-input input[type="email"],
.acf-input input[type="url"],
.acf-input input[type="time"],
.acf-input input[type="date"],
.acf-input textarea,
.acf-input select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.3s ease;
}

.acf-input input[type="text"]:focus,
.acf-input input[type="email"]:focus,
.acf-input input[type="url"]:focus,
.acf-input input[type="time"]:focus,
.acf-input input[type="date"]:focus,
.acf-input textarea:focus,
.acf-input select:focus {
    outline: none;
    border-color: #4A90D9;
    box-shadow: 0 0 5px rgba(74, 144, 217, 0.3);
}

/* Textarea specific */
.acf-input textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio buttons and checkboxes */
.acf-radio-list,
.acf-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.acf-radio-list label,
.acf-checkbox-list label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin: 0;
}

.acf-radio-list input[type="radio"],
.acf-checkbox-list input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

/* File upload */
.acf-file-uploader {
    border: 2px dashed #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.acf-file-uploader:hover {
    border-color: #4A90D9;
}

.acf-file-uploader .show-if-value {
    margin-top: 15px;
}

.acf-file-uploader img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

/* Submit button */
.acf-form-submit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e1e1e1;
}

.acf-button {
    background: #4A90D9;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acf-button:hover {
    background: #357ABD;
}

.acf-button:active {
    transform: translateY(1px);
}

/* Success message */
.submission-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

.submission-success h3 {
    margin-top: 0;
    color: #155724;
}

/* Error messages */
.acf-error-message {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.acf-input.-error input,
.acf-input.-error textarea,
.acf-input.-error select {
    border-color: #d63638;
    box-shadow: 0 0 5px rgba(214, 54, 56, 0.3);
}

/* Form sections - if you want to group fields */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4A90D9;
}

/* Responsive */
@media (max-width: 768px) {
    .event-submission-page {
        padding: 0 15px;
    }
    
    .acf-input input[type="text"],
    .acf-input input[type="email"],
    .acf-input input[type="url"],
    .acf-input input[type="time"],
    .acf-input input[type="date"],
    .acf-input textarea,
    .acf-input select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .acf-radio-list,
    .acf-checkbox-list {
        flex-direction: column;
        gap: 10px;
    }
}

/* Multi-column layout for date/time fields */
.acf-field[data-name="event_date"],
.acf-field[data-name="start_time"] {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin-right: 4%;
}

.acf-field[data-name="start_time"] {
    margin-right: 0;
}

/* Multi-column layout for venue/city fields */
.acf-field[data-name="venue_name"],
.acf-field[data-name="event_city"] {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin-right: 4%;
}

.acf-field[data-name="event_city"] {
    margin-right: 0;
}

/* Multi-column layout for category/ticket link */
.acf-field[data-name="event_category"],
.acf-field[data-name="ticket_link"] {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin-right: 4%;
}

.acf-field[data-name="ticket_link"] {
    margin-right: 0;
}

/* End Date - when it appears via ACF conditional logic */
.acf-field[data-name="end_date"] {
    width: 100%;
    margin-top: 15px;
    clear: both;
}

/* Mobile: Stack venue/category on smaller screens */
@media (max-width: 768px) {
    .acf-field[data-name="venue_name"],
    .acf-field[data-name="event_category"] {
        width: 100%;
        display: block;
        margin-right: 0;
    }
}


/* Category Page Styles - Append to existing CSS */

/* Category-specific header styles */
.category-header-section {
    text-align: left;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.category-header-section .page-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.category-intro {
    color: #666;
    font-size: 1.1em;
    margin: 0;
    max-width: 800px;
}

.no-events-section {
    text-align: center;
    padding: 60px 20px;
}

.no-events-content h3 {
    color: #333;
    margin-bottom: 15px;
}

.no-events-content p {
    color: #666;
    margin-bottom: 30px;
}

.submit-event-btn {
    display: inline-block;
    background: #4A90D9;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 10px;
}

.back-to-events {
    color: #4A90D9;
    text-decoration: none;
    margin: 0 10px;
}

/* Fix dropdown menu styling */
.main-navigation .sub-menu {
    background-color: #1976d2 !important; /* Blue background to match your header */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.main-navigation .sub-menu a {
    color: white !important; /* White text for contrast */
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.main-navigation .sub-menu a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: white !important;
}

/* If using a different menu selector, try this alternative */
.dropdown-menu,
.sub-menu {
    background-color: #1976d2 !important;
}

.dropdown-menu a,
.sub-menu a {
    color: white !important;
}

/* Category Cards Section */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-content {
    padding: 20px;
    text-align: left;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.category-count {
    color: #6c757d;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.category-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .category-cards-grid {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }
    
    .category-cards-section {
        padding: 30px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Add this to handle the clickable card link */
.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.category-card-link:hover,
.category-card-link:focus {
    text-decoration: none;
    color: inherit;
}

.category-arrow {
    color: #007bff;
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.category-card:hover .category-arrow {
    color: #0056b3;
}

@media (max-width: 768px) {
    .category-header-section .page-title {
        font-size: 2em; /* Reduced from 2.5em */
    }
}

@media (max-width: 480px) {
    .category-header-section .page-title {
        font-size: 1.8em; /* Even smaller for very small screens */
    }
}