/* Events Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

/* Override body background for events page */
body {
    color: #fff;
    position: relative;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/events/brian_wahlstrom.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
}

/* Simple Header for Events Page */
.events-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: transparent;
    transition: all 0.3s ease;
}

.events-header.scrolled {
    background: transparent;
    padding: 2rem 0;
}

.header-logo {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: left;
}

.header-logo a {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 300;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.header-logo a:hover {
    opacity: 0.8;
}

/* Hide initials on events page */
.header-logo .initials {
    display: none !important;
}

/* Events Hero */
.events-hero {
    padding: 180px 0 80px;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 10;
}

.events-hero .container {
    max-width: 1400px;
}

.events-hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.hero-subtitle {
    display: none;
}

/* Section Titles */
.section-title {
    display: none;
}

/* Featured Events Section */
.featured-events {
    display: none;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-event-card {
    background: var(--primary-light);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-event-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.featured-event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-event-content {
    padding: 2rem;
}

.featured-event-date {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.featured-event-title {
    font-family: 'parlare', Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-weight: 400;
}

.featured-event-venue {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* All Events Section */
.all-events {
    padding: 220px 0 80px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.all-events .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.events-list {
    width: 100%;
}

.event-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-right: none;
    padding: 2rem 3rem;
    margin: 0;
    display: grid;
    grid-template-columns: 120px 300px 1fr 120px;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease, opacity 0.15s ease-out;
    color: #fff;
}

.event-card:hover {
    background: transparent;
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.5);
}

.event-card:first-child {
    border-top: none;
}

.event-info {
    text-align: left;
}

.event-datetime {
    text-align: left;
    transition: opacity 0.15s ease-out;
}

.event-date {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    display: block;
}

.event-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    display: block;
    margin-top: 0.2rem;
}

.event-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
}

.event-venue {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 300;
    margin: 0;
    line-height: 1.4;
}

.event-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 0.2rem;
}

.event-description-col {
    text-align: left;
}

.event-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
}

.event-action {
    margin: 0;
    text-align: right;
}

.event-button {
    background: transparent;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: 1px solid #333;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
}

.event-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.event-button.sold-out {
    background: #999;
    cursor: not-allowed;
}

.event-button.sold-out:hover {
    background: #999;
    transform: none;
}

/* Past Events */
.event-card.past-event {
    opacity: 0.3;
}

.event-card.past-event .event-button {
    display: none;
}

/* No Events Message */
.no-events {
    text-align: center;
    padding: 4rem 0;
}

.no-events p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}

.no-events a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.no-events a:hover {
    text-decoration: underline;
}

/* Footer adjustments for dark theme */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 20;
}

.footer p {
    color: #666;
    font-size: 0.8rem;
}

/* Footer Navigation for Events Page */
.events-footer {
    padding: 3rem 0;
}

.events-footer .container {
    text-align: center;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 1.5rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a.active {
    color: #fff;
}

.footer-copyright {
    margin: 0;
    color: #666;
    font-size: 0.75rem;
}

/* Event Type Badge */
.event-type {
    display: inline-block;
    background: var(--bg-section);
    color: var(--text-dark);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 1rem;
}

.event-type.private {
    background: #f0e6d8;
    color: var(--accent-warm);
}


/* Event Modal */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.event-modal.active {
    display: flex;
}

.event-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.event-modal-content {
    position: relative;
    background: #1a1a1a;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    border: 3px solid #ff6600;
    z-index: 10000;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.modal-close:hover {
    color: #ff6600;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-event-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 3px solid #ff6600;
}

.modal-event-title {
    color: #ff6600;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
    font-family: 'Creepster', cursive;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.modal-event-date {
    font-size: 1.5rem;
    color: #d4a574;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-event-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.modal-event-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.modal-event-button {
    display: inline-block;
    padding: 18px 35px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modal-event-button.phone {
    background-color: #ff6600;
}

.modal-event-button.phone:hover {
    background-color: #cc5200;
    transform: translateY(-2px);
}

.modal-event-button.yelp {
    background-color: #d32323;
}

.modal-event-button.yelp:hover {
    background-color: #a31c1c;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-logo a {
        font-size: 2rem;
    }

    .events-hero {
        padding: 120px 0 40px;
    }

    .events-hero h1 {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem 0;
    }

    .event-datetime {
        order: 1;
        margin-bottom: 0.5rem;
    }

    .event-info {
        order: 2;
    }

    .event-description-col {
        order: 3;
        margin-bottom: 0.5rem;
    }

    .event-action {
        order: 4;
        margin: 0;
    }

    .event-button {
        width: auto;
    }

    .footer-nav a {
        display: block;
        margin: 0.5rem 0;
    }

    /* Modal responsive styles */
    .event-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-event-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .modal-event-date {
        font-size: 1.2rem;
    }

    .modal-event-description {
        font-size: 1rem;
    }

    .modal-event-button {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
}