/* Product Showcase Block Styles - Updated to match image */
.psc-product-showcase-block {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

/* Full width container that breaks out of content width */
.psc-full-width-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.psc-container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.psc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
}

.psc-card {
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Info Card Styles - Light sections */
.psc-info-card {
    background: #f8f9fa;
    border: none;
}

.psc-card-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: #2c3e50;
}

.psc-card-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    color: #6c757d;
    max-width: 90%;
}

/* Image Card Styles */
.psc-image-card {
    background: #000;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.psc-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.psc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psc-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.psc-placeholder-content {
    text-align: center;
    color: white;
}

.psc-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Brand positioning on image cards */
.psc-brand-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    text-align: right;
}

.psc-brand-title-overlay {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0;
    color: #ffd700 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1;
    text-transform: uppercase;
    animation: glow 2s ease-in-out infinite alternate;
}

.psc-brand-subtitle-overlay {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 0 0 0;
    opacity: 0.9;
    letter-spacing: 2px;
    color: #ffffff !important;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.4);
    }
    to {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.7);
    }
}

/* Special positioning for bottom-left brand */
.psc-brand-overlay.bottom-left {
    bottom: 40px;
    left: 40px;
    right: auto;
    text-align: left;
}

/* Editor Specific Styles */
.wp-block-my-theme-product-showcase-block .color-control-group {
    margin-bottom: 20px;
}

.wp-block-my-theme-product-showcase-block .color-control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e1e1e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .psc-card {
        padding: 40px;
    }
    
    .psc-card-title {
        font-size: 2.5rem;
    }
    
    .psc-brand-title-overlay {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .psc-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        height: auto;
        min-height: auto;
    }
    
    .psc-card {
        padding: 30px;
        min-height: 300px;
    }
    
    .psc-image-card {
        min-height: 250px;
    }
    
    .psc-brand-title-overlay {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .psc-card-title {
        font-size: 2rem;
    }
    
    .psc-card-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .psc-brand-overlay {
        bottom: 20px;
        right: 20px;
    }
    
    .psc-brand-overlay.bottom-left {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .psc-card {
        padding: 20px;
        min-height: 250px;
    }
    
    .psc-brand-title-overlay {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .psc-brand-subtitle-overlay {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .psc-card-title {
        font-size: 1.8rem;
    }
    
    .psc-card-description {
        font-size: 0.95rem;
    }
}