/* =========================================
   Base & Reset
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #f7ca18;
    /* Bright yellow from poster */
    --text-color: #111111;
    --red-accent: #cc1122;
    /* Deep red from poster */

    --font-script: 'Lobster', cursive;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* =========================================
   Header Section
   ========================================= */
.header {
    width: 100%;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.logo {
    max-width: 150px;
    height: auto;
}

.present-box {
    text-align: left;
}

.present-box h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

.present-box p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
}

/* =========================================
   Title Section
   ========================================= */
.title-section {
    margin-bottom: 3rem;
}

.play-title {
    font-family: var(--font-script);
    color: var(--red-accent);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.play-subtitle {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

/* =========================================
   Performances & Dates
   ========================================= */
.performances-section {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
}

.dates-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 0.5rem;
}

.dates-list {
    list-style: none;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
}

.dates-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* =========================================
   Location & Info Box
   ========================================= */
.location-section {
    width: 100%;
    margin-bottom: 2rem;
}

.location-title {
    font-family: var(--font-heading);
    color: var(--red-accent);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
}

.info-box-red {
    background-color: var(--red-accent);
    color: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.time-info {
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* =========================================
   Ticket & Invite
   ========================================= */
.ticket-section {
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.3;
}

.invite-section {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 4rem;
}

.invite-section strong {
    font-weight: 700;
    font-size: 1.8rem;
}

/* =========================================
   Footer & Modals
   ========================================= */
.footer {
    background-color: #111;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--bg-color);
    transform: scale(1.1);
}

.legal-links {
    font-size: 0.9rem;
}

.link-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.link-btn:hover {
    opacity: 1;
    color: var(--bg-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    color: var(--text-color);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--red-accent);
}

.modal-content h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--red-accent);
}

.modal-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.modal-body h2 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-body h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.modal-body h4 {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body a {
    color: var(--red-accent);
    text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .present-box {
        text-align: center;
    }

    .play-title {
        font-size: 4rem;
    }

    .dates-list {
        font-size: 1.8rem;
    }

    .location-title {
        font-size: 3rem;
    }
}