/* Gallery Showcase Styles - Simple 2-Grid Layout */
.gallery-showcase-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px auto;
    max-width: 1400px;
    padding: 0 40px;
}

/* Gallery iframe container */
.gallery-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

.pixieset-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Dark fade overlay on gallery */
.gallery-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Open in new tab button */
.open-in-new-tab {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.open-in-new-tab:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
}

.open-in-new-tab svg {
    flex-shrink: 0;
}

.open-in-new-tab span {
    white-space: nowrap;
}

/* Video highlight container */
.video-highlight-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.video-thumbnail-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background: #000;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(253, 176, 34, 0.3);
}

.video-thumbnail-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img.youtube.com/vi/VuDnXjZW6RY/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.video-thumbnail-card:hover .video-thumbnail-bg {
    transform: scale(1.05);
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    text-align: center;
}

.play-icon-xl {
    width: 80px;
    height: 80px;
    background: rgba(253, 176, 34, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-thumbnail-card:hover .play-icon-xl {
    transform: scale(1.1);
    background: rgba(253, 176, 34, 1);
}

.video-thumbnail-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.video-thumbnail-overlay p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    margin: 5% auto;
    background: transparent;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-modal .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .gallery-showcase-simple {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-iframe-container,
    .video-highlight-container {
        height: 500px;
    }
    
    .video-modal-content {
        width: 95%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .gallery-showcase-simple {
        padding: 0 20px;
    }
    
    .gallery-iframe-container,
    .video-highlight-container {
        height: 400px;
    }
    
    .video-thumbnail-overlay h3 {
        font-size: 1.5rem;
    }
    
    .play-icon-xl {
        width: 60px;
        height: 60px;
    }
    
    .video-thumbnail-overlay p {
        font-size: 0.95rem;
    }
    
    /* Adjust button on mobile */
    .open-in-new-tab {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .open-in-new-tab span {
        display: none;
    }
    
    .open-in-new-tab svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-iframe-container,
    .video-highlight-container {
        height: 300px;
    }
    
    .open-in-new-tab {
        padding: 6px 10px;
    }
}
