/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

/* When opened, use flexbox to center modal content vertically if there's space */
.modal.open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* breathing room at edges */
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    border-radius: 15px;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-header {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.modal-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
}

.modal-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    flex-shrink: 0;
}

/* Studio Detail Sections */
.studio-details {
    display: grid;
    gap: 2rem;
}

.detail-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Highlight clickable gear sections */
.detail-section[data-open-equipment] {
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.1s ease, background-color 0.2s ease, border-color 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.detail-section[data-open-equipment]:hover,
.detail-section[data-open-equipment]:focus {
    outline: none;
    background: #f0f7ff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
    border-left-color: #2c5ea8;
    transform: translateY(-2px);
}

.detail-section[data-open-equipment]:active {
    transform: translateY(1px);
}

/* Prominent "Our Gear" badge on hover/focus */
.detail-section[data-open-equipment]::after {
    content: '🔧 Click to View Our Gear';
    position: absolute;
    top: 20%;
    right: 1rem;
    transform: translateY(-50%) translateY(-4px) scale(0.9);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bc8 100%);
    color: white;
    letter-spacing: 0.3px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.detail-section[data-open-equipment]:hover::after,
.detail-section[data-open-equipment]:focus::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}


.detail-section h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h3 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.detail-section p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section ul li {
    color: #555;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-section ul li:last-child {
    border-bottom: none;
}

.detail-section ul li strong {
    color: #333;
}

/* Feature Items */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item-detailed {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}

.feature-icon i {
    color: #fff;
    font-size: 1.1rem;
}

.feature-content {
    flex: 1;
}

.feature-content h5 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.feature-item-detailed:hover .feature-icon {
    background: #3a7bc8;
    transform: scale(1.1);
}

.feature-item-detailed:hover .feature-content h5 {
    color: var(--primary-color);
}

/* Event Type Grids */
.event-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.event-type-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.event-type-item:hover {
    background: #f0f7ff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.event-type-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.event-type-item span {
    color: #333;
    font-weight: 500;
}

/* Equipment Modal Styles */
.equipment-modal-content {
    max-width: 1100px;
}

/* Gear Stats Cards */
.gear-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 0 0 2rem 0;
    padding: 1.5rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #667eea 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.5rem;
    margin: 0 2rem 2rem 2rem;
    gap: 0.25rem;
}

.equipment-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-weight: 500;
}

.equipment-tab-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.equipment-tab-btn.active {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.equipment-tab-btn i {
    font-size: 1.5rem;
}

.equipment-tab-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}

.equipment-section {
    display: none;
}

.equipment-section.active {
    display: block;
}

.equipment-intro {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0 0 2rem 0;
    border-left: 3px solid #dee2e6;
}

.equipment-intro p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.equipment-category {
    margin-bottom: 3rem;
}

.equipment-category h3 {
    color: #212529;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.equipment-category h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #adb5bd;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* Equipment Lists */
.equipment-lists-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.equipment-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    height: auto;
}

.equipment-list:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.equipment-list-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem 1.5rem 1rem;
    text-align: center;
}

.equipment-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.equipment-header-icon i {
    color: #ffffff;
    font-size: 1.4rem;
}

.equipment-list:hover .equipment-header-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.equipment-header-content h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.equipment-header-content p {
    color: #adb5bd;
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.equipment-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equipment-list-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.equipment-list-item:hover::before {
    opacity: 1;
}

.equipment-list-item.hidden {
    display: none;
}

.equipment-item-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.96rem;
    line-height: 1.3;
    flex: 1;
    padding-right: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.equipment-item-quantity {
    color: #4A90E2;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: right;
    min-width: fit-content;
    background: rgba(74, 144, 226, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(74, 144, 226, 0.25);
}

/* Equipment Items */
.equipment-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equipment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.equipment-item:hover::before {
    transform: scaleX(1);
}

.equipment-item h4 {
    color: #333 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.equipment-item .quantity {
    color: #666 !important;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.quantity {
    color: #666;
    font-weight: 400;
    font-size: 0.9rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Video Service Modal Styles */
.video-service-modal-content {
    max-width: 800px;
    width: 90%;
    margin: 5% auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.video-service-modal-content .modal-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    text-align: center;
}

.video-service-modal-content .modal-header-with-image {
    padding: 0;
    background: none;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: flex-end;
}

.video-service-modal-content .modal-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-service-modal-content .modal-header-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.video-service-modal-content .modal-header-with-image .modal-title {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
}

.video-service-modal-content .modal-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.video-service-modal-content .modal-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.video-service-modal-content .modal-body {
    padding: 2rem;
}

.video-service-modal-content .modal-footer {
    padding: 1.5rem 2rem 2rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.video-service-modal-content .book-now-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-service-modal-content .book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #3a7bc8 0%, #5a6fd8 100%);
}

.video-service-modal-content .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.video-service-modal-content .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Video Player in Modals */
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-player-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Responsive YouTube embed support */
.yt-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Livestream layout: make embed fill the column height */
.live-stream-body .auto-video-container {
    min-height: 560px;
}

.live-stream-body .auto-video-container .yt-embed {
    position: absolute;
    inset: 0;
    padding-top: 0; /* override 16:9 box so it can grow taller */
    height: 100%;
}

/* Enhanced Live Stream Modal */
.live-stream-enhanced {
    max-width: 1000px !important;
}

.live-stream-body {
    padding: 0 !important;
}

/* Fresh Live Stream layout (video production modal) */
.live-stream-modern .ls-hero {
    margin: 0 0 1.5rem 0;
}

.live-stream-modern .ls-hero .yt-embed {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.live-stream-modern .ls-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 0 1.5rem 0;
}

.live-stream-modern .ls-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.live-stream-modern .ls-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.live-stream-modern .ls-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2 0%, #667eea 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.live-stream-modern .ls-card h4 {
    margin: 0.25rem 0 0;
    font-size: 1.05rem;
    color: #222;
}

.live-stream-modern .ls-card p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.live-stream-modern .ls-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.live-stream-modern .ls-col {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
}

.live-stream-modern .ls-col h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #222;
    margin: 0 0 0.75rem 0;
}

.live-stream-modern .ls-col h3 i {
    color: var(--primary-color);
}

.live-stream-modern .ls-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #555;
}

.live-stream-modern .ls-list li {
    margin: 0.35rem 0;
}

@media (max-width: 1024px) {
    .live-stream-modern .ls-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .live-stream-modern .ls-feature-grid {
        grid-template-columns: 1fr;
    }
    .live-stream-modern .ls-split {
        grid-template-columns: 1fr;
    }
}

.video-text-combo {
    display: flex;
    min-height: 500px;
    gap: 0;
}

/* Side-by-side split variant (respects 16:9 ratio) */
.live-stream-split .video-text-combo {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    min-height: unset;
    align-items: start;
}

.live-stream-split .auto-video-container {
    min-height: 0 !important;
}

.live-stream-split .auto-video-container .yt-embed {
    position: relative !important;
    inset: auto !important;
    padding-top: 56.25% !important; /* 16:9 */
    height: auto !important;
}

.live-stream-split .yt-embed iframe {
    border-radius: 12px;
}

.live-stream-split .text-content-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}

@media (max-width: 1024px) {
    .live-stream-split .video-text-combo {
        grid-template-columns: 1fr;
    }
}

.auto-video-section {
    flex: 1;
    position: relative;
    background: #000;
}

.auto-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.auto-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
}

