/* Interactive Hero Section Styles */
.interactive-hero {
    position: relative;
    cursor: default;
    /* Mouse tracking variables */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Mouse Glow Effect */
.interactive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.15),
            transparent 40%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.interactive-hero:hover::before {
    opacity: 1;
}

.product-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Hotspot Base Styling */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 15;
}

/* Glowing White Dot */
.hotspot-dot {
    position: relative;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 60px rgba(255, 255, 255, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow:
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.8),
            0 0 90px rgba(255, 255, 255, 0.6),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Pulsing Circle Effect */
.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Hotspot Label */
.hotspot-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #7C411B;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Hover Effects */
.hotspot:hover .hotspot-dot {
    transform: scale(1.3);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 60px rgba(255, 255, 255, 0.8),
        0 0 100px rgba(255, 255, 255, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.hotspot:hover .hotspot-label {
    opacity: 1;
    top: 35px;
}

.hotspot:hover .hotspot-pulse {
    animation: pulse 1s ease-out infinite;
}

/* Staggered Animation on Page Load */
.hotspot {
    animation: fadeInBounce 0.6s ease-out backwards;
}

.hotspot-powder {
    animation-delay: 0.2s;
}

.hotspot-seeds {
    animation-delay: 0.4s;
}

.hotspot-chips {
    animation-delay: 0.6s;
}

.hotspot-pods {
    animation-delay: 0.8s;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hotspot-dot {
        width: 16px;
        height: 16px;
    }

    .hotspot-pulse {
        width: 16px;
        height: 16px;
    }

    .hotspot-label {
        font-size: 11px;
        padding: 6px 12px;
        top: 35px;
    }

    .hotspot:hover .hotspot-label {
        top: 30px;
    }

    /* Adjust Hotspot Positions for Mobile (Portrait) */
    .hotspot-pods {
        left: 25% !important;
        top: 20% !important;
    }

    .hotspot-chips {
        left: 75% !important;
        top: 30% !important;
    }

    .hotspot-powder {
        left: 25% !important;
        top: 55% !important;
    }

    .hotspot-seeds {
        left: 70% !important;
        top: 80% !important;
    }
}

/* Reduce overlay darkness to show products better */
.interactive-hero .hero-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.3) 100%);
}