/* Nano Banana Modal Component Styles */

.nano-banana-modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nano-banana-modal-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    cursor: pointer;
}

.nano-banana-modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nano-banana-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.nano-banana-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.nano-banana-modal-container {
    position: relative;
    min-height: 400px;
}

.nano-banana-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    min-height: 400px;
}

.nano-banana-image-item {
    position: relative;
    overflow: hidden;
}

.nano-banana-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nano-banana-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.nano-banana-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.nano-banana-text-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 40px;
    text-align: center;
    color: white;
    z-index: 5;
}

.nano-banana-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white;
}

.nano-banana-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 1;
    color: white;
}

.nano-banana-btn {
    background: #6366F1;
    color: white;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nano-banana-btn:hover {
    background: #4F46E5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nano-banana-modal-container {
        min-height: 300px;
    }

    .nano-banana-image-section {
        min-height: 300px;
    }

    .nano-banana-text-section {
        padding: 25px 25px;
    }

    .nano-banana-modal-content {
        max-width: 100%;
    }

    .nano-banana-title {
        font-size: 24px;
    }

    .nano-banana-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nano-banana-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .nano-banana-label {
        font-size: 14px;
        bottom: 10px;
        left: 10px;
    }

    .nano-banana-image-section {
        grid-template-columns: 1fr;
        min-height: 250px;
    }

    .nano-banana-text-section {
        padding: 15px 15px;
    }

    .nano-banana-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .nano-banana-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }
}
