@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.ggdefaulthotspot {
    width: auto !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    border-radius: 8px !important;
    background: #C0B460;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: .4rem 1rem !important;
    border: 2px solid rgb(192, 180, 96) !important;
    box-shadow: 0 10px 5px rgb(0 0 0 / 25%);
    font-weight: 500;
}

a {
    color: #000;
    transition: 0.2s ease-in all;
}

a:hover {
    color: #ff3b00;
}


.opensans {
    font-family: "Open Sans", sans-serif;
}

.uppercase {
    text-transform: uppercase;
}

.welcome-text {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 10px 0 20px;
    letter-spacing: 0.5px;
}

.intro-logo {
    margin: 10px 0 0px 0;
}

.intro-logo img {
    width: 205px;
}

.intro-text-1 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    color: white;
}

.intro-text-2 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    color: white;
}

.intro-text-3 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    color: white;
}

.intro-text-4 {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-top: 20px;
    color: white;
}

.intro-bg {
    background-image:url('introbg.jpg') !important;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(40%);
    transform: scale(1.1);
}

.enter-btn {
    background: transparent;
    border: 1px solid #C0B460;
    color: #ffffff;
    padding: 14px 36px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.enter-btn:hover {
    background: #C0B460;
    color: #0c0c0d;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.top-level-menu-item {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
}

.sidebar {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-container {
    z-index: 10;
}

.header-card {

}

.header-card:after {
    content:"";
    position: absolute;
    top: 0;
    left:0;
    right:0;
    bottom:0;
    background-image: linear-gradient(rgba(18, 18, 20, 0), rgba(18, 18, 20, 0.95));
}

.header-card-title {
    z-index: 5;
}

.submenu-container .header-card-title {
    z-index: 15;
}

.location-card {
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.location-card:hover {
    transform: translateY(-2px);
    border-color: #c5a059;
}

.location-card img {
    transition: transform 0.3s ease;
}

.location-card:hover img {
    transform: scale(1.04);
}

.location-card:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(18, 18, 20, 0.95));
    z-index: 2;
}

.submenu-container .location-card:after {
    z-index: 12;
}

.location-card-text {
    z-index: 3;
}

.submenu-container .location-card-text {
    z-index: 13;
}

.bottom-left-controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base Shared Toggle Styles */
.ui-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(12, 12, 13, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    width: 210px; /* Fixed equal width for layout symmetry */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ui-toggle-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(12, 12, 13, 0.9);
}
.ui-toggle-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}
.ui-toggle-switch {
    position: relative;
    width: 38px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}
.ui-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

/* Shared Active Execution Classes */
.ui-toggle-card.active {
    border-color: #C0B460;
    background: rgba(197, 160, 89, 0.12);
    background: rgba(12, 12, 13, 0.75);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.ui-toggle-card.active .ui-toggle-label {
    color: #ffffff;
}
.ui-toggle-card.active .ui-toggle-switch {
    background: #C0B460;
}
.ui-toggle-card.active .ui-toggle-switch::after {
    transform: translateX(18px);
    background: #fff;
}


/* old 
.track-toggle-container {
    position: absolute;
    left: 40px;
    bottom: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(12, 12, 13, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-toggle-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(12, 12, 13, 0.9);
}
.track-toggle-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}
.track-toggle-switch {
    position: relative;
    width: 38px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: background 0.3s ease;
}
.track-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}
*/

/* Dynamic Active Classes (Toggle state) */

/* old
.track-toggle-container.active {
    border-color: #C0B460;
    background: rgba(197, 160, 89, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.track-toggle-container.active .track-toggle-label {
    color: #ffffff !important;
}
.track-toggle-container.active .track-toggle-switch {
    background: #C0B460;
}
.track-toggle-container.active .track-toggle-switch::after {
    transform: translateX(18px);
    background: #0c0c0d;
}
*/

/* ==========================================
   NEW: AUDIO CONTROL & VU METER FEATURE (BOTTOM-RIGHT)
   ========================================== */

.audio-dashboard-widget {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(12, 12, 13, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Circular HTML5 Audio Play Trigger Button */
.audio-play-trigger {
    width: 44px;
    height: 44px;
    background: #C0B460;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.audio-play-trigger svg {
    width: 18px;
    height: 18px;
    fill: #0c0c0d;
    transition: transform 0.2s ease;
}
.audio-play-trigger:hover {
    scale: 1.05;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}
/* Icon swapping helper states */
.audio-play-trigger .pause-icon { display: none; }
.audio-dashboard-widget.playing .audio-play-trigger {
    background: #ffffff;
}
.audio-dashboard-widget.playing .audio-play-trigger .play-icon { display: none; }
.audio-dashboard-widget.playing .audio-play-trigger .pause-icon { display: block; }

/* Sound Data Tracking Content Panel */
.audio-metadata-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.audio-widget-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

/* 5-Bar Multi-Segment VU Sound Level Meter Indicator */
.vu-meter-bar-grid {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    height: 16px;
    padding-top: 2px;
    justify-content: center;
}
.vu-bar {
    width: 14px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08); /* Empty background slot state */
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
/* Sequential scaling layout heights for traditional graphic equalizer appearance */
.vu-bar:nth-child(1) { height: 30%; }
.vu-bar:nth-child(2) { height: 48%; }
.vu-bar:nth-child(3) { height: 68%; }
.vu-bar:nth-child(4) { height: 84%; }
.vu-bar:nth-child(5) { height: 100%; }

/* Dynamic color styling applied only when bars turn .active */
.vu-bar.active:nth-child(1), 
.vu-bar.active:nth-child(2) { 
    background: #2ecc71; /* Green: Calm / Inside hospitality boxes */
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}
.vu-bar.active:nth-child(3) { 
    background: #f1c40f; /* Yellow: Mid-range ambient volume */
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}
.vu-bar.active:nth-child(4) { 
    background: #e67e22; /* Amber: Heavy Grandstand trackside exposure */
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}
.vu-bar.active:nth-child(5) { 
    background: #e74c3c; /* Red: Pitlane / Peak Engine decibel noise */
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.7);
}

/* Heavy, high-visibility breathing wave */
.glass-card-marker::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #c5a059;
    border-radius: 50%;
    animation: highVisPulse 2.2s infinite ease-out;
    pointer-events: none;
}

@keyframes highVisPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.capacitytext h3 {
    margin: 0 0 15px 0;
    font-family: "Open Sans", sans-serif;
}

.capacitytext ul {
    margin: 0 0 20px 0;
    padding-left: 15px;
}

.posterimage {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.splashlogo img {
    width: 350px;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

.otherlogos img {
    width: 180px;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

.welcomeblock {
    text-align: center;
}

.button-container {
    text-align: center;
    margin: 5px 0 0 0;
}

.button-container span {
    cursor: pointer;
    display: inline-block;
    color: #fff;
    transition: 0.2sease-in background;
    font-weight: 300;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.1;
    min-width: 80px;
    background: #000;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
}

.button-container span:hover {
    background: #76addd;
    color: #fff;
}  

.info-box-content ul {
    padding-left: 20px;
    margin: 0;
}

.info-box-content ul li {
    margin-bottom: 10px;
}

.info-box-content ul li:last-child {
    margin-bottom: 0;
}

.welcometohornbill {
    font-size: 56px;
}

.gradient-button {
    background-image: linear-gradient(320deg, #67cad3, #1c91c4) !important;
}

.gradient-button:hover {
    background-image: linear-gradient(320deg, #67cad3, #67cad3) !important;
}

.flippedicon {
    transform: scaleX(-1);
}

.menutitle {
    text-transform: uppercase;
}

@media (max-width:1024px) {

    .bottom-left-controls {
        bottom: 15px;
        left: 15px;
    }

    .audio-dashboard-widget {
        bottom: 15px;
        right: 15px;
    }

    .intro-logo img {
        width: 200px;
    }

    .menutitle > div {
        font-size: 13px !important;
    }

}

@media (max-width:767px) {

    .intro-text-container-inner {
        max-width: calc(100vw - 40px);
        margin: 0 auto;
    }
    
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
