/* Hero Section - matching pre-produced show styling */
.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -70px;
    padding: 100px 20px 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(28px, 8vw, 60px);
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 1364px;
    margin: 0 auto 20px auto;
    line-height: 1.2;
    text-align: center !important;
}

.hero-content p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 25px;
    line-height: 1.6;
    max-width: 1088px;
    margin: 0 auto 30px;
    text-align: center;
    letter-spacing: clamp(1px, 0.5vw, 2.5px);
}

/* Photo Credit Container */
.photo-credit-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
    padding: 0 20px;
}

.photo-credit {
    position: relative;
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(12px, 4vw, 20px);
    color: white;
    opacity: 0.8;
    font-style: italic;
    text-align: right;
    margin-bottom: 15px;
    padding-right: clamp(20px, 10vw, 80px);
}

/* Corporate Events Content Section */
.corporate-event-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    color: #fff;
    overflow-x: hidden;
}

.corporate-event-content .breadcrumbs {
    padding: 2rem 0;
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(14px, 4vw, 20px);
    letter-spacing: clamp(1px, 0.5vw, 3.75px);
    margin-left: 0;
    text-align: left;
}

.corporate-event-content .breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.corporate-event-content .breadcrumbs .current-page {
    font-weight: 700;
    color: #fff;
}

.corporate-event-content .show-intro-section p {
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    letter-spacing: clamp(1px, 0.5vw, 2.5px);
    text-align: center;
}

/* Show Section - UPDATED with 1088px max-width */
.show-section {
    padding: clamp(20px, 5vw, 40px) 0;
    color: #fff;
    max-width: 1088px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

.show-container {
    width: 100%;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.show-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto clamp(15px, 3vw, 20px);
    width: 100%;
    position: relative;
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 15px);
}

.show-header h2 {
    font-size: clamp(1.3rem, 5vw, 2rem);
    font-weight: 700;
    margin: 0;
    text-align: left;
    flex: 1;
    min-width: 200px;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.show-location {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: flex-end;
    min-width: 150px;
    max-width: 100%;
    flex-shrink: 0;
}

.location-icon-img {
    width: clamp(20px, 5vw, 30px) !important;
    height: clamp(20px, 5vw, 30px) !important;
    margin-right: clamp(8px, 2vw, 20px);
    vertical-align: middle;
    flex-shrink: 0;
}

.show-explanation {
    width: 100%;
    margin: 0 auto clamp(15px, 3vw, 20px);
    text-align: left;
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.6;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    word-wrap: break-word;
    hyphens: auto;
}

.show-details {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.show-details img {
    width: 100%;
    max-width: 100%;
    margin: clamp(15px, 3vw, 20px) 0;
    height: auto;
    display: block;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    border-radius: clamp(4px, 1vw, 8px);
}

.show-details img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.show-image-wrapper {
    position: relative;
    width: 100%;
}

.show-image-wrapper.has-video {
    cursor: pointer;
}

.show-image-wrapper.has-video:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.show-image-wrapper.has-video .show-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(60px, 12vw, 90px);
    height: clamp(60px, 12vw, 90px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.show-image-wrapper.has-video .show-video-play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: clamp(12px, 2.5vw, 18px) 0 clamp(12px, 2.5vw, 18px) clamp(18px, 3.5vw, 26px);
    border-color: transparent transparent transparent #ffffff;
    margin-left: clamp(3px, 0.5vw, 6px);
}

.show-image-wrapper.has-video:hover .show-video-play-icon {
    background: rgba(0, 0, 0, 0.6);
}

.video-player-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.video-player-overlay.active {
    display: flex;
}

.video-player-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(1.05) contrast(1.05) saturate(1.05);
    transform: scale(1.01);
    pointer-events: none;
    -webkit-filter: brightness(1.05) contrast(1.05) saturate(1.05);
    -moz-filter: brightness(1.05) contrast(1.05) saturate(1.05);
    -ms-filter: brightness(1.05) contrast(1.05) saturate(1.05);
}

.video-player-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000, #111, #000);
    z-index: 1;
    animation: playerLoad 1.5s ease-in-out;
    opacity: 0;
}

