
:root {
    --bg-light: #F2F1EF;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFF4E4, #FBD4A3, #FFF1DD);
    transition: background 0.45s ease;
    padding: 20px 0;
    padding-top: 100px;
    text-align: center;
    border-bottom: 1px solid rgba(231, 139, 31, 0.2);
}

.hero-title {
    font-size: 32px;
    font-weight: 300;
    color: #0f172a;
    letter-spacing: -0.5px;
    padding-bottom: 48px;
}

    .hero-title strong {
        font-weight: 800;
    }

/* Main Content */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Image Section */
.image-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-image {
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .main-image img {
        width: 100%;
        height: 100%;
        /* object-fit: cover; */
    }

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.thumbnail {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-light);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

    .thumbnail:hover {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .thumbnail.active {
        border-color: #E78B1F;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

    .thumbnail:hover img,
    .thumbnail.active img {
        opacity: 1;
    }

    .thumbnail .more-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 18px;
    }

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .lightbox-overlay.active {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
}

    .lightbox-close:hover {
        transform: scale(1.1);
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .lightbox-nav:hover {
        background: rgba(231, 139, 31, 0.8);
    }

    .lightbox-nav.prev {
        left: -70px;
    }

    .lightbox-nav.next {
        right: -70px;
    }

.lightbox-counter {
    color: white;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 0;
}

.lightbox-thumb {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

    .lightbox-thumb:hover,
    .lightbox-thumb.active {
        opacity: 1;
    }

    .lightbox-thumb.active {
        border-color: #E78B1F;
    }

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.safety-card {
    background: #FFEDD5;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(231, 139, 31, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

    .safety-card:hover {
        background: #ffe4c4;
        transform: scale(1.01);
    }

    .safety-card h3 {
        font-size: 20px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .safety-card p {
        font-size: 15px;
        font-weight: 600;
        color: #334155;
        line-height: 1.6;
    }

.description-section h3 {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 16px;
}

.description-section p {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.6;
    opacity: 0.9;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 16px;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.detail-item:hover .detail-icon {
    background: #FFEDD5;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    color: #64748b;
}

.detail-item:hover .detail-icon svg {
    color: #E78B1F;
}

.detail-text h4 {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
}

.detail-text p {
    font-size: 14px;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Guidelines Section */
.guidelines-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 80px;
    margin-top: 25px;
}

@media (min-width: 1024px) {
    .guidelines-section {
        grid-template-columns: 2fr 2fr;
    }
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video-placeholder-text {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .video-placeholder-text {
    opacity: 1;
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(231, 139, 31, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 2;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.bx-shdw {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: linear-gradient(135deg, #FFB347 0%, #C2410C 100%);
}

.play-button.playing {
    opacity: 0;
    pointer-events: none;
}

.play-button svg {
    width: 40px;
    height: 40px;
    fill: white;
    margin-left: 4px;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 16px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.video-card:hover .video-controls,
.video-card.playing .video-controls {
    opacity: 1;
}

.video-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

    .video-progress:hover {
        height: 6px;
    }

.video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #E78B1F;
    border-radius: 2px;
    transition: width 0.1s;
}

.video-time {
    color: white;
    font-size: 12px;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

.video-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-control-left,
.video-control-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-ctrl-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

    .video-ctrl-btn:hover {
        background: rgba(231, 139, 31, 0.8);
        transform: scale(1.1);
    }

    .video-ctrl-btn svg {
        width: 18px;
        height: 18px;
    }

    .video-ctrl-btn.play-pause-btn {
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, #F5A623 0%, #E78B1F 100%);
    }

        .video-ctrl-btn.play-pause-btn:hover {
            background: linear-gradient(135deg, #FFB347 0%, #C2410C 100%);
        }

        .video-ctrl-btn.play-pause-btn svg {
            width: 20px;
            height: 20px;
        }

.video-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-volume-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

    .video-volume-slider:hover {
        height: 6px;
    }

    .video-volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 12px;
        height: 12px;
        background: white;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    .video-volume-slider::-moz-range-thumb {
        width: 12px;
        height: 12px;
        background: white;
        border-radius: 50%;
        cursor: pointer;
        border: none;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

/* Video card fullscreen mode */
.video-card.is-fullscreen {
    border-radius: 0;
    aspect-ratio: unset;
    width: 100vw;
    height: 100vh;
}

    .video-card.is-fullscreen video {
        object-fit: contain;
    }

    .video-card.is-fullscreen .video-controls {
        opacity: 1;
        padding: 24px 40px 20px;
    }

    .video-card.is-fullscreen .video-progress {
        height: 6px;
    }

        .video-card.is-fullscreen .video-progress:hover {
            height: 10px;
        }

    .video-card.is-fullscreen .video-ctrl-btn {
        width: 44px;
        height: 44px;
    }

        .video-card.is-fullscreen .video-ctrl-btn.play-pause-btn {
            width: 52px;
            height: 52px;
        }

        .video-card.is-fullscreen .video-ctrl-btn svg {
            width: 22px;
            height: 22px;
        }

        .video-card.is-fullscreen .video-ctrl-btn.play-pause-btn svg {
            width: 26px;
            height: 26px;
        }

    .video-card.is-fullscreen .video-time {
        font-size: 14px;
    }

    .video-card.is-fullscreen .video-volume-slider {
        width: 100px;
    }

.audio-card {
    background: white;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.audio-waves {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    width: 50px;
    justify-content: center;
}

.audio-wave-bar {
    width: 3px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.3s;
}

.audio-waves.playing .audio-wave-bar {
    background: #64748b;
    animation: wave 0.6s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        height: 8px;
    }

    50% {
        height: 20px;
    }
}

.audio-info h4 {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

.audio-info p {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-progress {
    flex: 1;
    height: 4px;
    background: #FFEDD5;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.audio-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #E78B1F;
    border-radius: 2px;
    transition: width 0.1s;
}

.audio-play-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(to bottom, #F5A623, #E78B1F);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
    box-shadow: 0 2px 8px rgba(231, 139, 31, 0.3);
}

    .audio-play-btn:hover {
        background: linear-gradient(135deg, #FFB347 0%, #C2410C 100%);
        box-shadow: 0 4px 12px rgba(231, 139, 31, 0.4);
        transform: translateY(-2px) scale(1.05);
    }

.guideline-card {
    background: white;
    border-radius: 28px;
    padding: 24px 24px 20px 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .guideline-card h3 {
        font-size: 18px;
        font-weight: 900;
        color: #0f172a;
    }

/* Map fullscreen styles */
.map-container {
    position: relative;
}

.map-fullscreen-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .map-fullscreen-btn:hover {
        background: #f8fafc;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .map-fullscreen-btn svg {
        width: 20px;
        height: 20px;
        color: #475569;
    }

.map-fullscreen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 20px;
}

    .map-fullscreen-overlay.active {
        display: flex;
    }

.map-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.map-fullscreen-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-fullscreen-close {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .map-fullscreen-close:hover {
        background: rgba(231, 139, 31, 0.8);
        transform: scale(1.05);
    }

.map-fullscreen-content {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
}

#fullscreenMap {
    width: 100%;
    height: 100%;
}

/* Fullscreen Video Controls Bar */
.fs-video-controls-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.fs-video-progress-container {
    width: 100%;
    margin-bottom: 12px;
}

.fs-video-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s;
}

    .fs-video-progress:hover {
        height: 10px;
    }

.fs-video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #F5A623, #E78B1F);
    border-radius: 3px;
    transition: width 0.1s;
}

.fs-video-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.fs-video-progress:hover .fs-video-progress-handle {
    opacity: 1;
}

.fs-video-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fs-controls-left,
.fs-controls-center,
.fs-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fs-controls-center {
    flex: 1;
    justify-content: center;
}

.fs-video-time {
    color: white;
    font-size: 13px;
    font-weight: 600;
    min-width: 100px;
}

.fs-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

    .fs-volume-slider:hover {
        height: 6px;
    }

    .fs-volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 14px;
        height: 14px;
        background: white;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    .fs-volume-slider::-moz-range-thumb {
        width: 14px;
        height: 14px;
        background: white;
        border-radius: 50%;
        cursor: pointer;
        border: none;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tag {
    padding: 8px 20px;
    border: 1px solid rgba(231, 139, 31, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    background: #FFEDD5;
    cursor: pointer;
    transition: all 0.2s;
}

    .tag:hover {
        background: #E78B1F;
        color: white;
        transform: scale(1.05);
    }

.related-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .related-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 35px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

    .related-item:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

.related-icon {
    width: 100%;
    height: 120px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.2s;
}

    .related-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-item:hover .related-icon {
    background: #FFEDD5;
}

.related-text h4 {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
}

.related-text p {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (max-width: 768px) {
    .main-container {
        padding: 32px 16px;
    }

    .content-grid {
        gap: 32px;
    }
}

.audio-time {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.audio-volume-container {
    position: relative;
    display: flex;
    align-items: center;
}

.audio-volume-btn {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

    .audio-volume-btn:hover {
        background: #FFEDD5;
    }

    .audio-volume-btn svg {
        width: 16px;
        height: 16px;
        color: #64748b;
    }

    .audio-volume-btn:hover svg {
        color: #E78B1F;
    }

.audio-volume-slider-container {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 16px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

    .audio-volume-container:hover .audio-volume-slider-container,
    .audio-volume-slider-container:hover {
        opacity: 1;
        visibility: visible;
    }

.audio-volume-slider {
    width: 4px;
    height: 80px;
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    writing-mode: vertical-lr;
    direction: rtl;
    background: #e2e8f0;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

    .audio-volume-slider:hover {
        width: 6px;
    }

    .audio-volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 14px;
        height: 14px;
        background: #E78B1F;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .audio-volume-slider::-moz-range-thumb {
        width: 14px;
        height: 14px;
        background: #E78B1F;
        border-radius: 50%;
        cursor: pointer;
        border: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }


