/* T-Shirt 3D Showcase Styles */

.showcase-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: transparent;
}

.product-stage {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1500px;
}

.product-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Shadow layers */
.shadow-contact {
    position: absolute;
    bottom: -8%;
    left: 10%;
    right: 10%;
    height: 20%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
    filter: blur(12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.shadow-mid {
    position: absolute;
    bottom: -12%;
    left: 5%;
    right: 5%;
    height: 25%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.08) 0%, transparent 70%);
    filter: blur(20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -2;
}

.shadow-ambient {
    position: absolute;
    bottom: -15%;
    left: 0;
    right: 0;
    height: 30%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.04) 0%, transparent 80%);
    filter: blur(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -3;
}

/* Product image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    contain: paint;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}

/* Light overlay */
.light-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Fabric sheen */
.fabric-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease, background 0.8s ease;
}

.product-container:hover .fabric-sheen {
    opacity: 0.15;
}

/* Hotspots */
.hotspot {
    position: absolute;
    z-index: 20;
    cursor: pointer;
}

.hotspot-dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hotspot:hover .hotspot-dot,
.hotspot.active .hotspot-dot {
    transform: scale(1.3);
    background: #000;
}

/* Hotspot positions */
.hotspot-neck { top: 12%; left: 50%; transform: translateX(-50%); }
.hotspot-seam { top: 18%; left: 28%; }
.hotspot-print { top: 45%; left: 50%; transform: translateX(-50%); }
.hotspot-cotton { top: 78%; left: 50%; transform: translateX(-50%); }

/* Labels */
.hotspot-label {
    position: absolute;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.hotspot:hover .hotspot-label,
.hotspot.active .hotspot-label {
    opacity: 1;
}

.label-line {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 1;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.hotspot:hover .label-line,
.hotspot.active .label-line {
    stroke-dashoffset: 0;
}

.label-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.hotspot:hover .label-content,
.hotspot.active .label-content {
    transform: translateY(0);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.label-title {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.label-desc {
    font-size: 10px;
    color: #444;
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* Label positions */
.label-right {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.label-left {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

.label-left .label-content {
    align-items: flex-end;
}

.label-top {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.label-top .label-content {
    align-items: center;
}

.label-bottom {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.label-bottom .label-content {
    align-items: center;
}

/* Mobile specs */
.mobile-specs {
    display: none;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.mobile-specs p {
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .label-right {
        left: 12px;
    }
    
    .label-left {
        right: 12px;
    }
    
    .label-top {
        bottom: 12px;
    }
    
    .label-bottom {
        top: 12px;
    }
}

@media (max-width: 992px) {
    .showcase-container {
        padding: 1.5rem;
        min-height: 80vh;
    }

    .product-stage {
        max-width: 600px;
    }
    
    .label-content {
        font-size: 10px;
    }
    
    .label-title {
        font-size: 10px;
    }
    
    .label-desc {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        padding: 1rem;
        min-height: 60vh;
    }

    .product-stage {
        max-width: 90vw;
    }

    .hotspot-dot {
        width: 8px;
        height: 8px;
    }

    .label-content {
        padding: 4px 6px;
        font-size: 8px;
    }
    
    .label-title {
        font-size: 8px;
    }
    
    .label-desc {
        font-size: 7px;
    }
    
    .label-right {
        left: 8px;
    }
    
    .label-left {
        right: 8px;
    }
    
    .label-top {
        bottom: 8px;
    }
    
    .label-bottom {
        top: 8px;
    }

    .mobile-specs {
        display: none;
    }
}

@media (max-width: 480px) {
    .showcase-container {
        min-height: 50vh;
    }
    
    .hotspot-dot {
        width: 6px;
        height: 6px;
    }
    
    .label-content {
        padding: 3px 5px;
        font-size: 7px;
    }
    
    .label-title {
        font-size: 7px;
    }
    
    .label-desc {
        font-size: 6px;
    }
    
    .label-right {
        left: 5px;
    }
    
    .label-left {
        right: 5px;
    }
    
    .label-top {
        bottom: 5px;
    }
    
    .label-bottom {
        top: 5px;
    }
}

/* Entrance animation */
.fade-in {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

.hotspot {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hotspot:nth-child(1) { animation-delay: 0.8s; }
.hotspot:nth-child(2) { animation-delay: 1s; }
.hotspot:nth-child(3) { animation-delay: 1.2s; }
.hotspot:nth-child(4) { animation-delay: 1.4s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
