/**
 * Infinite Grid - Styles v4.3
 * True Space Black
 */

/* Main Container */
#ig-wrap {
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    position: relative;
    overflow: hidden;
    cursor: grab;
    
    /* Tam siyah - uzay boşluğu */
    background: #000000;
}

#ig-wrap:active {
    cursor: grabbing;
}

#ig-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
}

#ig-canvas canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

/* Elementor override */
.elementor-widget-html {
    height: 100vh !important;
}

.elementor-widget-html .elementor-widget-container {
    height: 100% !important;
}

/* Custom cards */
.ig-custom {
    position: absolute;
    transition: opacity 0.2s ease;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.ig-custom:hover {
    z-index: 100;
}

/* Styles container */
#ig-styles {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

/* Card templates */
.card-minimal {
    background: white;
    border: 1px solid #eee;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
}

.card-neon {
    background: #1a1a2e;
    border: 2px solid #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 15px;
    font-family: monospace;
}

.card-polaroid {
    background: white;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Space-themed card style */
.card-space {
    background: rgba(5, 5, 10, 0.95);
    border: 1px solid rgba(80, 200, 255, 0.15);
    backdrop-filter: blur(5px);
    color: rgba(200, 220, 240, 0.9);
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
}

/* Full screen mode */
body.ig-fullscreen header,
body.ig-fullscreen .site-header,
body.ig-fullscreen footer,
body.ig-fullscreen .site-footer,
body.ig-fullscreen .elementor-location-header,
body.ig-fullscreen .elementor-location-footer {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    #ig-wrap {
        touch-action: none;
    }
}