/**
 * Portfolio Showcase Styles
 * 3D Models, Aerial Views
 */

/* ============================================
   SKETCHFAB 3D MODEL EMBED
   ============================================ */

.sketchfab-embed-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #1a1a1a;
}

.sketchfab-viewer {
    width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .sketchfab-viewer {
        height: 350px;
    }
}

.sketchfab-caption {
    padding: 1rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   POINT CLOUD VIEWER
   ============================================ */

.point-cloud-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.point-cloud-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.point-cloud-placeholder i {
    color: var(--secondary-color, #FFE818);
    opacity: 0.8;
}

.point-cloud-placeholder h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.point-cloud-placeholder p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

/* ============================================
   ORTHOMOSAIC VIEWER
   ============================================ */

.orthomosaic-container {
    max-width: 100%;
    margin: 0 auto;
}

.orthomosaic-viewer {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #f5f5f5;
}

.orthomosaic-viewer.zoomable {
    cursor: grab;
}

.orthomosaic-viewer.zoomable:active {
    cursor: grabbing;
}

.orthomosaic-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

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

.orthomosaic-title {
    color: var(--gray-color, #5D5D5C);
    font-weight: 600;
    font-size: 1rem;
}

/* ============================================
   3D SHOWCASE SECTION
   ============================================ */

.showcase-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.showcase-tab {
    padding: 12px 24px;
    border: 2px solid var(--primary-color, #737371);
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color, #737371);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-tab:hover,
.showcase-tab.active {
    background: var(--primary-color, #737371);
    color: #fff;
}

.showcase-tab i {
    margin-right: 8px;
}

.showcase-content {
    display: none;
}

.showcase-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

/* ============================================
   FEATURE BADGES
   ============================================ */

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--secondary-color, #FFE818);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.showcase-badge i {
    font-size: 0.875rem;
}