.video-overlay-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.video-overlay-content i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.text-content-section {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.streaming-features {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    gap: 1rem;
    justify-content: space-between;
}

.feature-highlight {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.feature-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.8rem;
}

.feature-highlight h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-highlight p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.feature-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item-compact {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-item-compact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item-compact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.feature-item-compact p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.streaming-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    margin-top: 0.3rem;
}

.expanded-details {
    padding: 2rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 1rem 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-left: 50%;
}

.scroll-indicator i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* Show More Buttons */
.show-more-btn {
    width: 100%;
    margin-top: auto;
    padding: 0.75rem;
    background: linear-gradient(135deg, #4A90E2 0%, #667eea 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.show-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    background: linear-gradient(135deg, #5ba3f5 0%, #7a8eed 100%);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Service Item Styles (for video production services) */
.service-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #667eea 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.15);
    border-color: var(--primary-color);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-item .service-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.service-item:hover h4 {
    color: var(--primary-color);
}

.service-item:hover .service-description {
    color: #555;
}

/* Studio Gallery Styles */
.studio-gallery {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.studio-gallery h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.studio-gallery h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.studio-gallery .gallery-grid {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem;
    padding-bottom: 1.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.studio-gallery .gallery-grid::-webkit-scrollbar {
    height: 6px;
}

.studio-gallery .gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.studio-gallery .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.studio-gallery .gallery-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.studio-gallery .gallery-item {
    position: relative;
    flex: 0 0 160px;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-gallery .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.studio-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.studio-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.studio-gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.studio-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.studio-gallery .gallery-overlay i {
    color: #ffffff;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.studio-gallery .gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* Responsive Studio Gallery */
@media (max-width: 768px) {
    .studio-gallery .gallery-grid {
        gap: 0.8rem;
    }
    
    .studio-gallery .gallery-item {
        flex: 0 0 140px;
    }
    
    .studio-gallery {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .studio-gallery h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .studio-gallery .gallery-overlay i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .studio-gallery .gallery-grid {
        gap: 0.6rem;
    }
    
    .studio-gallery .gallery-item {
        flex: 0 0 120px;
        aspect-ratio: 1;
    }
    
    .studio-gallery .gallery-overlay i {
        font-size: 1.2rem;
    }
}

/* Dark Theme for Audio Production Modals - removed legacy ID-specific rules (#silver-spring-modal, #kensington-modal, #live-sound-modal, #equipment-modal) */


/* Image Preview Modal */
.image-preview-modal {
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.image-preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.image-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Modal Responsive Design */
/* Prevent equipment modal horizontal collapse on ultra-wide screens */
@media (min-width: 1400px) {
    .equipment-lists-container {
        /* grid-template-columns: repeat(3, 1fr); */
        max-width: 1200px;
        margin: 2rem auto 0 auto;
    }
    
    .equipment-modal-content {
        max-width: 1300px;
    }
}

@media (max-width: 1024px) {
    .equipment-lists-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1% auto;
        max-width: 98%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-header {
        height: 180px;
    }

    .modal-title {
        padding: 2rem 1.5rem 1.5rem;
    }

    .modal-title h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .modal-body {
        padding: 1.5rem;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .detail-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .detail-section ul li {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }

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

    .feature-item-detailed {
        gap: 0.8rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .feature-content h5 {
        font-size: 0.95rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .event-types-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .event-type-item {
        padding: 0.8rem;
    }

    .modal-footer {
        padding: 1.25rem;
    }

    .equipment-modal-content {
        margin: 1% auto;
        max-width: 98%;
    }

    .equipment-tabs {
        margin: 0 1rem 1.5rem 1rem;
        flex-wrap: wrap;
        padding: 0.4rem;
    }

    .equipment-tab-btn {
        min-width: calc(50% - 0.125rem);
        padding: 0.75rem 0.5rem;
    }

    .equipment-tab-btn i {
        font-size: 1.2rem;
    }

    .equipment-tab-btn span {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .equipment-lists-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .equipment-list {
        padding: 1.25rem;
        min-height: auto;
    }

    .equipment-list-header {
        padding: 1rem 0.5rem 1rem 0.5rem;
        margin-bottom: 1.5rem;
    }

    .equipment-list-header h4 {
        font-size: 1.1rem;
    }

    .equipment-list-item {
        padding: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .equipment-item-quantity {
        margin-left: 0;
        text-align: left;
        font-size: 0.8rem;
    }

    .equipment-item {
        padding: 1rem;
    }

    .equipment-item h4 {
        font-size: 1rem;
    }

    .quantity {
        font-size: 0.8rem;
        padding: 0;
        margin-top: 0.4rem;
    }

    .video-service-modal-content {
        width: 98%;
        margin: 1% auto;
        border-radius: 12px;
    }

    .video-service-modal-content .modal-header {
        padding: 1.5rem;
    }

    .video-service-modal-content .modal-header-with-image {
        /* Give the header more breathing room on tablets */
        height: 260px;
    }

    .video-service-modal-content .modal-header-with-image .modal-title {
        padding: 1.5rem;
    }

    .video-service-modal-content .modal-title h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .video-service-modal-content .modal-subtitle {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .video-service-modal-content .modal-body {
        padding: 1.5rem;
    }

    .video-service-modal-content .modal-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }

    .live-stream-enhanced {
        max-width: 98% !important;
        margin: 1% auto !important;
    }
    
    .video-text-combo {
        flex-direction: column;
        min-height: auto;
    }
    
    .auto-video-container {
        min-height: 220px;
    }

    /* On mobile, return to standard 16:9 ratio to avoid excessive height */
    .live-stream-body .auto-video-container .yt-embed {
        position: relative;
        padding-top: 56.25%;
        height: auto;
    }
    
    .text-content-section {
        padding: 1.5rem;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .streaming-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .image-preview-content {
        max-width: 95vw;
        max-height: 85vh;
        margin: 7.5vh auto;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-navigation {
        padding: 0 10px;
    }
    
    .image-preview-modal .close-btn {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 0.5% auto;
        max-width: 99%;
        max-height: 97vh;
        border-radius: 8px;
    }
    
    .modal-header {
        height: 180px;
    }

    .modal-title {
        padding: 1.25rem 1rem 1rem;
    }

    .modal-title h2 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .modal-body {
        padding: 1rem;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .detail-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .detail-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .detail-section ul li {
        padding: 0.3rem 0;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .feature-item-detailed {
        gap: 0.6rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        margin-top: 0.1rem;
    }

    .feature-content h5 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .event-type-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .event-type-item i {
        font-size: 1rem;
    }

    .event-type-item span {
        font-size: 0.9rem;
    }

    .modal-footer {
        padding: 1rem;
    }
    
    .book-now-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .equipment-modal-content {
        margin: 0.5% auto;
        max-width: 99%;
    }

    .equipment-tabs {
        margin: 0 0.5rem 1rem 0.5rem;
        padding: 0.3rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .equipment-tab-btn {
        min-width: 100%;
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }

    .equipment-tab-btn i {
        font-size: 1rem;
    }

    .equipment-tab-btn span {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .equipment-lists-container {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .equipment-list {
        padding: 1rem;
    }

    .equipment-list-header {
        padding: 0.8rem 0.3rem 0.8rem 0.3rem;
        margin-bottom: 1rem;
    }

    .equipment-list-header h4 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .equipment-list-header p {
        font-size: 0.8rem;
    }

    .equipment-list-item {
        padding: 0.5rem;
        gap: 0.2rem;
    }

    .equipment-item-quantity {
        font-size: 0.75rem;
    }

    .video-service-modal-content {
        /* Adaptive: only as tall as needed, keep background visible */
        width: 98%;
        height: auto;
        max-height: 92vh;
        margin: 1% auto;
        border-radius: 15px;
    }

    .video-service-modal-content .modal-header {
        padding: 1rem;
    }

    .video-service-modal-content .modal-header-with-image {
        /* Let header size naturally; only as tall as needed */
        height: auto;
        min-height: 0;
    }

    .video-service-modal-content .modal-header-with-image .modal-title {
        padding: 1rem;
    }

    .video-service-modal-content .modal-title h2 {
        font-size: 1.35rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
    }

    .video-service-modal-content .modal-subtitle {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    /* Make title block part of the flow so it can't be clipped */
    .video-service-modal-content .modal-title {
        position: static;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
        color: #fff;
        padding: 1rem;
    }

    /* Keep header image as a banner height */
    .video-service-modal-content .modal-header-with-image .modal-header-image,
    .video-service-modal-content .modal-image {
        object-fit: cover;
    }

    .video-service-modal-content .modal-body {
        padding: 0.75rem 0.75rem 0;
    }

    .video-service-modal-content .modal-footer {
        padding: 0.8rem 1rem 1rem 1rem;
    }

    .live-stream-enhanced {
        max-width: 99% !important;
        margin: 0.5% auto !important;
    }
    
    .auto-video-container {
        position: relative;
        height: auto;
        min-height: 0;
        padding-top: 56.25%; /* 16:9 */
    }

    .auto-video-container video {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .text-content-section {
        padding: 1rem;
    }
    
    .feature-highlight {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .feature-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-highlight h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-highlight p {
        font-size: 0.85rem;
    }
    
    .streaming-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }

    .video-player-container {
        margin: 1rem 0;
    }
    
    .video-player-container video {
        border-radius: 8px;
    }
    
    /* Additional modal content optimizations for mobile */
    .studio-details {
        gap: 1.5rem;
    }
    
    .live-stream-body {
        padding: 0;
    }
    
    .streaming-stats {
        padding: 1rem 0;
        margin-top: 0.8rem;
        gap: 0.8rem;
        justify-content: space-between;
    }
    
    .stat-item h3 {
        font-size: 2rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .feature-row {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-item-compact {
        gap: 0.6rem;
    }
    
    .feature-item-compact h4 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }
    
    .feature-item-compact p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .feature-highlight {
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .video-text-combo {
        min-height: auto;
    }
    
    /* Additional ultra-small screen modal optimizations */
    .studio-details {
        gap: 1rem;
    }
    
    .streaming-stats {
        flex-direction: column;
        padding: 0.8rem;
        gap: 0.6rem;
        align-items: center;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
        min-width: auto;
    }
    
    .stat-item h3 {
        font-size: 1.6rem;
        margin: 0;
    }
    
    .stat-item p {
        font-size: 0.8rem;
        margin: 0;
        text-align: left;
    }
    
    .feature-row {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-item-compact {
        gap: 0.5rem;
        padding: 0.6rem;
        background: rgba(248, 249, 250, 0.5);
        border-radius: 8px;
    }
    
    .feature-item-compact h4 {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
        line-height: 1.2;
    }
    
    .feature-item-compact p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .feature-item-compact i {
        font-size: 1rem;
        margin-top: 0;
    }
    
    .feature-highlight {
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .video-overlay-content {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .video-overlay-content i {
        font-size: 1.2rem;
    }
}