@keyframes playerLoad {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
    }
}

.video-player-container iframe {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    animation: fadeInPlayer 0.3s ease-in-out 1.5s forwards;
}

@keyframes fadeInPlayer {
    to {
        opacity: 1;
    }
}

.close-video-player {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    transition: color 0.3s;
    z-index: 1001;
}

.close-video-player:hover {
    color: #ccc;
}

.show-additional {
    width: 100%;
    margin: clamp(15px, 3vw, 20px) auto;
    text-align: center;
    padding: 0 clamp(1rem, 4vw, 2rem);
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.6;
    color: #ccc;
}

.show-navigation {
    margin-top: clamp(15px, 3vw, 20px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 15px);
    width: 100%;
    flex-wrap: wrap;
    padding: clamp(10px, 2vw, 15px) 0;
}

.show-navigation .nav-text {
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2.2px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.show-navigation .nav-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    border: none;
    padding: 0;
    margin: 0 clamp(5px, 1.5vw, 10px);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    min-width: clamp(35px, 9vw, 40px);
}

.show-navigation .nav-circle:hover {
    background-color: #e0e0e0;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #333;
}

.show-navigation .nav-circle:active {
    transform: scale(0.95);
}

/* Show Section Title and Content Styling - matching pre-produced shows */
.show-section h2,
.show-details h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 3.5px;
    margin-bottom: 2rem;
    text-align: left;
}

.show-section p,
.show-details p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    letter-spacing: 2.2px;
    text-align: center;
}

/* Other Features Section */
.other-features {
    padding: clamp(30px, 6vw, 40px) 0;
    color: #fff;
    text-align: center;
    max-width: 1088px;
    margin: 0 auto;
    overflow-x: hidden;
}

.other-features h2 {
    font-size: clamp(24px, 6vw, 35px);
    font-weight: 600;
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    color: #898989;
}

