/*
Theme Name: Live Venue Collective
Theme URI: https://thelivevenuecollective.ie
Author: LVC
Description: Custom theme for The Live Venue Collective - Independent Irish music venues.
Version: 1.0
Text Domain: livevenuecollective
*/

/* =================================================================
   The Live Venue Collective - Main Stylesheet
   ==================================================================== */

/* Global Reset / Base Defaults */
* {
    box-sizing: border-box;
}

.pmpro {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 100px;
}

body {
    background-color: #022113;
    color: #dce1c7;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

/* Header & Mobile Burger Layout */
.lvc-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.lvc-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Lock Main Nav to Exact Center on Desktop */
@media (min-width: 992px) {
    .lvc-main-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 25px;
        align-items: center;
        z-index: 10;
    }
}

.lvc-logo img {
    width: 120px;
    display: block;
}

.lvc-main-nav a {
    color: #dce1c7;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
    text-align: center;
}


@media(max-width: 768px) {
.lvc-main-nav a {
	
	margin-bottom: 18px;
	
}

}


gaeilge { 
    font-weight: 100; 
    color: #a5a897; 
    display: block; 
    font-size: 0.9em; 
    font-style: italic; 
}

.lvc-main-nav a:hover {
    opacity: 0.7;
}

.lvc-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lvc-login-icon {
    color: #dce1c7;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.lvc-login-icon:hover {
    opacity: 0.7;
}

.lvc-username-display {
    color: #dce1c7;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Burger Menu Toggle Button */
.lvc-burger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}





.lvc-burger-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #dce1c7;
    transition: 0.3s;
}

/* Hero Section with Background Image */
.lvc-hero {
    min-height: 90vh;
    background: linear-gradient(to bottom, rgba(2,33,19,0.6), rgba(2,33,19,0.9)), url('images/background.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.lvc-hero h1 {
    font-size: 2rem;
    color: #dce1c7;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lvc-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.lvc-btn {
    background-color: #dce1c7;
    color: #022113;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.lvc-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Content Sections */
.lvc-section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lvc-section h2 {
    font-size: 2.5rem;
    color: #dce1c7;
    margin-bottom: 20px;
    text-align: center;
}

.lvc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.lvc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 225, 199, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.lvc-card h3 {
    color: #dce1c7;
    margin-top: 0;
}

/* Stats Bar */
.lvc-stats {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(220, 225, 199, 0.1);
    border-bottom: 1px solid rgba(220, 225, 199, 0.1);
    padding: 50px 20px;
}

.lvc-stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.lvc-stat-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #dce1c7;
    margin-bottom: 5px;
}

.lvc-stat-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Latest News Section & Grid */
.lvc-news-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lvc-news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 225, 199, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lvc-news-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.lvc-news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
	background-color:  #022113;
	
}


@media(max-width: 768px) {
#news { 

	background: #01190e;
	
}

}

.lvc-news-date {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 8px;
    display: block;
    color: #dce1c7;
}

.lvc-news-content h3 a {
    color: #dce1c7;
    text-decoration: none;
    font-size: 1.15rem;
}

.lvc-news-content p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 10px 0 20px 0;
    line-height: 1.5;
}

.lvc-read-more {
    margin-top: auto;
    color: #dce1c7;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.lvc-post-body p a {
    color: #dce1c7;
}
@media(max-width: 992px) {
    .lvc-burger-toggle {
        display: flex;
    }

    .lvc-main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #022113;
        padding: 0 20px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-bottom: 0 solid rgba(220, 225, 199, 0.1);
        text-align: center;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease, border-bottom 0.3s ease;
    }

    .lvc-main-nav.active {
        max-height: 400px; /* Adjust higher if you add more items */
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
        border-bottom: 1px solid rgba(220, 225, 199, 0.1);
    }

    .lvc-main-nav a {
        margin-bottom: 18px;
    }

    .lvc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lvc-hero h1 {
        font-size: 2.5rem;
    }

    .lvc-news-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .lvc-news-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}









.lvc-post-body p, .lvc-post-body a {
    color: white;
}

p.pmpro_level_name_text{
    color: black;
}

span.pmpro_card_action a {
    color: #0c3d54;
}

h2.pmpro_form_heading.pmpro_font-large {
    color: #0c3d54;
}

/* Styling for the text slider container */
.lvc-logo-text-slider {
    overflow: hidden;
}

.lvc-text-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: textCrossFade 16s infinite ease-in-out;
    text-align: left;
    color: white;
}

.lvc-text-en {
    animation-delay: 0s;
}

.lvc-text-ga {
    animation-delay: 8s;
}

@keyframes textCrossFade {
    0% { opacity: 0; }
    15% { opacity: 1; }
    45% { opacity: 1; }
    60% { opacity: 0; }
    100% { opacity: 0; }
}

/* ==========================================
   LVC Account Page: Refined Responsive Grid
   ========================================== */

/* Mobile & Tablet Base (Default) */
.page-id-53 .entry-content,
.pmpro-account .entry-content {
    width: 100% !important;
    padding-left: 5% !important;  
    padding-right: 5% !important; 
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .entry-content > .pmpro {
        display: block;
    }
    .lvc-members-news-section-holder {
        margin-top: 30px;
    }
}

/* Desktop Grid Layout (992px and above) */
@media (min-width: 992px) {
    .page-id-53 .entry-content,
    .pmpro-account .entry-content {
        display: grid !important;
        grid-template-columns: minmax(380px, 540px) 1fr;
        grid-template-rows: auto auto auto;
        gap: 30px 60px; /* Wider gap between columns */
        align-items: start;
        max-width: 1300px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .entry-content > .pmpro {
        display: contents !important;
    }

    #pmpro_account-profile {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0 !important;
    }

    #pmpro_account-membership {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #pmpro_account-orders {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0 !important;
    }

    .lvc-members-news-section-holder {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0 !important;
    }
}

/* ==========================================
   Members-Only News Styling
   ========================================== */

.lvc-members-news-section {
    background: #ffffff;
    padding: 24px;
    border-radius: 4px;
    border: 1px solid var(--pmpro--color--border--variation, #e5e5e5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lvc-members-news-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lvc-members-news-section li {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.lvc-members-news-section li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.lvc-members-news-section small {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #022113; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    background: rgba(220, 225, 199, 0.35); 
    padding: 2px 8px;
    border-radius: 3px;
}

.lvc-members-news-section a {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #022113;
    text-decoration: none;
    line-height: 1.35;
    margin-top: 4px;
    margin-bottom: 8px;
    transition: color 0.2s ease-in-out;
}

.lvc-members-news-section a:hover {
    color: #1b5e39; 
    text-decoration: underline;
}

.lvc-members-news-section div {
    font-size: 0.93rem;
    line-height: 1.55;
    color: #333333;
}

h2 { color: white; } 

.pmpro .pmpro_font-x-large { 
    font-size: 25px; 
}

.pmpro .pmpro_form_field {
    margin-bottom: 35px;
}

.pmpro .pmpro_form_fields-description {
    margin-bottom: 35px;
}

#pmpro_login {
    max-width: 600px;
    margin: 0 auto;
}

#change-password { 
    max-width: 600px;
    margin: 0 auto;
}

.standard-page-container {
    width: 90%;
    margin: 0 auto;
    margin-top: 100px;
}

.standard-page-container .page-title {
    text-align: center;
}

.gaeilge_h2 { 
    font-style: italic;
    font-weight: 100;
    font-size: 0.7em;
}




.pmpro_form_field-display_name {
    display: none !important;
}



.pmpro_form .pmpro_form_field-file-preview { width: 400px; height: auto; }



#venue_latitude_div, #venue_longitude_div { display: none;}

.pmpro
 {
    .pmpro_form_legend { margin-bottom: 0}
	
	
	.pmpro_actions_nav-left a, .pmpro_actions_nav-right a { color: white; }
	
 }
 
 
 /* to stop unnecessary cards, like the option to log out and venue page information fields, from showing at the checkout */
 
.pmpro_checkout_gateway-stripe {

	#pmpro_form_fieldset-venue-page-information { display: none; }
	
	
	#pmpro_user_fields { display: none; }
	


}


/* ==========================================
   Venue Image Carousel Gallery Styles
   ========================================== */
.lvc-venue-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.lvc-venue-carousel::-webkit-scrollbar {
    display: none;
}

.lvc-carousel-container {
    position: relative;
    padding: 0 10px;
}

.lvc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 33, 19, 0.9);
    color: #dce1c7;
    border: 1px solid rgba(220, 225, 199, 0.3);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lvc-carousel-btn:hover {
    background: #3e754e;
    border-color: #dce1c7;
    transform: translateY(-50%) scale(1.08);
}

/* Position arrows outside on either side of the widget */
.lvc-carousel-prev {
    left: -55px;
}

.lvc-carousel-next {
    right: -55px;
}

@media (max-width: 1024px) {
    .lvc-carousel-prev {
        left: -10px;
    }
    .lvc-carousel-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .lvc-carousel-btn {
        display: none; /* Hide arrows on mobile devices */
    }
}





/* ==========================================
   Lightbox Overlay Navigation Arrows (Side Overlay)
   ========================================== */

/* Position the lightbox container relative so absolute arrows align to it */
#lvc-lightbox-modal {
    position: relative;
}

.lvc-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 33, 19, 0.75);
    color: #dce1c7;
    border: 1px solid rgba(220, 225, 199, 0.35);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.lvc-lightbox-nav:hover {
    background: #3e754e;
    border-color: #dce1c7;
    transform: translateY(-50%) scale(1.08);
}

/* Position left and right arrows on the outer left/right edges of the image viewer */
.lvc-lightbox-prev {
    left: calc(50% - 440px); /* Adjust based on your max-width image layout */
}

.lvc-lightbox-next {
    right: calc(50% - 440px);
}

@media (max-width: 1024px) {
    .lvc-lightbox-prev {
        left: 20px;
    }
    .lvc-lightbox-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .lvc-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lvc-lightbox-prev {
        left: 10px;
    }
    .lvc-lightbox-next {
        right: 10px;
    }
}




.knob-holder-for-h2 {
margin: 0 auto; width: auto; background: none; text-align: center; }

.knob-image-for-h2 { opacity: 0.8; margin: 0 auto;width: 20px; height: auto; display: block; }



/* ==========================================
   Testimonial Blockquote Styling
   ========================================== */
blockquote {
    position: relative;
    margin: 28px 0;
    padding: 22px 26px 22px 54px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 225, 199, 0.14);
    border-left: 4px solid #3e754e;
    border-radius: 0 8px 8px 0;
    color: #dce1c7;
    line-height: 1.7;
    transition: border-color 0.2s ease, background 0.2s ease;
}

blockquote:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 225, 199, 0.25);
    border-left-color: #dce1c7;
}

blockquote::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: #3e754e;
    opacity: 0.85;
    pointer-events: none;
}

blockquote p {
    margin: 0 0 12px 0;
}

blockquote p:last-child {
    margin-bottom: 0;
    font-size: 0.92rem;
    color: #f2f5e8;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    blockquote {
        padding: 18px 18px 18px 42px;
        margin: 22px 0;
    }

    blockquote::before {
        font-size: 2.4rem;
        left: 12px;
        top: 10px;
    }
}