.other-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    text-align: center;
    width: 100%;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.other-feature-item {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.other-feature-item h3 {
    font-size: clamp(18px, 4vw, 22px);
    margin-bottom: 1rem;
    letter-spacing: clamp(1px, 0.5vw, 3.5px);
}

.other-feature-item p {
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
    letter-spacing: clamp(1px, 0.3vw, 2.2px);
    flex: 1;
}

.other-feature-item .feature-link {
    color: #fff;
    border: 1px solid #fff;
    padding: clamp(8px, 2vw, 10px) clamp(16px, 4vw, 20px);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
    font-size: clamp(14px, 3vw, 16px);
}

.other-feature-item .feature-link:hover {
    background: #fff;
    color: #000;
}

/* Responsive Adjustments */
/* Large devices (desktops, 992px and up) */
@media (max-width: 1200px) {
    .hero-content h1 {
        margin: 0 auto 20px auto;
        text-align: center;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
        min-height: 90vh;
    }

    .show-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .show-header h2 {
        min-width: auto;
        width: 100%;
    }

    .show-location {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    .hero-section {
        min-height: 80vh;
        margin-top: -50px;
        padding: 80px 15px 15px;
    }

    .corporate-event-content .breadcrumbs {
        margin-left: 0;
        text-align: center;
        padding: 1.5rem 0;
    }

    .show-section {
        padding: clamp(15px, 4vw, 30px) 0;
    }

    .show-header h2 {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        text-align: left;
    }

    .show-location {
        justify-content: center;
        font-size: clamp(0.75rem, 2.5vw, 1rem);
    }

    .show-explanation {
        font-size: clamp(12px, 3vw, 16px);
        text-align: center;
        margin: clamp(10px, 2.5vw, 15px) auto;
    }

    .show-details img {
        margin: clamp(10px, 2.5vw, 15px) 0;
    }

    .show-additional {
        font-size: clamp(12px, 3vw, 15px);
        text-align: center;
        margin: clamp(10px, 2.5vw, 15px) auto;
    }

    .show-navigation {
        gap: clamp(8px, 2vw, 12px);
        margin-top: clamp(10px, 2.5vw, 15px);
    }

    .show-navigation .nav-text {
        font-size: 16px;
        letter-spacing: 2.2px;
    }

    .show-section h2,
    .show-details h2 {
        font-size: 28px;
        letter-spacing: 3.5px;
    }

    .show-navigation .nav-circle {
        width: clamp(32px, 8vw, 38px);
        height: clamp(32px, 8vw, 38px);
        font-size: clamp(0.9rem, 3vw, 1.3rem);
        min-width: clamp(32px, 8vw, 38px);
    }

    .other-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 70vh;
        padding: 70px 10px 10px;
    }

    .corporate-event-content {
        padding: 0 1rem;
    }

    .show-container {
        padding: 0 1rem;
    }

    .other-features-grid {
        padding: 0 1rem;
        gap: 1rem;
    }

    .other-feature-item {
        min-height: 180px;
    }

    .show-section {
        padding: clamp(10px, 3vw, 20px) 0;
    }

    .show-header {
        margin: 0 auto clamp(10px, 2.5vw, 15px);
        gap: clamp(6px, 1.5vw, 10px);
    }

    .show-header h2 {
        font-size: clamp(1rem, 3.8vw, 1.4rem);
        line-height: 1.4;
    }

    .show-location {
        font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    }

    .location-icon-img {
        width: clamp(18px, 4.5vw, 25px) !important;
        height: clamp(18px, 4.5vw, 25px) !important;
        margin-right: clamp(6px, 1.5vw, 10px);
    }

    .show-explanation {
        font-size: clamp(11px, 2.8vw, 15px);
        line-height: 1.5;
        margin: clamp(8px, 2vw, 12px) auto;
    }

    .show-details img {
        margin: clamp(8px, 2vw, 12px) 0;
    }

    .show-additional {
        font-size: clamp(11px, 2.8vw, 14px);
        margin: clamp(8px, 2vw, 12px) auto;
        padding: 0 clamp(0.5rem, 3vw, 1rem);
    }

    .show-navigation {
        gap: clamp(6px, 1.5vw, 10px);
        margin-top: clamp(8px, 2vw, 12px);
    }

    .show-navigation .nav-text {
        font-size: 16px;
        letter-spacing: 2.2px;
    }

    .show-section h2,
    .show-details h2 {
        font-size: 24px;
        letter-spacing: 3.5px;
    }

    .show-navigation .nav-circle {
        width: clamp(30px, 7.5vw, 35px);
        height: clamp(30px, 7.5vw, 35px);
        font-size: clamp(0.8rem, 2.5vw, 1.1rem);
        min-width: clamp(30px, 7.5vw, 35px);
        margin: 0 clamp(3px, 1vw, 8px);
    }
}

/* Very small devices (less than 400px) */
@media (max-width: 399px) {
    .hero-section {
        padding: 60px 8px 8px;
    }

    .corporate-event-content {
        padding: 0 0.5rem;
    }

    .show-container {
        padding: 0 0.5rem;
    }

    .other-features-grid {
        padding: 0 0.5rem;
    }

    .other-feature-item {
        min-height: 180px;
    }

    .show-header h2 {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    }

    .show-location {
        font-size: clamp(0.65rem, 2vw, 0.8rem);
    }

    .show-explanation {
        font-size: clamp(10px, 2.5vw, 13px);
    }

    .show-additional {
        font-size: clamp(10px, 2.5vw, 13px);
    }

    .show-navigation .nav-circle {
        width: clamp(28px, 7vw, 32px);
        height: clamp(28px, 7vw, 32px);
        font-size: clamp(0.75rem, 2.2vw, 1rem);
        min-width: clamp(28px, 7vw, 32px);
    }
}

/* Prevent horizontal scrolling on all screen sizes */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure all containers respect viewport width */
* {
    box-sizing: border-box;
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}